nilfs2: protect references to superblock parameters exposed in sysfs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.17
References 8
git.kernel.org
- stable/c/b90beafac05931cbfcb6b1bd4f67c1923f47040e
- stable/c/ba97ba173f9625d5f34a986088979eae8b80d38e
- stable/c/157c0d94b4c40887329418c70ef4edd1a8d6b4ed
- stable/c/b14e7260bb691d7f563f61da07d61e3c8b59a614
- stable/c/19cfeba0e4b8eda51484fcf8cf7d150418e1d880
- stable/c/8c6e43b3d5f109cf9c61bc188fcc8175404e924f
- stable/c/962562d4c70c5cdeb4e955d63ff2017c4eca1aad
- stable/c/683408258917541bdb294cd717c210a04381931e