Skip to main content
Network Thinking Solutions Logo

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 that may race with the last 'fput()'.

All CVEs
CVE-2024-38580Published 6/19/2024

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()'.

Vendor advisory
CVSS7.8High

Overview

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.

Published
6/19/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.15.161

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.93

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.33

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.12

Verify advisory

Source
linux kernel
linux
6.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cbfd1088e24ec4c1199756a37cb8e4cd0a4b016e

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 559214eb4e5c3d05e69428af2fae2691ba1eb784

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4f65f4defe4e23659275ce5153541cd4f76ce2d2

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 16e3182f6322575eb7c12e728ad3c7986a189d5d

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4efaa5acf0a1d2b5947f98abb3acf8bfd966422b

Verify advisory

Source
Linux
Linux
2.6.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.