scsi: ufs: debugfs: Reserve space for a string terminator
- 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
- Fix
- Fixed in 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: debugfs: Reserve space for a string terminator ufs_saved_err_write() copies user input into a zero-initialized stack buffer and passes it to kstrtoint(). A write that fills the entire buffer overwrites its only terminator. Reject an input whose length leaves no room for the trailing NUL.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7340faae947400907e5e7581444712110d2811d5 · fixed in b43890843e834300f967c69e74c7c2eb22cb1664; From 7340faae947400907e5e7581444712110d2811d5 · fixed in 587be18e0935632ebd367b0f89e37aa5762e400f; From 7340faae947400907e5e7581444712110d2811d5 · fixed in d223989e1a1edad217b673486b093bd157fb6c9a; From 7340faae947400907e5e7581444712110d2811d5 · fixed in cc92af8cc0e4dacd4375d34475141b0f1a70c09e; From 7340faae947400907e5e7581444712110d2811d5 · fixed in 2b3fb5693c25c21741f357a8c9d0e1f19b7e368f; From 7340faae947400907e5e7581444712110d2811d5 · fixed in abd26e6b53c4169122d61fdd4cabe09bdd916aac
- Linux Linux
5.16
- KernelLinux
From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6