block: mtip32xx: synchronize ioctls with device removal
- 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: block: mtip32xx: synchronize ioctls with device removal The ioctl handlers only test REMOVE_PENDING before entering mtip_hw_ioctl(). Removal can set that bit immediately afterwards and free dd->port in mtip_hw_exit() while an ioctl still dereferences it. An already open block device can reach the handlers while del_gendisk() is in progress. Serialize both native and compat ioctls with removal. Set REMOVE_PENDING before taking the mutex so new callers fail after an in-flight ioctl has drained, and hold the mutex until the port has been torn down.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in 521afbd936ac256b7531470b0b9aa96abf9cd853; From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in 8283049aa5fcb4e84b2b2928b2888903bb8ee12e; From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in 8a7799597bd683b6bc251fe2edfa9fd1db568a3a; From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in 4609e0e0be709e974bec9b52c5022136d25e97d3; From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in b389dc35a55713ac24a145741e76196fea1663bc; From 88523a61558a040546bf7d8b079ae0755d8e7005 · fixed in 68940f841d013192086a0f6d7cfbac2cd079e228
- Linux Linux
3.3
- KernelLinux
From 3.3.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