CVE-2024-47679: vfs: fix race between evice_inodes() and find_inode()&iput()
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.20% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 0eed942bc65de1f93eca7bda51344290f9c573bb, 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1, 3721a69403291e2514d13a7c3af50a006ea1153b; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5.
- Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 4.7.
Low priority for now. Upgrade to Linux Linux 0eed942bc65de1f93eca7bda51344290f9c573bb, 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1, 3721a69403291e2514d13a7c3af50a006ea1153b; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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/000000000000eabe1d0619c48986@google.com/ [2]: The reason might be 1. SB_ACTIVE was removed or 2. mapping_shrinkable() return false when I reproduced the bug.
- Published
- Oct 21, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 10th percentile
- CWE
- CWE-362
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.7
- CNA · Linux
- 7.8
- 3.1 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.37 and later · before 5.10.227
- linux linux kernel5.11 and later · before 5.15.168
- linux linux kernel5.16 and later · before 6.1.113
- linux linux kernel6.2 and later · before 6.6.54
- linux linux kernel6.7 and later · before 6.10.13
- linux linux kernel6.11 and later · before 6.11.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.37affected
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 6cc13a80a26e6b48f78c725c01b91987d61563efaffected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 489faddb1ae75b0e1a741fe5ca2542a2b5e794a5affected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 47a68c75052a660e4c37de41e321582ec9496195affected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 3721a69403291e2514d13a7c3af50a006ea1153baffected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 540fb13120c9eab3ef203f90c00c8e69f37449d1affected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 0eed942bc65de1f93eca7bda51344290f9c573bbaffected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1affected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 6c857fb12b9137fee574443385d53914356bbe11affected · git
- 63997e98a3be68d7cec806d22bf9b02b2e1daabb and later · before 88b1afbf0f6b221f6c5bb66cc80cd3b38d696687affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.115-1 | 6.1.115-1 |
| Debian:13 | linux | before 6.11.2-1 | 6.11.2-1 |
| openSUSE:Tumbleweed | kernel-source | before 6.11.8-1.1 | 6.11.8-1.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | before 4.12.14-122.237.1 | 4.12.14-122.237.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_63 | before 1-8.3.1 | 1-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-source | before 4.12.14-122.237.1 | 4.12.14-122.237.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-syms | before 4.12.14-122.237.1 | 4.12.14-122.237.1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-47677Oct 21, 2024 · exfat: resolve memory leak from exfat_create_upcase_table()22Monitor
- ← EarlierCVE-2024-47678Oct 21, 2024 · icmp: change the order of rate limits22Monitor
- Later →CVE-2024-47680Oct 21, 2024 · f2fs: check discard support for conventional zones22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0eed942bc65de1f93eca7bda51344290f9c573bb | Vendor (CNA) |
| Linux Linux | 0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1 | Vendor (CNA) |
| Linux Linux | 3721a69403291e2514d13a7c3af50a006ea1153b | Vendor (CNA) |
| Linux Linux | 47a68c75052a660e4c37de41e321582ec9496195 | Vendor (CNA) |
| Linux Linux | 489faddb1ae75b0e1a741fe5ca2542a2b5e794a5 | Vendor (CNA) |
| Linux Linux | 540fb13120c9eab3ef203f90c00c8e69f37449d1 | Vendor (CNA) |
| Linux Linux | 6c857fb12b9137fee574443385d53914356bbe11 | Vendor (CNA) |
| Linux Linux | 6cc13a80a26e6b48f78c725c01b91987d61563ef | Vendor (CNA) |
| Linux Linux | 88b1afbf0f6b221f6c5bb66cc80cd3b38d696687 | Vendor (CNA) |
| Azure Linux 3.0 ARM | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| debian:linux | 6.1.115-1 · Debian:12 | Package registry (OSV) |
| opensuse:kernel-source | 6.11.8-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:kernel-default | 4.12.14-122.237.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
| suse:kernel-source | 4.12.14-122.237.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:kernel-syms | 4.12.14-122.237.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_63 | 1-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/0f8a5b6d0dafa4f533ac82e98f8b812073a7c9d1
- git.kernel.org/stable/c/3721a69403291e2514d13a7c3af50a006ea1153b
- git.kernel.org/stable/c/47a68c75052a660e4c37de41e321582ec9496195
- git.kernel.org/stable/c/489faddb1ae75b0e1a741fe5ca2542a2b5e794a5
- git.kernel.org/stable/c/540fb13120c9eab3ef203f90c00c8e69f37449d1
- git.kernel.org/stable/c/6c857fb12b9137fee574443385d53914356bbe11
- git.kernel.org/stable/c/6cc13a80a26e6b48f78c725c01b91987d61563ef
- git.kernel.org/stable/c/88b1afbf0f6b221f6c5bb66cc80cd3b38d696687
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.