7.8
High
CVE-2024-40902 In the Linux kernel, the following vulnerability has been resolved: jfs: xattr: fix buffer overflow for invalid xattr…
Description
In the Linux kernel, the following vulnerability has been resolved: jfs: xattr: fix buffer overflow for invalid xattr When an xattr size is not what is expected, it is printed out to the kernel log in hex format as a form of debugging. But when that xattr size is bigger than the expected size, printing it out can cause an access off the end of the buffer. Fix this all up by properly restricting the size of the debug hex dump in the kernel log.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.10 | earliest → < 6.10 | 6.10 |
| Linux 6.9 | earliest → < 6.9.6 | 6.9.6 |
| Linux 6.6 | earliest → < 6.6.35 | 6.6.35 |
| Linux 6.1 | earliest → < 6.1.95 | 6.1.95 |
| Linux 5.15 | earliest → < 5.15.162 | 5.15.162 |
| Linux 5.10 | earliest → < 5.10.221 | 5.10.221 |
| Linux 5.4 | earliest → < 5.4.279 | 5.4.279 |
| Linux 4.19 | earliest → < 4.19.317 | 4.19.317 |
| Linux | 2.6.12 | No fix stated |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| linux_kernel | Versions not published |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated