Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-53041

published high CVSS 3.1 · 7.1

ocfs2: fix listxattr handling when the buffer is full

Published
24 Jun 2026, 16:29:47 UTC
Updated
05 Aug 2026, 12:32:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux936b8834366ec05f2a6993f73afd8348cac9718e to < a35a1c2b170b5b578b1b3fecb95694796552af9a · 936b8834366ec05f2a6993f73afd8348cac9718e to < 2323084c17370304f49c84b354fe7b3edbb264fe · 936b8834366ec05f2a6993f73afd8348cac9718e to < 6f702b00b8124c5d3525f19172934544826a114d · 936b8834366ec05f2a6993f73afd8348cac9718e to < d919b905939eda93393e3572900ff70dbad2b47f · 936b8834366ec05f2a6993f73afd8348cac9718e to < 46e66fefb83811958127bc9ad736983ec629d82b · 936b8834366ec05f2a6993f73afd8348cac9718e to < 2685df8577a38d83b367c8cf52eda9dc286959ff · 936b8834366ec05f2a6993f73afd8348cac9718e to < 50033ec1350fe68abdc63b950ced7ae57364b77a · 936b8834366ec05f2a6993f73afd8348cac9718e to < d12f558e6200b3f47dbef9331ed6d115d2410e59 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.28 (affected) · 0 to < 2.6.28 (unaffected · semver) · 5.10.258 through 5.10.* (unaffected · semver) · 5.15.209 through 5.15.* (unaffected · semver) · 6.1.175 through 6.1.* (unaffected · semver) · 6.6.141 through 6.6.* (unaffected · semver) · 6.12.91 through 6.12.* (unaffected · semver) · 6.18.33 through 6.18.* (unaffected · semver) · 7.0.10 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.176-1 DLA-4665-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
Debian bullseye linux Advisory build 5.10.259-1 DLA-4664-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el8uek ELBA-2026-500163
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek64kaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek64k-coreaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek64k-develaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek64k-modulesaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
Oracle Linux 9 kernel-uek64k-modules-extraaarch64 Advisory build 0:5.15.0-323.211.3.3.el9uek ELBA-2026-500163
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaults390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaults390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaults390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-defaults390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-bases390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-basex86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-devels390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgrafts390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-devels390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develx86_64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-default-mans390x Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-develnoarch Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-macrosnoarch Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-sourcenoarch Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-symsaarch64 Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1
SUSE / openSUSE SLE-12-SP5 kernel-symsppc64le Advisory build 4.12.14-122.320.1 SUSE-SU-2026:2914-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

65

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The vulnerable OCFS2 code is reached through local `listxattr`/`llistxattr`/`flistxattr`/`listxattrat` syscalls where the caller controls the too-small buffer size. Network wrappers such as nfsd and ksmbd probe and allocate the full xattr-list size, so they do not expose the short-buffer trigger. AC:L - The attacker can deterministically create the needed inline-plus-block xattr layout on a writable OCFS2 file using `user.*` xattrs, then pass a buffer size that exactly fits the inline names. No race or external timing condition is required. PR:L - A basic local unprivileged user with access to a writable OCFS2 file or directory can create `user.*` xattrs and invoke `listxattr`. Creating/mounting the filesystem may require administrator setup, but exploitation on an affected deployed system does not require real root. UI:N - Once the attacker has local access to the OCFS2 path, exploitation is performed directly with syscalls. No separate victim action is needed. S:U - The issue affects kernel filesystem handling within the same host security authority. It is not a VM escape, IOMMU bypass, or other cross-scope boundary violation. C:H - The bug returns a length larger than the allocated kernel xattr-list buffer, causing `copy_to_user` to attempt an out-of-bounds kernel heap read. With hardened usercopy this aborts, but without it or under weaker checking this can expose kernel memory, so confidentiality is high. I:N - The flaw is an oversized read/copy length and does not write beyond bounds or corrupt kernel objects. It does not provide a direct integrity modification primitive. A:H - On hardened-usercopy kernels the overlong `copy_to_user` triggers `usercopy_abort()` and `BUG()`, producing a kernel oops/panic. The crash is repeatable by the local attacker.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 936b8834366ec05f2a6993f73afd8348cac9718e to < a35a1c2b170b5b578b1b3fecb95694796552af9a (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < 2323084c17370304f49c84b354fe7b3edbb264fe (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < 6f702b00b8124c5d3525f19172934544826a114d (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < d919b905939eda93393e3572900ff70dbad2b47f (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < 46e66fefb83811958127bc9ad736983ec629d82b (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < 2685df8577a38d83b367c8cf52eda9dc286959ff (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < 50033ec1350fe68abdc63b950ced7ae57364b77a (affected · git)936b8834366ec05f2a6993f73afd8348cac9718e to < d12f558e6200b3f47dbef9331ed6d115d2410e59 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.28 (affected)0 to < 2.6.28 (unaffected · semver)5.10.258 through 5.10.* (unaffected · semver)5.15.209 through 5.15.* (unaffected · semver)6.1.175 through 6.1.* (unaffected · semver)6.6.141 through 6.6.* (unaffected · semver)6.12.91 through 6.12.* (unaffected · semver)6.18.33 through 6.18.* (unaffected · semver)7.0.10 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ocfs2: fix listxattr handling when the buffer is full

Provenance

Schema
5.2
Searchable
yes
Content hash
be0fd21a486c01781a1365bb1b16d2e17d20b30dcf801f240da26f869d3cf8c2
Ingested
23 Sep 2026, 09:19:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected