# CVE-2024-26955: nilfs2: prevent kernel bug at submit_bh_wbc()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-01T05:18:51.866Z
- Modified: 2026-06-17T07:18:46.943Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: prevent kernel bug at submit_bh_wbc()

Fix a bug where nilfs_get_block() returns a successful status when
searching and inserting the specified block both fail inconsistently.  If
this inconsistent behavior is not due to a previously fixed bug, then an
unexpected race is occurring, so return a temporary error -EAGAIN instead.

This prevents callers such as __block_write_begin_int() from requesting a
read into a buffer that is not mapped, which would cause the BUG_ON check
for the BH_Mapped flag in submit_bh_wbc() to fail.

(As written by CVE List.)

## Affected

- Linux Linux: from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 91e4c4595fae5e87069e44687ae879091783c183; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 32eaee72e96590a75445c8a6c7c1057673b47e07; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before f0fe7ad5aff4f0fcf988913313c497de85f1e186; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before ca581d237f3b8539c044205bb003de71d75d227c; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 192e9f9078c96be30b31c4b44d6294b24520fce5; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 0c8aa4cfda4e4adb15d5b6536d155eca9c9cd44c; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 48d443d200237782dc82e6b60663ec414ef02e39; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 76ffbe911e2798c7296968f5fd72f7bf67207a8d; from 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b before 269cdf353b5bdd15f1a079671b0f889113865f20; 2.6.30 (not affected: before 2.6.30; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 2.6.30 before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.84; from 6.2 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/91e4c4595fae5e87069e44687ae879091783c183> (patch)
- <https://git.kernel.org/stable/c/32eaee72e96590a75445c8a6c7c1057673b47e07> (patch)
- <https://git.kernel.org/stable/c/f0fe7ad5aff4f0fcf988913313c497de85f1e186> (patch)
- <https://git.kernel.org/stable/c/ca581d237f3b8539c044205bb003de71d75d227c> (patch)
- <https://git.kernel.org/stable/c/192e9f9078c96be30b31c4b44d6294b24520fce5> (patch)
- <https://git.kernel.org/stable/c/0c8aa4cfda4e4adb15d5b6536d155eca9c9cd44c> (patch)
- <https://git.kernel.org/stable/c/48d443d200237782dc82e6b60663ec414ef02e39> (patch)
- <https://git.kernel.org/stable/c/76ffbe911e2798c7296968f5fd72f7bf67207a8d> (patch)
- <https://git.kernel.org/stable/c/269cdf353b5bdd15f1a079671b0f889113865f20> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-26955](https://www.cve.org/CVERecord?id=CVE-2024-26955), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26955](https://nvd.nist.gov/vuln/detail/CVE-2024-26955), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26955 · Whole record: https://cve.day/CVE-2024-26955.json · Rebuilt by cve.day 2026-11-25T22:58:39.734Z
