ACPI: NFIT: core: Fix possible NULL pointer dereference
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 95% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
ACPI: NFIT: core: Fix possible NULL pointer dereference
After commit 9b311b7313d6 ("ACPI: NFIT: Install Notify() handler before
getting NFIT table"), acpi_nfit_probe() installs an ACPI notify handler
for the NFIT device before checking the presence of the NFIT table. If
that table is not there, 0 is returned without allocating the acpi_desc
object and setting the driver data pointer of the NFIT device. If the
platform firmware triggers an NFIT_NOTIFY_UC_MEMORY_ERROR notification
on the NFIT device at that point, acpi_nfit_uc_error_notify() will
dereference a NULL pointer.
Prevent that from occurring by adding an acpi_desc check against NULL
to acpi_nfit_uc_error_notify().
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/027e128abb82788189d6d45b68e3e8e7329b67behttps://git.kernel.org/stable/c/3c8f73b0fbdf956c98e2329d5aaea3ad09a9cfb6https://git.kernel.org/stable/c/452945662fd8e9862a2d2043239c7ee1815d1ac4https://git.kernel.org/stable/c/873576e585da5d0fc5debbab74eed565c0acea99https://git.kernel.org/stable/c/a44343fe230aa48c74ef09830f3c5c90848b257e