{"id":"CVE-2024-42295","aliases":["CVE-2024-42295"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: handle inconsistent state in nilfs_btnode_create_block()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: handle inconsistent state in nilfs_btnode_create_block()\n\nSyzbot reported that a buffer state inconsistency was detected in\nnilfs_btnode_create_block(), triggering a kernel bug.\n\nIt is not appropriate to treat this inconsistency as a bug; it can occur\nif the argument block address (the buffer index of the newly created\nblock) is a virtual block number and has been reallocated due to\ncorruption of the bitmap used to manage its allocation state.\n\nSo, modify nilfs_btnode_create_block() and its callers to treat it as a\npossible filesystem error, rather than triggering a kernel bug.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: handle inconsistent state in nilfs_btnode_create_block()\n\nSyzbot reported that a buffer state inconsistency was detected in\nnilfs_btnode_create_block(), triggering a kernel bug.\n\nIt is not appropriate to treat this inconsistency as a bug; it can occur\nif the argument block address (the buffer index of the newly created\nblock) is a virtual block number and has been reallocated due to\ncorruption of the bitmap used to manage its allocation state.\n\nSo, modify nilfs_btnode_create_block() and its callers to treat it as a\npossible filesystem error, rather than triggering a kernel bug.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-08-17T09:09:03.618Z","modified":"2026-06-17T07:49:12.007Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"19cce46238ffe3546e44b9c74057103ff8b24c62","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"02b87e6334a38c65eef49848d3f1ac422f0b2a44","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"e34191cce3ee63dfa5fb241904aaf2a042d5b6d8","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"012be828a118bf496e666ef1fc47fc0e7358ada2","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"be56dfc9be0604291267c07b0e27a69a6bda4899","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"366c3f688dd0288cbe38af1d3a886b5c62372e4a","status":"affected"},{"type":"git","introduced":"a60be987d45dd510aeb54389526f9957cfab106c","fixed":"4811f7af6090e8f5a398fbdd766f903ef6c0d787","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"4.19.320","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.282","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.224","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.165","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.103","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.44","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.30","fixed":"4.19.320"},{"status":"affected","introduced":"4.20","fixed":"5.4.282"},{"status":"affected","introduced":"5.5","fixed":"5.10.224"},{"status":"affected","introduced":"5.11","fixed":"5.15.165"},{"status":"affected","introduced":"5.16","fixed":"6.1.103"},{"status":"affected","introduced":"6.2","fixed":"6.6.44"},{"status":"affected","introduced":"6.7","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/19cce46238ffe3546e44b9c74057103ff8b24c62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02b87e6334a38c65eef49848d3f1ac422f0b2a44","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e34191cce3ee63dfa5fb241904aaf2a042d5b6d8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/012be828a118bf496e666ef1fc47fc0e7358ada2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be56dfc9be0604291267c07b0e27a69a6bda4899","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/366c3f688dd0288cbe38af1d3a886b5c62372e4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4811f7af6090e8f5a398fbdd766f903ef6c0d787","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:10:50.851Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42295","url":"https://www.cve.org/CVERecord?id=CVE-2024-42295","licence":"CVE Terms of Use","modified":"2026-05-11T20:29:36.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42295","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42295","licence":"Public domain","modified":"2026-06-17T07:49:12.007Z"}],"updatedAt":"2026-11-25T22:58:44.472Z","epss":{"score":0.00322,"percentile":0.17614,"date":"2026-11-30T12:00:22.000Z"}}