CVE-2024-38580

Medium

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.

Package Linux Kernel
Published 2024-06-19
Last modified 2025-10-20
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 2.6.12 and later are affected. Fixed in 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9 and their respective stable series.

Affected from
≥ 2.6.12
Fixed in
✓ 5.15.161 5.15.x ✓ 6.1.93 6.1.x ✓ 6.6.33 6.6.x ✓ 6.8.12 6.8.x ✓ 6.9

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 . It affects Linux kernel versions from 2.6.12 onward and has been patched in 5.15.161, 6.1.93, 6.6.33 and others. 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?

    Yes. CVE-2024-38580 has been patched. Fixed versions include 5.15.161, 6.1.93, 6.6.33 and others. If you are running Linux kernel 2.6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • 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.