CVE-2026-142867

Source
https://cve.org/CVERecord?id=CVE-2026-142867
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142867.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142867
Published
2026-12-03T03:21:06Z
Modified
2026-12-03T05:01:03Z
Summary
ACPI: SBS: Fix NULL pointer dereference on allocation failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142867.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9460eaae2ee42e7f2267ea12b26aa59c391996a7
Fixed
95eb501ca34540176b8cc9d1ddf7cea1d62b172e
Fixed
2b30842e52d9a364428b598f5edd4b12fa772f5a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142867.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142867.json"