CVE-2024-26955
JSON

7.8high

nilfs2: prevent kernel bug at submit_bh_wbc()

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelfrom 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.3NVD
debian debian_linux10.0NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: nilfs2: previene el error del kernel en submit_bh_wbc(). Se corrige un error por el cual nilfs_get_block() devuelve un estado exitoso cuando la búsqueda y la inserción del bloque especificado fallan de manera inconsistente. Si este comportamiento inconsistente no se debe a un error solucionado previamente, entonces se está produciendo una ejecución inesperada, por lo que se devuelve un error temporal -EAGAIN. Esto evita que llamadores como __block_write_begin_int() soliciten una lectura en un búfer que no está asignado, lo que provocaría que falle la verificación BUG_ON del indicador BH_Mapped en submit_bh_wbc().

References

https://git.kernel.org/stable/c/91e4c4595fae5e87069e44687ae879091783c183patch
https://git.kernel.org/stable/c/32eaee72e96590a75445c8a6c7c1057673b47e07patch
https://git.kernel.org/stable/c/f0fe7ad5aff4f0fcf988913313c497de85f1e186patch
https://git.kernel.org/stable/c/ca581d237f3b8539c044205bb003de71d75d227cpatch
https://git.kernel.org/stable/c/192e9f9078c96be30b31c4b44d6294b24520fce5patch
https://git.kernel.org/stable/c/0c8aa4cfda4e4adb15d5b6536d155eca9c9cd44cpatch
https://git.kernel.org/stable/c/48d443d200237782dc82e6b60663ec414ef02e39patch
https://git.kernel.org/stable/c/76ffbe911e2798c7296968f5fd72f7bf67207a8dpatch
https://git.kernel.org/stable/c/269cdf353b5bdd15f1a079671b0f889113865f20patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-26955 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26955 changed 2026-06-17Public domain