In the Linux kernel, the following vulnerability has been resolved:
ACPI: SBS: Fix NULL pointer dereference on allocation failure
acpi_sbs_probe() jumps to the common error path when kzalloc_obj() fails, but platform_set_drvdata() is only called after the allocation succeeds.
The error path calls acpi_sbs_remove(), which retrieves the unset driver data and dereferences the resulting NULL pointer when locking sbs->lock, causing a NULL pointer dereference.
Return -ENOMEM directly when the allocation fails, since no resources have been initialized at that point and there is nothing to clean up.
This issue was found by manual code inspection.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub