Skip to main content

Linux Kernel CVE-2026-53041

| EUVDEUVD-2026-38909 HIGH
Out-of-bounds Write (CWE-787)
2026-06-24 Linux GHSA-gmx4-g5vq-2x9x
7.1
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privileged access to OCFS2 mount
  2. Delivery
    Craft inode with inline xattrs filling listxattr buffer plus block xattrs
  3. Exploit
    Call listxattr() with exact-size buffer
  4. Execution
    Kernel skips bounds check, oversized copy_to_user
  5. Persist
    Hardened usercopy BUG / heap memory disclosed
  6. Impact
    Kernel panic (DoS) or kernel data leak

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local access with low privileges (CVSS PR:L) and a target system actively using the OCFS2 filesystem; the attacker must be able to influence an OCFS2 inode that holds BOTH inline extended attributes AND block-based extended attributes, with the inline xattr names sized to fill the caller's listxattr() buffer exactly so the subsequent block-xattr pass runs with a non-NULL buffer and zero remaining bytes. No user interaction is needed (UI:N) and no network exposure exists (AV:L). Limiting factors: exploitation is impossible on systems that do not mount OCFS2 (a niche cluster filesystem), it needs local code execution rather than remote access, and on kernels built with CONFIG_HARDENED_USERCOPY the result is a contained panic rather than a usable information leak.

Impact

Signals are internally consistent and point to a moderate, locally-scoped issue rather than an urgent internet-facing threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, base 7.1) requires local access with low privileges and no user interaction, with high confidentiality and availability impact but no integrity impact. EPSS is low (0.18%, percentile 7%), and there is no KEV listing and no public exploit identified, which agrees with the local-only attack surface - mass remote exploitation is not plausible. The realistic dominant impact is denial of service: on hardened kernels (CONFIG_HARDENED_USERCOPY) the oversized copy is caught and converted into a kernel panic (A:H). The C:H rating reflects the worst case on kernels without that hardening, where data beyond the list buffer could be copied to userspace (information disclosure, matching the 'Information Disclosure' tag); on a hardened kernel the confidentiality leak is largely neutralized into a crash, so C:H may overstate real-world impact on modern distros. A key limiting factor not captured by CVSS: exploitation requires an OCFS2 filesystem in use with both inline and block xattrs, which is uncommon outside specific cluster deployments. Net: legitimate to patch in cluster/shared-storage environments, but low priority for systems that do not mount OCFS2.

Exploit ScenarioDerived

A logged-in local user (or a low-privileged process/container with access to an OCFS2 mount) crafts an inode whose inline extended-attribute names exactly fill a chosen listxattr() buffer while additional block-based xattrs remain, then calls listxattr() with that buffer size. The kernel computes a length larger than the buffer and calls copy_to_user() oversized, triggering a hardened-usercopy BUG and kernel panic (denial of service), or on unhardened kernels copying adjacent kernel heap memory back to the attacker. No public exploit is identified at time of analysis, and the local, low-complexity vector (AV:L/AC:L) makes this straightforward for any user able to control OCFS2 xattrs.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 28, 2026

