scsi: ufs: debugfs: Reserve space for a string terminator
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2b3fb5693c25c21741f357a8c9d0e1f19b7e368f, Kernel 587be18e0935632ebd367b0f89e37aa5762e400f, Kernel abd26e6b53c4169122d61fdd4cabe09bdd916aac and 3 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=7340faae947400907e5e7581444712110d2811d5 <2b3fb5693c25c21741f357a8c9d0e1f19b7e368f, >=7340faae947400907e5e7581444712110d2811d5 <587be18e0935632ebd367b0f89e37aa5762e400f, >=7340faae947400907e5e7581444712110d2811d5 <abd26e6b53c4169122d61fdd4cabe09bdd916aac, >=7340faae947400907e5e7581444712110d2811d5 <b43890843e834300f967c69e74c7c2eb22cb1664, >=7340faae947400907e5e7581444712110d2811d5 <cc92af8cc0e4dacd4375d34475141b0f1a70c09e, >=7340faae947400907e5e7581444712110d2811d5 <d223989e1a1edad217b673486b093bd157fb6c9a | 2b3fb5693c25c21741f357a8c9d0e1f19b7e368f, 587be18e0935632ebd367b0f89e37aa5762e400f, abd26e6b53c4169122d61fdd4cabe09bdd916aac, b43890843e834300f967c69e74c7c2eb22cb1664, cc92af8cc0e4dacd4375d34475141b0f1a70c09e, d223989e1a1edad217b673486b093bd157fb6c9a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket