Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before cbe53ecd696e354bfda8173364f7595759bc562d; affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before 86782a72c6d8c7541813b9ddb009668468601f18; affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before 0e9d9fe12da779516dc3899dc9141304675f5416; affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before e5a79244a3c526a76d930f2ef30aff64528b0c6a; affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before 840ab22ffa4d859ca40a31e96fc3554688e7a035; affected 5bd2927aceba181b84286e00aa2f56e117e699c3 before f61c934aa084b7440fec681be3f4b481eb5a8609 |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cbe53ecd696e354bfda8173364f7595759bc562d
- https://git.kernel.org/stable/c/86782a72c6d8c7541813b9ddb009668468601f18
- https://git.kernel.org/stable/c/0e9d9fe12da779516dc3899dc9141304675f5416
- https://git.kernel.org/stable/c/e5a79244a3c526a76d930f2ef30aff64528b0c6a
- https://git.kernel.org/stable/c/840ab22ffa4d859ca40a31e96fc3554688e7a035
- https://git.kernel.org/stable/c/f61c934aa084b7440fec681be3f4b481eb5a8609