CVE-2024-42295

In the Linux kernel, the following vulnerability has been resolved: nilfs2: handle inconsistent state in nilfs_btnode_create_block() Syzbot reported that a buffer state inconsistency was detected in nilfs_btnode_create_block(), triggering a kernel bug. It is not appropriate to treat this inconsistency as a bug; it can occur if the argument block address (the buffer index of the newly created block) is a virtual block number and has been reallocated due to corruption of the bitmap used to manage its allocation state. So, modify nilfs_btnode_create_block() and its callers to treat it as a possible filesystem error, rather than triggering a kernel bug.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

07 Oct 2025, 20:31

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/012be828a118bf496e666ef1fc47fc0e7358ada2 - () https://git.kernel.org/stable/c/012be828a118bf496e666ef1fc47fc0e7358ada2 - Patch
References () https://git.kernel.org/stable/c/02b87e6334a38c65eef49848d3f1ac422f0b2a44 - () https://git.kernel.org/stable/c/02b87e6334a38c65eef49848d3f1ac422f0b2a44 - Patch
References () https://git.kernel.org/stable/c/19cce46238ffe3546e44b9c74057103ff8b24c62 - () https://git.kernel.org/stable/c/19cce46238ffe3546e44b9c74057103ff8b24c62 - Patch
References () https://git.kernel.org/stable/c/366c3f688dd0288cbe38af1d3a886b5c62372e4a - () https://git.kernel.org/stable/c/366c3f688dd0288cbe38af1d3a886b5c62372e4a - Patch
References () https://git.kernel.org/stable/c/4811f7af6090e8f5a398fbdd766f903ef6c0d787 - () https://git.kernel.org/stable/c/4811f7af6090e8f5a398fbdd766f903ef6c0d787 - Patch
References () https://git.kernel.org/stable/c/5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e - () https://git.kernel.org/stable/c/5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e - Patch
References () https://git.kernel.org/stable/c/be56dfc9be0604291267c07b0e27a69a6bda4899 - () https://git.kernel.org/stable/c/be56dfc9be0604291267c07b0e27a69a6bda4899 - Patch
References () https://git.kernel.org/stable/c/e34191cce3ee63dfa5fb241904aaf2a042d5b6d8 - () https://git.kernel.org/stable/c/e34191cce3ee63dfa5fb241904aaf2a042d5b6d8 - Patch
CWE NVD-CWE-noinfo

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: nilfs2: maneja el estado inconsistente en nilfs_btnode_create_block() Syzbot informó que se detectó una inconsistencia en el estado del búfer en nilfs_btnode_create_block(), lo que provocó un error en el kernel. No es apropiado tratar esta inconsistencia como un error; puede ocurrir si la dirección del bloque de argumentos (el índice del búfer del bloque recién creado) es un número de bloque virtual y se ha reasignado debido a la corrupción del mapa de bits utilizado para administrar su estado de asignación. Por lo tanto, modifique nilfs_btnode_create_block() y sus llamadores para tratarlo como un posible error del sistema de archivos, en lugar de desencadenar un error del kernel.

19 Aug 2024, 05:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/02b87e6334a38c65eef49848d3f1ac422f0b2a44 -
  • () https://git.kernel.org/stable/c/19cce46238ffe3546e44b9c74057103ff8b24c62 -
  • () https://git.kernel.org/stable/c/5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e -
  • () https://git.kernel.org/stable/c/e34191cce3ee63dfa5fb241904aaf2a042d5b6d8 -

17 Aug 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 09:15

Updated : 2025-10-07 20:31


NVD link : CVE-2024-42295

Mitre link : CVE-2024-42295

CVE.ORG link : CVE-2024-42295


JSON object : View

Products Affected

linux

  • linux_kernel