nvme-apple: Use acquire/release for queue enabled state
- 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: nvme-apple: Use acquire/release for queue enabled state apple_nvme_init_queue() initializes queue state and then marks the queue enabled. The interrupt and request paths check enabled before using that queue state. The old wmb() after WRITE_ONCE(enabled, true) does not publish the earlier initialization before enabled becomes visible. Use a release store when enabling the queue and acquire loads when testing it. Although the shutdown-side enabled accesses are not used for publishing queue initialization, use helpers for them as well for consistency.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in cbe53ecd696e354bfda8173364f7595759bc562d; From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in 86782a72c6d8c7541813b9ddb009668468601f18; From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in 0e9d9fe12da779516dc3899dc9141304675f5416; From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in e5a79244a3c526a76d930f2ef30aff64528b0c6a; From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in 840ab22ffa4d859ca40a31e96fc3554688e7a035; From 5bd2927aceba181b84286e00aa2f56e117e699c3 · fixed in f61c934aa084b7440fec681be3f4b481eb5a8609
- Linux Linux
5.19
- KernelLinux
From 5.19.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