cbcvebase.
CVE-2024-40902
published 2024-07-12

CVE-2024-40902: 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…

PriorityP341high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.32%
23.8th percentile
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

36 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
debianlinux-6.1< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
linuxlinux
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f0dedb5c511ed82cbaff4997a8decf2351ba549ff0dedb5c511ed82cbaff4997a8decf2351ba549f
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1e84c9b1838152a87cf453270a5fa75c5037e83a1e84c9b1838152a87cf453270a5fa75c5037e83a
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fc745f6e83cb650f9a5f2c864158e3a5ea76dad0fc745f6e83cb650f9a5f2c864158e3a5ea76dad0
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 480e5bc21f2c42d90c2c16045d64d824dcdd5ec7480e5bc21f2c42d90c2c16045d64d824dcdd5ec7
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 33aecc5799c93d3ee02f853cb94e201f9731f12333aecc5799c93d3ee02f853cb94e201f9731f123
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4598233d9748fe4db4e13b9f473588aa25e87d694598233d9748fe4db4e13b9f473588aa25e87d69
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b537cb2f4c4a1357479716a9c339c0bda03d873fb537cb2f4c4a1357479716a9c339c0bda03d873f
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7c55b78818cfb732680c4a72ab270cc2d2ee3d0f7c55b78818cfb732680c4a72ab270cc2d2ee3d0f
linuxlinux_kernel< 4.19.3174.19.317
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.99-16.1.99-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 5.4.0-195.2155.4.0-195.215
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 0 < 4.4.0-259.2934.4.0-259.293
linuxlinux_kernel>= 0 < 4.15.0-229.2414.15.0-229.241
linuxlinux_kernel>= 4.20 < 5.4.2795.4.279
linuxlinux_kernel>= 5.11 < 5.15.1625.15.162
linuxlinux_kernel>= 5.16 < 6.1.956.1.95

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.