mfd: macsmc: Initialize mutex
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.166.19.67.0In 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.
From the CVE record · Linux
The Linux kernel's macsmc driver uses an uninitialized mutex in apple_smc_probe(). This can cause occasional NULL pointer dereferences during apple_smc_read() calls from subdevice probe functions. The input does not describe an attacker path or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the macsmc driver should check their kernel versions; affected versions were not specified.