Skip to main content

Linux Kernel EUVDEUVD-2026-32766

| CVE-2026-46139 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-05-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-v8jf-78w3-v9hm
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local user session on affected Linux host
  2. Delivery
    Access SMB filesystem mounted from Samba server
  3. Exploit
    Execute chmod or chown on a file within the SMB mount
  4. Install
    Kernel build_sec_desc() constructs ACL with uninitialized Sbz2 heap bytes
  5. C2
    Non-zero heap garbage transmitted in security descriptor to Samba
  6. Execute
    Samba NDR parser enforces MS-DTYP Sbz2=0 constraint and rejects descriptor
  7. Impact
    chmod returns EINVAL to caller

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires a locally authenticated user (PR:L per CVSS) on a Linux system running an affected kernel version with the CIFS/SMB kernel module loaded and an SMB/CIFS filesystem share actively mounted from a Samba server. The triggering action is performing an ACL-modifying operation such as chmod or chown on a file within that mounted share, which invokes build_sec_desc(). The failure is probabilistic rather than deterministic: it only manifests when the 2 uninitialized heap bytes happen to contain non-zero values at allocation time, which is common during normal heap activity. No elevated privileges beyond standard file system access are required. Limits on exploitation: the attacker must have local shell access to the host, the target must have an SMB mount from a Samba server (not Windows SMB, which may be more lenient with the Sbz2 field), and the outcome is only an operational failure (chmod EINVAL), not code execution or privilege escalation. Network-only attackers cannot trigger this vulnerability.

Impact

