CVE-2024-38580
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
References
The following references provide additional information about CVE-2024-38580 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/16e3182f6322575eb7c12e728ad3c7986a189d5d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4efaa5acf0a1d2b5947f98abb3acf8bfd966422b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4f65f4defe4e23659275ce5153541cd4f76ce2d2
Frequently asked questions
-
What is CVE-2024-38580?
CVE-2024-38580 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 . CVE-2024-38580 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-38580?
CVE-2024-38580 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-38580?
No patch is currently available for CVE-2024-38580. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-38580 actively exploited?
No — CVE-2024-38580 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.