CVE-2024-26696
nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
Mitigation
- Upgrade Linux to 38296afe3c6ee07319e01bb249aa4bb47c07b534 or later.
Who should check
- Anyone running Linux >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 228742b2ddfb99dfd71e5a307e6088ab6836272e; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 862ee4422c38be5c249844a684b00d0dbe9d1e46; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 98a4026b22ff440c7f47056481bcbbe442f607d6; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 7e9b622bd0748cc104d66535b76d9b3535f9dc0f; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 8494ba2c9ea00a54d5b50e69b22c55a8958bce32; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < ea5ddbc11613b55e5128c85f57b08f907abd9b28; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < e38585401d464578d30f5868ff4ca54475c34f7d; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 38296afe3c6ee07319e01bb249aa4bb47c07b534
- Anyone running Linux 3.9
Vulnerability facts
- Affected
- Linux >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 228742b2ddfb99dfd71e5a307e6088ab6836272e; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 862ee4422c38be5c249844a684b00d0dbe9d1e46; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 98a4026b22ff440c7f47056481bcbbe442f607d6; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 7e9b622bd0748cc104d66535b76d9b3535f9dc0f; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 8494ba2c9ea00a54d5b50e69b22c55a8958bce32; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < ea5ddbc11613b55e5128c85f57b08f907abd9b28; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < e38585401d464578d30f5868ff4ca54475c34f7d; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 38296afe3c6ee07319e01bb249aa4bb47c07b534; Linux 3.9
- Fixed in
- Linux 228742b2ddfb99dfd71e5a307e6088ab6836272e, Linux 862ee4422c38be5c249844a684b00d0dbe9d1e46, Linux 98a4026b22ff440c7f47056481bcbbe442f607d6, Linux 7e9b622bd0748cc104d66535b76d9b3535f9dc0f, Linux 8494ba2c9ea00a54d5b50e69b22c55a8958bce32, Linux 38296afe3c6ee07319e01bb249aa4bb47c07b534
- 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, NVD)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.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix hang in nilfs_lookup_dirty_data_buffers() Syzbot reported a hang issue in migrate_pages_batch() called by mbind() and nilfs_lookup_dirty_data_buffers() called in the log writer of nilfs2. While migrate_pages_batch() locks a folio and waits for the writeback to complete, the log writer thread that should bring the writeback to completion picks up the folio being written back in nilfs_lookup_dirty_data_buffers() that it calls for subsequent log creation and was trying to lock the folio. Thus causing a deadlock. In the first place, it is unexpected that folios/pages in the middle of writeback will be updated and become dirty. Nilfs2 adds a checksum to verify the validity of the log being written and uses it for recovery at mount, so data changes during writeback are suppressed. Since this is broken, an unclean shutdown could potentially cause recovery to fail. Investigation revealed that the root cause is that the wait for writeback completion in nilfs_page_mkwrite() is conditional, and if the backing device does not require stable writes, data may be modified without waiting. Fix these issues by making nilfs_page_mkwrite() wait for writeback to finish regardless of the stable write requirement of the backing device.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 228742b2ddfb99dfd71e5a307e6088ab6836272e; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 862ee4422c38be5c249844a684b00d0dbe9d1e46; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 98a4026b22ff440c7f47056481bcbbe442f607d6; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 7e9b622bd0748cc104d66535b76d9b3535f9dc0f; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 8494ba2c9ea00a54d5b50e69b22c55a8958bce32; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < ea5ddbc11613b55e5128c85f57b08f907abd9b28; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < e38585401d464578d30f5868ff4ca54475c34f7d; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 38296afe3c6ee07319e01bb249aa4bb47c07b534 | — | cvelist |
| Linux | 3.9 | — | 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-26696. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26696.md Affected: Linux >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 228742b2ddfb99dfd71e5a307e6088ab6836272e; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 862ee4422c38be5c249844a684b00d0dbe9d1e46; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 98a4026b22ff440c7f47056481bcbbe442f607d6; >= 1d1d1a767206fbe5d4c6949… Fixed in: Linux 228742b2ddfb99dfd71e5a307e6088ab6836272e, Linux 862ee4422c38be5c249844a684b00d0dbe9d1e46, Linux 98a4026b22ff440c7f47056481bcbbe442f607d6, Linux 7e9b622bd0748cc104d66535b76d9b3535f9dc0f, Linux 8494ba2c9ea00a54d5b50e69b22c55a8958bce32, Linux 38296afe3c6ee07319e01bb249aa4bb47c07b534 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
Patches
- https://git.kernel.org/stable/c/228742b2ddfb99dfd71e5a307e6088ab6836272e
- https://git.kernel.org/stable/c/862ee4422c38be5c249844a684b00d0dbe9d1e46
- https://git.kernel.org/stable/c/98a4026b22ff440c7f47056481bcbbe442f607d6
- https://git.kernel.org/stable/c/7e9b622bd0748cc104d66535b76d9b3535f9dc0f
- https://git.kernel.org/stable/c/8494ba2c9ea00a54d5b50e69b22c55a8958bce32
- https://git.kernel.org/stable/c/ea5ddbc11613b55e5128c85f57b08f907abd9b28
- https://git.kernel.org/stable/c/e38585401d464578d30f5868ff4ca54475c34f7d
- https://git.kernel.org/stable/c/38296afe3c6ee07319e01bb249aa4bb47c07b534
FAQ
Is CVE-2024-26696 being exploited?
There is no confirmed exploitation: CVE-2024-26696 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26696?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26696?
Linux >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 228742b2ddfb99dfd71e5a307e6088ab6836272e; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 862ee4422c38be5c249844a684b00d0dbe9d1e46; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 98a4026b22ff440c7f47056481bcbbe442f607d6; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 7e9b622bd0748cc104d66535b76d9b3535f9dc0f; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 8494ba2c9ea00a54d5b50e69b22c55a8958bce32; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < ea5ddbc11613b55e5128c85f57b08f907abd9b28; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < e38585401d464578d30f5868ff4ca54475c34f7d; >= 1d1d1a767206fbe5d4c69493b7e6d2a8d08cc0a0, < 38296afe3c6ee07319e01bb249aa4bb47c07b534; Linux 3.9.
Is there a fix for CVE-2024-26696?
Yes. Fixed in Linux 228742b2ddfb99dfd71e5a307e6088ab6836272e, Linux 862ee4422c38be5c249844a684b00d0dbe9d1e46, Linux 98a4026b22ff440c7f47056481bcbbe442f607d6, Linux 7e9b622bd0748cc104d66535b76d9b3535f9dc0f, Linux 8494ba2c9ea00a54d5b50e69b22c55a8958bce32, Linux 38296afe3c6ee07319e01bb249aa4bb47c07b534. Upgrade Linux to 38296afe3c6ee07319e01bb249aa4bb47c07b534 or later.
How do I check if I'm affected by CVE-2024-26696?
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.