CVE-2026-142867: ACPI: SBS: Fix NULL pointer dereference on allocation failure
In the Linux kernel, the following vulnerability has been resolved:
ACPI: SBS: Fix NULL pointer dereference on allocation failure
acpisbsprobe() jumps to the common error path when kzallocobj() fails, but platformsetdrvdata() is only called after the allocation succeeds.
The error path calls acpisbsremove(), 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
In acpi_sbs_probe(), return -ENOMEM directly when kzalloc_obj() fails instead of entering the common error path that calls acpi_sbs_remove().