CVE-2024-26956: nilfs2: fix failure to detect DAT corruption in btree and direct mappings
Noroxi assessment
Priority: Monitor (action score 31/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.25% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2e2619ff5d0def4bb6c2037a32a6eaa28dd95c84, 46b832e09d43b394ac0f6d9485d2b1a06593f0b7, 82827ca21e7c8a91384c5baa656f78a5adfa4ab4.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 2e2619ff5d0def4bb6c2037a32a6eaa28dd95c84, 46b832e09d43b394ac0f6d9485d2b1a06593f0b7, 82827ca21e7c8a91384c5baa656f78a5adfa4ab4 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: nilfs2: fix failure to detect DAT corruption in btree and direct mappings Patch series "nilfs2: fix kernel bug at submit_bh_wbc()". This resolves a kernel BUG reported by syzbot. Since there are two flaws involved, I've made each one a separate patch. The first patch alone resolves the syzbot-reported bug, but I think both fixes should be sent to stable, so I've tagged them as such. This patch (of 2): Syzbot has reported a kernel bug in submit_bh_wbc() when writing file data to a nilfs2 file system whose metadata is corrupted. There are two flaws involved in this issue. The first flaw is that when nilfs_get_block() locates a data block using btree or direct mapping, if the disk address translation routine nilfs_dat_translate() fails with internal code -ENOENT due to DAT metadata corruption, it can be passed back to nilfs_get_block(). This causes nilfs_get_block() to misidentify an existing block as non-existent, causing both data block lookup and insertion to fail inconsistently. The second flaw is that nilfs_get_block() returns a successful status in this inconsistent state. This causes the caller __block_write_begin_int() or others to request a read even though the buffer is not mapped, resulting in a BUG_ON check for the BH_Mapped flag in submit_bh_wbc() failing. This fixes the first issue by changing the return value to code -EINVAL when a conversion using DAT fails with code -ENOENT, avoiding the conflicting condition that leads to the kernel bug described above. Here, code -EINVAL indicates that metadata corruption was detected during the block lookup, which will be properly handled as a file system error and converted to -EIO when passing through the nilfs2 bmap layer.
- Published
- May 1, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 17th percentile
- CWE
- —
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 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.
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.
Is your version affected? Check itNoroxi 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 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
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.31affected
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before b67189690eb4b7ecc84ae16fa1e880e0123eaa35affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before 9cbe1ad5f4354f4df1445e5f4883983328cd6d8eaffected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before c3b5c5c31e723b568f83d8cafab8629d9d830ffbaffected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before 2e2619ff5d0def4bb6c2037a32a6eaa28dd95c84affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before 46b832e09d43b394ac0f6d9485d2b1a06593f0b7affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before f69e81396aea66304d214f175aa371f1b5578862affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before a8e4d098de1c0f4c5c1f2ed4633a860f0da6d713affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before 82827ca21e7c8a91384c5baa656f78a5adfa4ab4affected · git
- c3a7abf06ce719a51139e62a034590be99abbc2c and later · before f2f26b4a84a0ef41791bd2d70861c8eac748f4baaffected · git
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel4.20 and later · before 5.4.274
- linux linux kernel5.5 and later · before 5.10.215
- linux linux kernel5.11 and later · before 5.15.154
- linux linux kernel2.6.31 and later · before 4.19.312
- linux linux kernel6.2 and later · before 6.6.24
- linux linux kernel6.7 and later · before 6.7.12
- linux linux kernel6.8 and later · before 6.8.3
- linux linux kernel5.16 and later · before 6.1.84
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.85-1 | 6.1.85-1 |
| Debian:13 | linux | before 6.7.12-1 | 6.7.12-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-26954May 1, 2024 · ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()28Monitor
- ← EarlierCVE-2024-26955May 1, 2024 · nilfs2: prevent kernel bug at submit_bh_wbc()31Monitor
- Later →CVE-2024-26959May 1, 2024 · Bluetooth: btnxpuart: Fix btnxpuart_close22Monitor
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 | 2e2619ff5d0def4bb6c2037a32a6eaa28dd95c84 | Vendor (CNA) |
| Linux Linux | 46b832e09d43b394ac0f6d9485d2b1a06593f0b7 | Vendor (CNA) |
| Linux Linux | 82827ca21e7c8a91384c5baa656f78a5adfa4ab4 | Vendor (CNA) |
| Linux Linux | 9cbe1ad5f4354f4df1445e5f4883983328cd6d8e | Vendor (CNA) |
| Linux Linux | a8e4d098de1c0f4c5c1f2ed4633a860f0da6d713 | Vendor (CNA) |
| Linux Linux | b67189690eb4b7ecc84ae16fa1e880e0123eaa35 | Vendor (CNA) |
| Linux Linux | c3b5c5c31e723b568f83d8cafab8629d9d830ffb | Vendor (CNA) |
| Linux Linux | f2f26b4a84a0ef41791bd2d70861c8eac748f4ba | Vendor (CNA) |
| Linux Linux | f69e81396aea66304d214f175aa371f1b5578862 | Vendor (CNA) |
| debian:linux | 6.1.85-1 · Debian:12 | 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.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0494 · May 16, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/46b832e09d43b394ac0f6d9485d2b1a06593f0b7
- git.kernel.org/stable/c/82827ca21e7c8a91384c5baa656f78a5adfa4ab4
- git.kernel.org/stable/c/9cbe1ad5f4354f4df1445e5f4883983328cd6d8e
- git.kernel.org/stable/c/a8e4d098de1c0f4c5c1f2ed4633a860f0da6d713
- git.kernel.org/stable/c/b67189690eb4b7ecc84ae16fa1e880e0123eaa35
- git.kernel.org/stable/c/c3b5c5c31e723b568f83d8cafab8629d9d830ffb
- git.kernel.org/stable/c/f2f26b4a84a0ef41791bd2d70861c8eac748f4ba
- git.kernel.org/stable/c/f69e81396aea66304d214f175aa371f1b5578862
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.