Memory-safety failure in the Linux kernel OCFS2 filesystem's listxattr() path allows a local low-privileged user to crash the kernel (and potentially leak adjacent kernel heap memory) when an OCFS2 inode carries both inline and block-based extended attributes. Introduced by refactor commit 936b8834366e, the bug causes copy_to_user() to be invoked with a length larger than the allocated list buffer, tripping the hardened usercopy check (kernel BUG at mm/usercopy.c:102). EPSS is low (0.18%, 7th percentile), there is no public exploit identified at time of analysis, and it is not in CISA KEV.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, or 7.0.10 (or later) on the corresponding branch, or pull your distribution's patched kernel that backports the listxattr probe-mode fix (detecting probe mode by a NULL destination buffer instead of zero remaining size); the fix commits are at git.kernel.org/stable (e.g. https://git.kernel.org/stable/c/a35a1c2b170b5b578b1b3fecb95694796552af9a) and the advisory is at https://nvd.nist.gov/vuln/detail/CVE-2026-53041. If immediate patching is not possible, the most effective compensating control is to avoid using the OCFS2 filesystem where feasible - unmount OCFS2 volumes and blacklist the ocfs2 module (e.g. via modprobe blacklist) on hosts that do not require cluster storage, which fully removes the vulnerable code path but breaks any workload depending on OCFS2. Where OCFS2 must remain mounted, restrict which local users can access OCFS2 mount points and reduce untrusted local accounts, since the attack requires local access; keeping CONFIG_HARDENED_USERCOPY enabled converts the worst-case memory disclosure into a contained crash but does not prevent the resulting denial of service.

Affected VersionsENISA

Linux patch: 0
Linux patch: 6.1.175
Linux patch: 6.12.91
Linux 2.6.28
Linux patch: 5.10.258
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <2685df8577a38d83b367c8cf52eda9dc286959ff
Linux patch: 7.1
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <6f702b00b8124c5d3525f19172934544826a114d
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <46e66fefb83811958127bc9ad736983ec629d82b
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <d919b905939eda93393e3572900ff70dbad2b47f
Linux patch: 7.0.10
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <d12f558e6200b3f47dbef9331ed6d115d2410e59
Linux patch: 5.15.209
Linux patch: 6.18.33
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <2323084c17370304f49c84b354fe7b3edbb264fe
Linux patch: 6.6.141
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <50033ec1350fe68abdc63b950ced7ae57364b77a
Linux 936b8834366ec05f2a6993f73afd8348cac9718e <a35a1c2b170b5b578b1b3fecb95694796552af9a

Affected Packages

euvd linux no fix

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

OCFS2 is a shared-disk cluster filesystem in the mainline Linux kernel, commonly paired with Oracle clustering and shared SAN storage. Extended attributes (xattrs) in OCFS2 can live in two places: inline within the inode and in separate xattr blocks. The listxattr() syscall enumerates these names into a user-supplied buffer. The regression originates in commit 936b8834366e ('ocfs2: Refactor xattr list and remove ocfs2_xattr_handler()'), which centralized list accounting in ocfs2_xattr_list_entry() but continued to use 'remaining size == 0' as the sentinel for probe mode (where the kernel only counts the required length without copying). After the inline pass exactly fills the caller buffer, the block pass runs with a non-NULL buffer but zero remaining size; the helper misinterprets this as probe mode, skips the bounds check, keeps counting block names, and returns a total length exceeding the destination buffer. The root-cause class is an out-of-bounds/oversized buffer write into user space (CWE-787/CWE-125 family, improper buffer length validation); the input lists no CWE. The CPE data only generically identifies cpe:2.3:a:linux:linux, so the precise vulnerable subsystem (fs/ocfs2/xattr.c) must be taken from the description rather than the CPE.

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

Vendor (Linux) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 7.1 HIGH

Local OCFS2 access by a low-privileged user (AV:L/PR:L), no interaction; oversized copy_to_user yields kernel memory disclosure (C:H) and panic (A:H) with no integrity impact.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jun 28, 2026 - 08:22 NVD
7.1 (HIGH)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:29 cve.org
HIGH 7.1
CVE Published
Jun 24, 2026 - 16:29 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ocfs2: fix listxattr handling when the buffer is full

[BUG] If an OCFS2 inode has both inline and block-based xattrs, listxattr() can return a size larger than the caller's buffer when the inline names consume that buffer exactly.

kernel BUG at mm/usercopy.c:102! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI RIP: 0010:usercopy_abort+0xb7/0xd0 mm/usercopy.c:102 Call Trace: __check_heap_object+0xe3/0x120 mm/slub.c:8243 check_heap_object mm/usercopy.c:196 [inline] __check_object_size mm/usercopy.c:250 [inline] __check_object_size+0x5c5/0x780 mm/usercopy.c:215 check_object_size include/linux/ucopysize.h:22 [inline] check_copy_size include/linux/ucopysize.h:59 [inline] copy_to_user include/linux/uaccess.h:219 [inline] listxattr+0xb0/0x170 fs/xattr.c:926 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x137/0x320 fs/xattr.c:988 __do_sys_listxattr fs/xattr.c:1001 [inline] __se_sys_listxattr fs/xattr.c:998 [inline] __x64_sys_listxattr+0x7f/0xd0 fs/xattr.c:998 ...

[CAUSE] Commit 936b8834366e ("ocfs2: Refactor xattr list and remove ocfs2_xattr_handler().") replaced the old per-handler list accounting with ocfs2_xattr_list_entry(), but it kept using size == 0 to detect probe mode.

That assumption stops being true once ocfs2_listxattr() finishes the inline-xattr pass. If the inline names fill the caller buffer exactly, the block-xattr pass runs with a non-NULL buffer and a remaining size of zero. ocfs2_xattr_list_entry() then skips the bounds check, keeps counting block names, and returns a positive size larger than the supplied buffer.

[FIX] Detect probe mode by testing whether the destination buffer pointer is NULL instead of whether the remaining size is zero.

That restores the pre-refactor behavior and matches the OCFS2 getxattr helpers. Once the remaining buffer reaches zero while more names are left, the block-xattr pass now returns -ERANGE instead of reporting a size larger than the allocated list buffer.

Executive ViewAI

Why It Matters

A memory-safety vulnerability in the Linux kernel OCFS2 filesystem (CVE-2026-53041) permits local low-privileged users to crash the kernel or potentially leak sensitive kernel memory, creating availability and confidentiality risks for organizations dependent on OCFS2 storage. Risk is heightened on systems with unrestricted local user access.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If patching is delayed, restrict local user account privileges and login access on OCFS2-dependent systems, disable OCFS2 if operationally feasible, and ensure kernel hardening protections (ASLR, hardened usercopy) remain enabled.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
OCFS2 is a niche cluster filesystem rarely mounted outside shared-storage deployments
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.168 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.149 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.197 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.145 Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:5.4.4.5.149 Affected
Container suse/sle-micro/base-5.5:2.0.4-5.8.296 Affected
Container suse/sle-micro/kvm-5.5:2.0.4-3.5.570 Affected

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-53041 ADVISORY https://ubuntu.com/security/notices/USN-8566-1 ADVISORY https://ubuntu.com/security/notices/USN-8567-1 ADVISORY https://ubuntu.com/security/notices/USN-8568-1 ADVISORY https://vuldb.com/vuln/373388 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22511/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22512/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22522/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22665/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22666/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22699/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22742/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22769/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2799/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2800/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2840/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2841/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2914/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3044/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3089/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3156/ REF https://git.kernel.org/stable/c/2323084c17370304f49c84b354fe7b3edbb264fe REF https://git.kernel.org/stable/c/2685df8577a38d83b367c8cf52eda9dc286959ff REF https://git.kernel.org/stable/c/46e66fefb83811958127bc9ad736983ec629d82b REF https://git.kernel.org/stable/c/50033ec1350fe68abdc63b950ced7ae57364b77a REF https://git.kernel.org/stable/c/6f702b00b8124c5d3525f19172934544826a114d REF https://git.kernel.org/stable/c/a35a1c2b170b5b578b1b3fecb95694796552af9a REF https://git.kernel.org/stable/c/d12f558e6200b3f47dbef9331ed6d115d2410e59 REF https://git.kernel.org/stable/c/d919b905939eda93393e3572900ff70dbad2b47f

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