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-47679

published high CVSS 3.1 · 7.8

vfs: fix race between evice_inodes() and find_inode()&iput()

Published
21 Oct 2024, 11:53:22 UTC
Updated
05 Aug 2026, 11:39:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 6cc13a80a26e6b48f78c725c01b91987d61563ef · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 489faddb1ae75b0e1a741fe5ca2542a2b5e794a5 · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 47a68c75052a660e4c37de41e321582ec9496195 · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 3721a69403291e2514d13a7c3af50a006ea1153b · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 540fb13120c9eab3ef203f90c00c8e69f37449d1 · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 0eed942bc65de1f93eca7bda51344290f9c573bb · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1 · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 6c857fb12b9137fee574443385d53914356bbe11 · 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 88b1afbf0f6b221f6c5bb66cc80cd3b38d696687 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.37 (affected) · 0 to < 2.6.37 (unaffected · semver) · 4.19.323 through 4.19.* (unaffected · semver) · 5.4.285 through 5.4.* (unaffected · semver) · 5.10.227 through 5.10.* (unaffected · semver) · 5.15.168 through 5.15.* (unaffected · semver) · 6.1.113 through 6.1.* (unaffected · semver) · 6.6.54 through 6.6.* (unaffected · semver) · 6.10.13 through 6.10.* (unaffected · semver) · 6.11.2 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-072 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-056 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-090 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 kernel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
Debian bullseye linux Advisory build 5.10.234-1 DLA-4075-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-794 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 libperf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 perf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 rtla Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 rv Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.338.4.1.el7uek ELSA-2024-12884
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.338.4.1.el8uek ELSA-2024-12884
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.338.4.1.el8uek ELSA-2024-12884
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887

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

Description

In the Linux kernel, the following vulnerability has been resolved: vfs: fix race between evice_inodes() and find_inode()&iput() Hi, all Recently I noticed a bug[1] in btrfs, after digged it into and I believe it'a race in vfs. Let's assume there's a inode (ie ino 261) with i_count 1 is called by iput(), and there's a concurrent thread calling generic_shutdown_super(). cpu0: cpu1: iput() // i_count is 1 ->spin_lock(inode) ->dec i_count to 0 ->iput_final() generic_shutdown_super() ->__inode_add_lru() ->evict_inodes() // cause some reason[2] ->if (atomic_read(inode->i_count)) continue; // return before // inode 261 passed the above check // list_lru_add_obj() // and then schedule out ->spin_unlock() // note here: the inode 261 // was still at sb list and hash list, // and I_FREEING|I_WILL_FREE was not been set btrfs_iget() // after some function calls ->find_inode() // found the above inode 261 ->spin_lock(inode) // check I_FREEING|I_WILL_FREE // and passed ->__iget() ->spin_unlock(inode) // schedule back ->spin_lock(inode) // check (I_NEW|I_FREEING|I_WILL_FREE) flags, // passed and set I_FREEING iput() ->spin_unlock(inode) ->spin_lock(inode) ->evict() // dec i_count to 0 ->iput_final() ->spin_unlock() ->evict() Now, we have two threads simultaneously evicting the same inode, which may trigger the BUG(inode->i_state & I_CLEAR) statement both within clear_inode() and iput(). To fix the bug, recheck the inode->i_count after holding i_lock. Because in the most scenarios, the first check is valid, and the overhead of spin_lock() can be reduced. If there is any misunderstanding, please let me know, thanks. [1]: https://lore.kernel.org/linux-btrfs/[email protected]/ [2]: The reason might be 1. SB_ACTIVE was removed or 2. mapping_shrinkable() return false when I reproduced the bug.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

77

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 race requires local syscalls — `umount()` to drive `generic_shutdown_super()`→`evict_inodes()` plus concurrent `open()`/`close()` to drive `find_inode()`/`iput()` on the same inode. No network protocol handler reaches this path. AC:L - The attacker controls every side of the race: it stages inodes at `i_count==0` with page cache (making `__inode_add_lru()` bail), hammers lookups on them from parallel threads, and issues the unmount itself, retrying the whole cycle indefinitely until the window between the unlocked `atomic_read(&inode->i_count)` and `spin_lock(&inode->i_lock)` is hit; syzbot reproduced it automatically. PR:L - An ordinary unprivileged user can mount and unmount FUSE or overlayfs inside a user namespace (`FS_USERNS_MOUNT`, `unshare -Urm`), and FUSE's `iget5_locked()` lookups supply the racing `find_inode()`; no real root or init-namespace capability is needed. UI:N - The attacker performs the mount, the file accesses, and the unmount entirely on its own; no action by another user or administrator is required. S:U - The corruption stays within the kernel of the same machine — a standard local kernel memory-safety issue with no crossing of a VM, hypervisor, or IOMMU boundary. C:H - Double eviction leads to `destroy_inode()` twice on the same slab object, a double-free/UAF the attacker can reclaim with controlled data, yielding an arbitrary kernel-memory read primitive and disclosure of any data on the system. I:H - The same double-free/UAF on the inode cache allows heap grooming and type confusion between the stale inode and a reclaimed object, giving arbitrary kernel write and a realistic path to privilege escalation. A:H - The immediate observable effect is `BUG_ON(inode->i_state & I_CLEAR)` in `clear_inode()` and `BUG_ON(inode->i_state != (I_FREEING|I_CLEAR))` in `evict()`, i.e. a kernel panic, and the slab double-free crashes the system even when not exploited further.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 6cc13a80a26e6b48f78c725c01b91987d61563ef (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 489faddb1ae75b0e1a741fe5ca2542a2b5e794a5 (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 47a68c75052a660e4c37de41e321582ec9496195 (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 3721a69403291e2514d13a7c3af50a006ea1153b (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 540fb13120c9eab3ef203f90c00c8e69f37449d1 (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 0eed942bc65de1f93eca7bda51344290f9c573bb (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1 (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 6c857fb12b9137fee574443385d53914356bbe11 (affected · git)63997e98a3be68d7cec806d22bf9b02b2e1daabb to < 88b1afbf0f6b221f6c5bb66cc80cd3b38d696687 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.37 (affected)0 to < 2.6.37 (unaffected · semver)4.19.323 through 4.19.* (unaffected · semver)5.4.285 through 5.4.* (unaffected · semver)5.10.227 through 5.10.* (unaffected · semver)5.15.168 through 5.15.* (unaffected · semver)6.1.113 through 6.1.* (unaffected · semver)6.6.54 through 6.6.* (unaffected · semver)6.10.13 through 6.10.* (unaffected · semver)6.11.2 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

3

Linux · cna

vfs: fix race between evice_inodes() and find_inode()&iput()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d8aa58078a6a56eaf2d70009bada62b21e865511f74bbbd10fd85da2d2f2dcf1
Ingested
23 Sep 2026, 08:28:35 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