{"id":"CVE-2024-50202","aliases":["CVE-2024-50202"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: propagate directory read errors from nilfs_find_entry()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: propagate directory read errors from nilfs_find_entry()\n\nSyzbot reported that a task hang occurs in vcs_open() during a fuzzing\ntest for nilfs2.\n\nThe root cause of this problem is that in nilfs_find_entry(), which\nsearches for directory entries, ignores errors when loading a directory\npage/folio via nilfs_get_folio() fails.\n\nIf the filesystem images is corrupted, and the i_size of the directory\ninode is large, and the directory page/folio is successfully read but\nfails the sanity check, for example when it is zero-filled,\nnilfs_check_folio() may continue to spit out error messages in bursts.\n\nFix this issue by propagating the error to the callers when loading a\npage/folio fails in nilfs_find_entry().\n\nThe current interface of nilfs_find_entry() and its callers is outdated\nand cannot propagate error codes such as -EIO and -ENOMEM returned via\nnilfs_find_entry(), so fix it together.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: propagate directory read errors from nilfs_find_entry()\n\nSyzbot reported that a task hang occurs in vcs_open() during a fuzzing\ntest for nilfs2.\n\nThe root cause of this problem is that in nilfs_find_entry(), which\nsearches for directory entries, ignores errors when loading a directory\npage/folio via nilfs_get_folio() fails.\n\nIf the filesystem images is corrupted, and the i_size of the directory\ninode is large, and the directory page/folio is successfully read but\nfails the sanity check, for example when it is zero-filled,\nnilfs_check_folio() may continue to spit out error messages in bursts.\n\nFix this issue by propagating the error to the callers when loading a\npage/folio fails in nilfs_find_entry().\n\nThe current interface of nilfs_find_entry() and its callers is outdated\nand cannot propagate error codes such as -EIO and -ENOMEM returned via\nnilfs_find_entry(), so fix it together.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nilfs2: propagar errores de lectura de directorio desde nilfs_find_entry() Syzbot informó que se produce un bloqueo de tarea en vcs_open() durante una prueba de fuzzing para nilfs2. La causa raíz de este problema es que en nilfs_find_entry(), que busca entradas de directorio, ignora los errores cuando falla la carga de una página/folio de directorio a través de nilfs_get_folio(). Si las imágenes del sistema de archivos están dañadas, y el i_size del inodo del directorio es grande, y la página/folio del directorio se lee correctamente pero falla la comprobación de cordura, por ejemplo, cuando está llena de ceros, nilfs_check_folio() puede seguir arrojando mensajes de error en ráfagas. Solucione este problema propagando el error a los llamadores cuando falla la carga de una página/folio en nilfs_find_entry(). La interfaz actual de nilfs_find_entry() y sus llamadores está desactualizada y no puede propagar códigos de error como -EIO y -ENOMEM devueltos a través de nilfs_find_entry(), así que arréglenlo juntos.","source":"nvd"}],"published":"2024-11-08T05:56:16.544Z","modified":"2026-06-17T08:03:51.717Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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":["CWE-755"],"affected":[{"ranges":[{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"bb857ae1efd3138c653239ed1e7aef14e1242c81","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"b4b3dc9e7e604be98a222e9f941f5e93798ca475","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"c1d0476885d708a932980b0f28cd90d9bd71db39","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"edf8146057264191d5bfe5b91773f13d936dadd3","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"270a6f9df35fa2aea01ec23770dc9b3fc9a12989","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"9698088ac7704e260f492d9c254e29ed7dd8729a","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"efa810b15a25531cbc2f527330947b9fe16916e7","status":"affected"},{"type":"git","introduced":"2ba466d74ed74f073257f86e61519cb8f8f46184","fixed":"08cfa12adf888db98879dbd735bc741360a34168","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.323","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.228","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.169","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.114","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.58","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.5","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","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.323"},{"status":"affected","introduced":"4.20","fixed":"5.4.285"},{"status":"affected","introduced":"5.5","fixed":"5.10.228"},{"status":"affected","introduced":"5.11","fixed":"5.15.169"},{"status":"affected","introduced":"5.16","fixed":"6.1.114"},{"status":"affected","introduced":"6.2","fixed":"6.6.58"},{"status":"affected","introduced":"6.7","fixed":"6.11.5"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bb857ae1efd3138c653239ed1e7aef14e1242c81","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4b3dc9e7e604be98a222e9f941f5e93798ca475","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1d0476885d708a932980b0f28cd90d9bd71db39","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/edf8146057264191d5bfe5b91773f13d936dadd3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/270a6f9df35fa2aea01ec23770dc9b3fc9a12989","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9698088ac7704e260f492d9c254e29ed7dd8729a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efa810b15a25531cbc2f527330947b9fe16916e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08cfa12adf888db98879dbd735bc741360a34168","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:17:46.332Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50202","url":"https://www.cve.org/CVERecord?id=CVE-2024-50202","licence":"CVE Terms of Use","modified":"2026-05-11T20:47:24.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50202","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50202","licence":"Public domain","modified":"2026-06-17T08:03:51.717Z"}],"updatedAt":"2026-11-25T22:58:47.914Z","epss":{"score":0.00231,"percentile":0.14997,"date":"2026-12-01T12:00:22.000Z"}}