CVE-2026-53041: ocfs2: fix listxattr handling when the buffer is full
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2323084c17370304f49c84b354fe7b3edbb264fe, 2685df8577a38d83b367c8cf52eda9dc286959ff, 46e66fefb83811958127bc9ad736983ec629d82b.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 2323084c17370304f49c84b354fe7b3edbb264fe, 2685df8577a38d83b367c8cf52eda9dc286959ff, 46e66fefb83811958127bc9ad736983ec629d82b or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 24, 2026
- Updated
- Aug 5, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-787
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.1
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.28affected
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before a35a1c2b170b5b578b1b3fecb95694796552af9aaffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before 2323084c17370304f49c84b354fe7b3edbb264feaffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before 6f702b00b8124c5d3525f19172934544826a114daffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before d919b905939eda93393e3572900ff70dbad2b47faffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before 46e66fefb83811958127bc9ad736983ec629d82baffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before 2685df8577a38d83b367c8cf52eda9dc286959ffaffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before 50033ec1350fe68abdc63b950ced7ae57364b77aaffected · git
- 936b8834366ec05f2a6993f73afd8348cac9718e and later · before d12f558e6200b3f47dbef9331ed6d115d2410e59affected · git
- before 2.6.28not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.28 and later · before 5.10.258
- linux linux kernel5.11 and later · before 5.15.209
- linux linux kernel5.16 and later · before 6.1.175
- linux linux kernel6.2 and later · before 6.6.141
- linux linux kernel6.7 and later · before 6.12.91
- linux linux kernel6.13 and later · before 6.18.33
- linux linux kernel6.19 and later · before 7.0.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.176-1 | 6.1.176-1 |
| Debian:13 | linux | before 6.12.94-1 | 6.12.94-1 |
| Debian:14 | linux | before 7.0.10-1 | 7.0.10-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-53039Jun 24, 2026 · ocfs2: validate group add input before caching22Monitor
- ← EarlierCVE-2026-53040Jun 24, 2026 · ocfs2: validate bg_bits during freefrag scan28Monitor
- Later →CVE-2026-53042Jun 24, 2026 · fwctl: Fix class init ordering to avoid NULL pointer dereference on device removal22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2323084c17370304f49c84b354fe7b3edbb264fe | Vendor (CNA) |
| Linux Linux | 2685df8577a38d83b367c8cf52eda9dc286959ff | Vendor (CNA) |
| Linux Linux | 46e66fefb83811958127bc9ad736983ec629d82b | Vendor (CNA) |
| Linux Linux | 50033ec1350fe68abdc63b950ced7ae57364b77a | Vendor (CNA) |
| Linux Linux | 6f702b00b8124c5d3525f19172934544826a114d | Vendor (CNA) |
| Linux Linux | a35a1c2b170b5b578b1b3fecb95694796552af9a | Vendor (CNA) |
| Linux Linux | d12f558e6200b3f47dbef9331ed6d115d2410e59 | Vendor (CNA) |
| Linux Linux | d919b905939eda93393e3572900ff70dbad2b47f | Vendor (CNA) |
| debian:linux | 6.1.176-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0440 · Jun 25, 2026(Linux Kernel Güvenlik Bildirimi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/2685df8577a38d83b367c8cf52eda9dc286959ff
- git.kernel.org/stable/c/46e66fefb83811958127bc9ad736983ec629d82b
- git.kernel.org/stable/c/50033ec1350fe68abdc63b950ced7ae57364b77a
- git.kernel.org/stable/c/6f702b00b8124c5d3525f19172934544826a114d
- git.kernel.org/stable/c/a35a1c2b170b5b578b1b3fecb95694796552af9a
- git.kernel.org/stable/c/d12f558e6200b3f47dbef9331ed6d115d2410e59
- git.kernel.org/stable/c/d919b905939eda93393e3572900ff70dbad2b47f
Vendor advisories and official records. Exploit/PoC links are deliberately left out.