CVE-2024-26696
Last modified
CVE-2024-26696 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.9, < 4.19.307 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.269 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.210 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.149 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.79 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.18 | — |
| Linux | Linux Kernel | >= 6.7, < 6.7.6 | — |
| Linux | Linux Kernel | 6.8 | Rc1 |
| Debian | Debian Linux | 10.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-26696?
How severe is CVE-2024-26696?
How do I fix CVE-2024-26696?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26690In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2024-26691In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26692In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26693In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26694In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26695In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26697In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26698In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-26699In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-2670A vulnerability was found in Campcodes Online Job Finder Sys…6.5
- CVE-2024-26700In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26701Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2024-26696?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
