# CVE-2024-46780: nilfs2: protect references to superblock parameters exposed in sysfs

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-09-18T07:12:36.736Z
- Modified: 2026-08-05T11:38:31.009Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: protect references to superblock parameters exposed in sysfs

The superblock buffers of nilfs2 can not only be overwritten at runtime
for modifications/repairs, but they are also regularly swapped, replaced
during resizing, and even abandoned when degrading to one side due to
backing device issues.  So, accessing them requires mutual exclusion using
the reader/writer semaphore "nilfs->ns_sem".

Some sysfs attribute show methods read this superblock buffer without the
necessary mutual exclusion, which can cause problems with pointer
dereferencing and memory access, so fix it.

(As written by CVE List.)

## Affected

- Linux Linux: from da7141fb78db915680616e15677539fc8140cf53 before b90beafac05931cbfcb6b1bd4f67c1923f47040e; from da7141fb78db915680616e15677539fc8140cf53 before ba97ba173f9625d5f34a986088979eae8b80d38e; from da7141fb78db915680616e15677539fc8140cf53 before 157c0d94b4c40887329418c70ef4edd1a8d6b4ed; from da7141fb78db915680616e15677539fc8140cf53 before b14e7260bb691d7f563f61da07d61e3c8b59a614; from da7141fb78db915680616e15677539fc8140cf53 before 19cfeba0e4b8eda51484fcf8cf7d150418e1d880; from da7141fb78db915680616e15677539fc8140cf53 before 8c6e43b3d5f109cf9c61bc188fcc8175404e924f; from da7141fb78db915680616e15677539fc8140cf53 before 962562d4c70c5cdeb4e955d63ff2017c4eca1aad; from da7141fb78db915680616e15677539fc8140cf53 before 683408258917541bdb294cd717c210a04381931e; 3.17 (not affected: before 3.17; from 4.19.322 up to 4.19.*; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.110 up to 6.1.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 3.17 before 4.19.322; from 4.20 before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b90beafac05931cbfcb6b1bd4f67c1923f47040e> (patch)
- <https://git.kernel.org/stable/c/ba97ba173f9625d5f34a986088979eae8b80d38e> (patch)
- <https://git.kernel.org/stable/c/157c0d94b4c40887329418c70ef4edd1a8d6b4ed> (patch)
- <https://git.kernel.org/stable/c/b14e7260bb691d7f563f61da07d61e3c8b59a614> (patch)
- <https://git.kernel.org/stable/c/19cfeba0e4b8eda51484fcf8cf7d150418e1d880> (patch)
- <https://git.kernel.org/stable/c/8c6e43b3d5f109cf9c61bc188fcc8175404e924f> (patch)
- <https://git.kernel.org/stable/c/962562d4c70c5cdeb4e955d63ff2017c4eca1aad> (patch)
- <https://git.kernel.org/stable/c/683408258917541bdb294cd717c210a04381931e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-46780](https://www.cve.org/CVERecord?id=CVE-2024-46780), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46780](https://nvd.nist.gov/vuln/detail/CVE-2024-46780), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46780 · Whole record: https://cve.day/CVE-2024-46780.json · Rebuilt by cve.day 2026-11-25T22:58:45.570Z