The CVSS 3.1 score of 5.5 Medium (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects the local, low-privilege nature of this flaw with no code execution path. The Availability:High rating is appropriate because chmod failures on SMB mounts can break permission management workflows and applications relying on them, but the scope is constrained to SMB-mounted filesystems. EPSS at 0.02% (5th percentile) is consistent with a local-only, operationally-disruptive-but-not-exploitable-for-code-execution vulnerability - no adversarial exploitation is expected. The absence from CISA KEV confirms no observed active exploitation. The 'Information Disclosure' tag in the intelligence data flags a dimension the official CVSS C:N rating does not capture: 2 bytes of kernel heap memory are transmitted across the network to the Samba server. While the leaked surface is minimal (2 bytes, content unpredictable), it constitutes a kernel heap data leak to a remote party and warrants C:L in an independent assessment. No POC is publicly known. Overall, this is a low real-world priority: it affects a specific operational scenario (chmod on Samba mounts) and requires a local user session, but patch availability makes remediation straightforward and low-risk.

Exploit ScenarioDerived

A local user on a Linux system with a Samba share mounted via the CIFS kernel client runs chmod on a file within that mount. The kernel's build_sec_desc() allocates an ACL descriptor buffer with kmalloc() and populates most fields, but leaves the 2-byte Sbz2/reserved field containing random slab heap data. This partially uninitialized descriptor is transmitted to the Samba server, which - enforcing MS-DTYP compliance - detects the non-zero Sbz2 field and returns a Range Error, propagating EINVAL back to the user's chmod call. No publicly known exploit code exists for this vulnerability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

The Linux kernel SMB client transmits uninitialized kernel heap data in the reserved Sbz2 field of Windows ACL security descriptors to remote Samba servers, causing chmod operations on SMB-mounted filesystems to fail with EINVAL. This regression was introduced by commit 62e7dd0a39c2d, which split a struct field but left a newly created 2-byte reserved field unpopulated due to use of kmalloc() instead of kzalloc(). No public exploit exists (EPSS 0.02%, no KEV listing); the practical impact is an operational disruption of file permission management on Samba-backed mounts, with a secondary minor information disclosure of heap contents to the remote server.

RemediationAI

The primary fix is upgrading to a patched Linux kernel version: 6.12.88, 7.0.7, 7.1-rc3, or 6.18.30 (note: 6.18.30 appears in EUVD data and should be independently verified for your distribution). The kernel fix changes kmalloc() to kzalloc() in build_sec_desc(), ensuring the entire descriptor buffer is zero-initialized before field population. Patch commits are available at https://git.kernel.org/stable/c/4c3ed344a970aad51388ac3b0145b98318f0e21f, https://git.kernel.org/stable/c/5e489c6c47a2ac15edbaca153b9348e42c1eacab, https://git.kernel.org/stable/c/9bdb2ca31368b7671949dfb94a5d57ffccd01edd, https://git.kernel.org/stable/c/be1ef9512a3f5a755895c24f31b334342f4aa15b, and https://git.kernel.org/stable/c/941a1e6eb35440336913afc88a82103291956d5d. For systems where kernel patching is not immediately feasible, a compensating control is to refrain from executing chmod or chown on files within Samba-hosted SMB mounts until the kernel is updated; this avoids triggering build_sec_desc() with the uninitialized buffer. This workaround has the trade-off of restricting ACL management operations on those shares. Given the Medium CVSS and low EPSS, routine patch cycle remediation is appropriate unless Samba ACL operations are business-critical.

Affected VersionsENISA

Linux 191f2f444745087c3c51fd6042a0e25f42315ab0
Linux da087905e3270e2291c0afae39a28e7d183e5ec3 <941a1e6eb35440336913afc88a82103291956d5d
Linux 62e7dd0a39c2d0d7ff03274c36df971f1b3d2d0d <be1ef9512a3f5a755895c24f31b334342f4aa15b
Linux 62e7dd0a39c2d0d7ff03274c36df971f1b3d2d0d <5e489c6c47a2ac15edbaca153b9348e42c1eacab
Linux 6.12.23 <6.12.88
Linux 62e7dd0a39c2d0d7ff03274c36df971f1b3d2d0d <9bdb2ca31368b7671949dfb94a5d57ffccd01edd
Linux 1593ddb37bd124c131fe635397df68e854a03108 <4c3ed344a970aad51388ac3b0145b98318f0e21f
Linux patch: 6.12.88
Linux 6.14
Linux patch: 7.0.7
Linux patch: 6.18.30
Linux patch: 0
Linux patch: 7.1-rc3
Linux 6.13.11 <6.14

Affected Packages

euvd linux fix: 6.12.88, 6.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code resides in the Linux kernel CIFS/SMB client subsystem, specifically in build_sec_desc() within fs/smb/client/, which constructs Windows-format security descriptors for ACL operations over SMB. Commit 62e7dd0a39c2d refactored struct smb_acl by splitting a 32-bit __le32 num_aces field into a 16-bit __le16 num_aces and a 16-bit __le16 reserved field, corresponding to the Sbz2 field in the MS-DTYP ACL wire format specification (which mandates Sbz2 must be zero). Because the descriptor buffer was allocated with kmalloc() rather than kzalloc(), only explicitly assigned fields are written - the Sbz2/reserved bytes remain as whatever slab allocator garbage occupies that memory. CWE-908 (Use of Uninitialized Resource) directly describes this root cause: a resource is allocated and used before being properly initialized. Samba's NDR unmarshalling layer enforces the MS-DTYP constraint and rejects any security descriptor where Sbz2 is non-zero, triggering 'ndr_pull_security_descriptor failed: Range Error'. The CPE string cpe:2.3:o:linux:linux_kernel covers the affected kernel builds across multiple stable branches.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.1 MEDIUM

C:L added over official C:N because 2 bytes of kernel heap data are transmitted to a remote Samba server; all other metrics align with official vector.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Red Hat 7.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 24, 2026 - 17:38 NVD
5.5 (MEDIUM)
Patch available
May 28, 2026 - 12:31 EUVD
CVE Published
May 28, 2026 - 10:16 nvd
MEDIUM 5.5
CVE Published
May 28, 2026 - 10:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

smb: client: use kzalloc to zero-initialize security descriptor buffer

Commit 62e7dd0a39c2d ("smb: common: change the data type of num_aces to le16") split struct smb_acl's __le32 num_aces field into __le16 num_aces and __le16 reserved. The reserved field corresponds to Sbz2 in the MS-DTYP ACL wire format, which must be zero [1].

When building an ACL descriptor in build_sec_desc(), we are using a kmalloc()'ed descriptor buffer and writing the fields explicitly using le16() writes now. This never writes to the 2 byte reserved field, leaving it as uninitialized heap data.

When the reserved field happens to contain non-zero slab garbage, Samba rejects the security descriptor with "ndr_pull_security_descriptor failed: Range Error", causing chmod to fail with EINVAL.

Change kmalloc() to kzalloc() to ensure the entire buffer is zero-initialized.

[1] https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/20233ed8-a6c6-4097-aafa-dd545ed24428

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underpins the majority of servers, cloud, and embedded infrastructure
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy