Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-26685

MEDIUM 5.5EPSS 20%

nilfs2: fix potential bug in end_buffer_async_write

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < c4a09fdac625e64abe478dcf88bfa20406616928; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < d31c8721e816eff5ca6573cc487754f357c093cd; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < f3e4963566f58726d3265a727116a42b591f6596; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 8fa90634ec3e9cc50f42dd605eec60f2d146ced8; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 2c3bdba00283a6c7a5b19481a59a730f46063803; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 626daab3811b772086aef1bf8eed3ffe6f523eff; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 5bc09b397cbf1221f8a8aacb1152650c9195b02b; ccebcc74c81d8399c7b204aea47c1f33b09c2b17; 831c87640d23ccb253a02e4901bd9a325b5e8c2d; …
  • Anyone running Linux 3.12

Vulnerability facts

Affected
Linux >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < c4a09fdac625e64abe478dcf88bfa20406616928; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < d31c8721e816eff5ca6573cc487754f357c093cd; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < f3e4963566f58726d3265a727116a42b591f6596; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 8fa90634ec3e9cc50f42dd605eec60f2d146ced8; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 2c3bdba00283a6c7a5b19481a59a730f46063803; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 626daab3811b772086aef1bf8eed3ffe6f523eff; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 5bc09b397cbf1221f8a8aacb1152650c9195b02b; ccebcc74c81d8399c7b204aea47c1f33b09c2b17; 831c87640d23ccb253a02e4901bd9a325b5e8c2d; …; Linux 3.12
Fixed in
Linux 8fa90634ec3e9cc50f42dd605eec60f2d146ced8, Linux 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab, Linux 2c3bdba00283a6c7a5b19481a59a730f46063803, Linux 626daab3811b772086aef1bf8eed3ffe6f523eff, Linux 5bc09b397cbf1221f8a8aacb1152650c9195b02b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential bug in end_buffer_async_write According to a syzbot report, end_buffer_async_write(), which handles the completion of block device writes, may detect abnormal condition of the buffer async_write flag and cause a BUG_ON failure when using nilfs2. Nilfs2 itself does not use end_buffer_async_write(). But, the async_write flag is now used as a marker by commit 7f42ec394156 ("nilfs2: fix issue with race condition of competition between segments for dirty blocks") as a means of resolving double list insertion of dirty blocks in nilfs_lookup_dirty_data_buffers() and nilfs_lookup_node_buffers() and the resulting crash. This modification is safe as long as it is used for file data and b-tree node blocks where the page caches are independent. However, it was irrelevant and redundant to also introduce async_write for segment summary and super root blocks that share buffers with the backing device. This led to the possibility that the BUG_ON check in end_buffer_async_write would fail as described above, if independent writebacks of the backing device occurred in parallel. The use of async_write for segment summary buffers has already been removed in a previous change. Fix this issue by removing the manipulation of the async_write flag for the remaining super root block buffer.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < c4a09fdac625e64abe478dcf88bfa20406616928; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < d31c8721e816eff5ca6573cc487754f357c093cd; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < f3e4963566f58726d3265a727116a42b591f6596; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 8fa90634ec3e9cc50f42dd605eec60f2d146ced8; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 2c3bdba00283a6c7a5b19481a59a730f46063803; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 626daab3811b772086aef1bf8eed3ffe6f523eff; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 5bc09b397cbf1221f8a8aacb1152650c9195b02b; ccebcc74c81d8399c7b204aea47c1f33b09c2b17; 831c87640d23ccb253a02e4901bd9a325b5e8c2d; …—cvelist
Linux3.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-26685. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26685.md
Affected: Linux >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < c4a09fdac625e64abe478dcf88bfa20406616928; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < d31c8721e816eff5ca6573cc487754f357c093cd; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < f3e4963566f58726d3265a727116a42b591f6596; >= 7f42ec3941560f0902fe367…
Fixed in: Linux 8fa90634ec3e9cc50f42dd605eec60f2d146ced8, Linux 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab, Linux 2c3bdba00283a6c7a5b19481a59a730f46063803, Linux 626daab3811b772086aef1bf8eed3ffe6f523eff, Linux 5bc09b397cbf1221f8a8aacb1152650c9195b02b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-26685 being exploited?

There is no confirmed exploitation: CVE-2024-26685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-26685?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-26685?

Linux >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < c4a09fdac625e64abe478dcf88bfa20406616928; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < d31c8721e816eff5ca6573cc487754f357c093cd; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < f3e4963566f58726d3265a727116a42b591f6596; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 8fa90634ec3e9cc50f42dd605eec60f2d146ced8; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 2c3bdba00283a6c7a5b19481a59a730f46063803; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 626daab3811b772086aef1bf8eed3ffe6f523eff; >= 7f42ec3941560f0902fe3671e36f2c20ffd3af0a, < 5bc09b397cbf1221f8a8aacb1152650c9195b02b; ccebcc74c81d8399c7b204aea47c1f33b09c2b17; 831c87640d23ccb253a02e4901bd9a325b5e8c2d; …; Linux 3.12.

Is there a fix for CVE-2024-26685?

Yes. Fixed in Linux 8fa90634ec3e9cc50f42dd605eec60f2d146ced8, Linux 6589f0f72f8edd1fa11adce4eedbd3615f2e78ab, Linux 2c3bdba00283a6c7a5b19481a59a730f46063803, Linux 626daab3811b772086aef1bf8eed3ffe6f523eff, Linux 5bc09b397cbf1221f8a8aacb1152650c9195b02b. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-26685?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors