spi: fix statistics allocation
- 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.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10
- 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: spi: fix statistics allocation The controller per-cpu statistics is not allocated until after the controller has been registered with driver core, which leaves a window where accessing the sysfs attributes can trigger a NULL-pointer dereference. Fix this by moving the statistics allocation to controller allocation while tying its lifetime to that of the controller (rather than using implicit devres).
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in 80c5bd0dca1cc5526ae0f4b273ccd163ed4caa4e; From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in f13100b1f5f111989f0750540a795fdef47492af; From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in df30056c78e8bead02d4be020199cabdbec0fef1; From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in 378b295f67102eef78cf2c28105f60ae1dab5cc1; From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in 118ce777d39f03cac99231196f820e4f998613a8; From 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 · fixed in dee0774bbb2abb172e9069ce5ffef579b12b3ae9
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.1.167; From 6.2.0 · fixed in 6.6.130; From 6.7.0 · fixed in 6.12.78; From 6.13.0 · fixed in 6.18.20; From 6.19.0 · fixed in 6.19.10