Skip to contentSkip to conversation

CVE-2026-43160: mfd: macsmc: Initialize mutex

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

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

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

In the Linux kernel, the following vulnerability has been resolved:

mfd: macsmc: Initialize mutex

Initialize struct apple_smc's mutex in apple_smc_probe(). Using the mutex uninitialized surprisingly resulted only in occasional NULL pointer dereferences in apple_smc_read() calls from the probe() functions of sub devices.

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

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

	Issue introduced in 6.17 with commit e038d985c9823a12cd64fa077d0c5aca2c644b67 and fixed in 6.18.16 with commit a1e9e299c0d9ea42ab1067b39fb72e976d3f1bdb
	Issue introduced in 6.17 with commit e038d985c9823a12cd64fa077d0c5aca2c644b67 and fixed in 6.19.6 with commit 2d5932588f029f7787f52c29174fead9bbc6b2cf
	Issue introduced in 6.17 with commit e038d985c9823a12cd64fa077d0c5aca2c644b67 and fixed in 7.0 with commit 414f65d6736342c77d4ec5e7373039f4a09250dd

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-43160

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/mfd/macsmc.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/a1e9e299c0d9ea42ab1067b39fb72e976d3f1bdb
	https://git.kernel.org/stable/c/2d5932588f029f7787f52c29174fead9bbc6b2cf
	https://git.kernel.org/stable/c/414f65d6736342c77d4ec5e7373039f4a09250dd