Skip to contentSkip to conversation

CVE-2026-93152: nvme-apple: Use acquire/release for queue enabled state

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-93152 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 6.1.188 with commit cbe53ecd696e354bfda8173364f7595759bc562d
	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 6.6.157 with commit 86782a72c6d8c7541813b9ddb009668468601f18
	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 6.12.110 with commit 0e9d9fe12da779516dc3899dc9141304675f5416
	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 6.18.52 with commit e5a79244a3c526a76d930f2ef30aff64528b0c6a
	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 7.2.6 with commit 840ab22ffa4d859ca40a31e96fc3554688e7a035
	Issue introduced in 5.19 with commit 5bd2927aceba181b84286e00aa2f56e117e699c3 and fixed in 7.3-rc1 with commit f61c934aa084b7440fec681be3f4b481eb5a8609

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93152

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/nvme/host/apple.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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