Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-38580

published high CVSS 3.1 · 7.8

epoll: be better about file lifetimes

Published
19 Jun 2024, 13:37:37 UTC
Updated
05 Aug 2026, 11:32:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cbfd1088e24ec4c1199756a37cb8e4cd0a4b016e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 559214eb4e5c3d05e69428af2fae2691ba1eb784 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4f65f4defe4e23659275ce5153541cd4f76ce2d2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16e3182f6322575eb7c12e728ad3c7986a189d5d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4efaa5acf0a1d2b5947f98abb3acf8bfd966422b · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.15.161 through 5.15.* (unaffected · semver) · 6.1.93 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.8.12 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-047 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-683 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.28.1.el9_4 ALSA-2024:4928
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.28.1.el9_4 ELSA-2024-4928
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.28.1.el9_4 RHSA-2024:4928
AlmaLinux 9 kernel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 libperf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 perf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 rtla Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
AlmaLinux 9 rv Advisory build 5.14.0-427.28.1.el9_4 ALSA-2024:4928
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-427.28.1.el9_4 ELSA-2024-4928

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

39

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached purely through local syscalls — epoll_ctl(EPOLL_CTL_ADD) to register a pollable fd, epoll_wait() to drive ep_send_events()→ep_item_poll(), and close() on the registered fd from a second thread. No network input is involved. AC:L - The attacker controls both sides of the race (one thread spins on close() of the registered fd, another spins on epoll_wait()), so the window can be hit repeatedly and indefinitely until won; syzbot produced a reproducer. Nothing depends on conditions outside attacker influence. PR:L - Only an ordinary unprivileged local user is needed — epoll requires no capabilities at all, and dma-buf fds are obtainable without privilege via /dev/dma_heap/system on Android or DRM render nodes (/dev/dri/renderD128, PRIME_HANDLE_TO_FD) on desktop/server, all reachable from inside containers and app sandboxes. UI:N - The attacker performs every step itself from its own threads; no action by any other user or victim process is required. S:U - The corruption is confined to kernel memory within the same security authority — this is a standard local kernel privilege-escalation primitive, not a VM, IOMMU, or hypervisor boundary crossing. C:H - vfs_poll() runs on a struct file with f_count already zero, and the resulting refcount underflow frees the file while it is still referenced, yielding a use-after-free on a SLAB_TYPESAFE_BY_RCU slot that is instantly reallocated to another struct file; reading through the stale file (f_cred, f_path, private_data) gives arbitrary kernel memory and other processes' file contents. I:H - The double __fput()/double file_free() plus stray refcount decrement on a live, reallocated struct file is the classic DirtyCred-style write primitive — the attacker can force premature release of a victim's file and substitute its own, enabling arbitrary file/credential overwrite and full control-flow hijack. A:H - syzbot's observed manifestation is a kernel general protection fault in __ep_remove (fs/eventpoll.c:825, NULL file->f_ep), and the double-free of struct file, dentry and vfsmount reliably panics the machine, so an unprivileged user can crash the kernel at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cbfd1088e24ec4c1199756a37cb8e4cd0a4b016e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 559214eb4e5c3d05e69428af2fae2691ba1eb784 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4f65f4defe4e23659275ce5153541cd4f76ce2d2 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16e3182f6322575eb7c12e728ad3c7986a189d5d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4efaa5acf0a1d2b5947f98abb3acf8bfd966422b (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.8.12 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

epoll: be better about file lifetimes

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
461a2114494d256593492d168cad562a8643e873b35b8e5f18ca85d749c3de24
Ingested
23 Sep 2026, 08:24:49 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected