{"id":"CVE-2024-46780","aliases":["CVE-2024-46780"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: protect references to superblock parameters exposed in sysfs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: protect references to superblock parameters exposed in sysfs\n\nThe superblock buffers of nilfs2 can not only be overwritten at runtime\nfor modifications/repairs, but they are also regularly swapped, replaced\nduring resizing, and even abandoned when degrading to one side due to\nbacking device issues.  So, accessing them requires mutual exclusion using\nthe reader/writer semaphore \"nilfs->ns_sem\".\n\nSome sysfs attribute show methods read this superblock buffer without the\nnecessary mutual exclusion, which can cause problems with pointer\ndereferencing and memory access, so fix it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: protect references to superblock parameters exposed in sysfs\n\nThe superblock buffers of nilfs2 can not only be overwritten at runtime\nfor modifications/repairs, but they are also regularly swapped, replaced\nduring resizing, and even abandoned when degrading to one side due to\nbacking device issues.  So, accessing them requires mutual exclusion using\nthe reader/writer semaphore \"nilfs->ns_sem\".\n\nSome sysfs attribute show methods read this superblock buffer without the\nnecessary mutual exclusion, which can cause problems with pointer\ndereferencing and memory access, so fix it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nilfs2: protege las referencias a los parámetros de superbloque expuestos en sysfs Los búferes de superbloque de nilfs2 no solo se pueden sobrescribir en tiempo de ejecución para modificaciones/reparaciones, sino que también se intercambian regularmente, se reemplazan durante el cambio de tamaño e incluso se abandonan cuando se degradan a un lado debido a problemas con el dispositivo de respaldo. Por lo tanto, acceder a ellos requiere exclusión mutua utilizando el semáforo de lectura/escritura \"nilfs-&gt;ns_sem\". Algunos métodos de demostración del atributo sysfs leen este búfer de superbloque sin la exclusión mutua necesaria, lo que puede causar problemas con la desreferenciación de punteros y el acceso a la memoria, así que arréglelo.","source":"nvd"}],"published":"2024-09-18T07:12:36.736Z","modified":"2026-08-05T11:38:31.009Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"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":"da7141fb78db915680616e15677539fc8140cf53","fixed":"b90beafac05931cbfcb6b1bd4f67c1923f47040e","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"ba97ba173f9625d5f34a986088979eae8b80d38e","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"157c0d94b4c40887329418c70ef4edd1a8d6b4ed","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"b14e7260bb691d7f563f61da07d61e3c8b59a614","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"19cfeba0e4b8eda51484fcf8cf7d150418e1d880","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"8c6e43b3d5f109cf9c61bc188fcc8175404e924f","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"962562d4c70c5cdeb4e955d63ff2017c4eca1aad","status":"affected"},{"type":"git","introduced":"da7141fb78db915680616e15677539fc8140cf53","fixed":"683408258917541bdb294cd717c210a04381931e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"4.19.322","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.284","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.226","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.167","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.110","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.51","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.10","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":"3.17","fixed":"4.19.322"},{"status":"affected","introduced":"4.20","fixed":"5.4.284"},{"status":"affected","introduced":"5.5","fixed":"5.10.226"},{"status":"affected","introduced":"5.11","fixed":"5.15.167"},{"status":"affected","introduced":"5.16","fixed":"6.1.110"},{"status":"affected","introduced":"6.2","fixed":"6.6.51"},{"status":"affected","introduced":"6.7","fixed":"6.10.10"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b90beafac05931cbfcb6b1bd4f67c1923f47040e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba97ba173f9625d5f34a986088979eae8b80d38e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/157c0d94b4c40887329418c70ef4edd1a8d6b4ed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b14e7260bb691d7f563f61da07d61e3c8b59a614","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19cfeba0e4b8eda51484fcf8cf7d150418e1d880","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c6e43b3d5f109cf9c61bc188fcc8175404e924f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/962562d4c70c5cdeb4e955d63ff2017c4eca1aad","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/683408258917541bdb294cd717c210a04381931e","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-29T14:38:16.059Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46780","url":"https://www.cve.org/CVERecord?id=CVE-2024-46780","licence":"CVE Terms of Use","modified":"2026-08-05T11:38:31.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46780","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46780","licence":"Public domain","modified":"2026-08-04T11:20:24.790Z"}],"updatedAt":"2026-11-25T22:58:45.570Z","epss":{"score":0.0024,"percentile":0.16128,"date":"2026-12-01T12:00:22.000Z"}}