nvme-apple: Use acquire/release for queue enabled state
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e9d9fe12da779516dc3899dc9141304675f5416, Kernel 840ab22ffa4d859ca40a31e96fc3554688e7a035, Kernel 86782a72c6d8c7541813b9ddb009668468601f18 and 3 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.19, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <0e9d9fe12da779516dc3899dc9141304675f5416, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <840ab22ffa4d859ca40a31e96fc3554688e7a035, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <86782a72c6d8c7541813b9ddb009668468601f18, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <cbe53ecd696e354bfda8173364f7595759bc562d, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <e5a79244a3c526a76d930f2ef30aff64528b0c6a, >=5bd2927aceba181b84286e00aa2f56e117e699c3 <f61c934aa084b7440fec681be3f4b481eb5a8609 | 0e9d9fe12da779516dc3899dc9141304675f5416, 840ab22ffa4d859ca40a31e96fc3554688e7a035, 86782a72c6d8c7541813b9ddb009668468601f18, cbe53ecd696e354bfda8173364f7595759bc562d, e5a79244a3c526a76d930f2ef30aff64528b0c6a, f61c934aa084b7440fec681be3f4b481eb5a8609 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket