cbcvebase.
CVE-2024-38580
published 2024-06-19

CVE-2024-38580: In the Linux kernel, the following vulnerability has been resolved: epoll: be better about file lifetimes epoll can call out to vfs_poll() with a file pointer…

PriorityP417medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.24%
14.8th percentile
In the Linux kernel, the following vulnerability has been resolved: epoll: be better about file lifetimes epoll can call out to vfs_poll() with a file pointer that may race with the last 'fput()'. That would make f_count go down to zero, and while the ep->mtx locking means that the resulting file pointer tear-down will be blocked until the poll returns, it means that f_count is already dead, and any use of it won't actually get a reference to the file any more: it's dead regardless. Make sure we have a valid ref on the file pointer before we call down to vfs_poll() from the epoll routines.

Affected

22 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
linuxlinux
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cbfd1088e24ec4c1199756a37cb8e4cd0a4b016ecbfd1088e24ec4c1199756a37cb8e4cd0a4b016e
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 559214eb4e5c3d05e69428af2fae2691ba1eb784559214eb4e5c3d05e69428af2fae2691ba1eb784
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4f65f4defe4e23659275ce5153541cd4f76ce2d24f65f4defe4e23659275ce5153541cd4f76ce2d2
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 16e3182f6322575eb7c12e728ad3c7986a189d5d16e3182f6322575eb7c12e728ad3c7986a189d5d
linuxlinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4efaa5acf0a1d2b5947f98abb3acf8bfd966422b4efaa5acf0a1d2b5947f98abb3acf8bfd966422b
linuxlinux_kernel< 5.15.1615.15.161
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-40.406.8.0-40.40
linuxlinux_kernel>= 5.16 < 6.1.936.1.93
linuxlinux_kernel>= 6.2 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.8.126.8.12

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
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.