{"id":"CVE-2026-142867","summary":"ACPI: SBS: Fix NULL pointer dereference on allocation failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: SBS: Fix NULL pointer dereference on allocation failure\n\nacpi_sbs_probe() jumps to the common error path when kzalloc_obj()\nfails, but platform_set_drvdata() is only called after the allocation\nsucceeds.\n\nThe error path calls acpi_sbs_remove(), which retrieves the unset\ndriver data and dereferences the resulting NULL pointer when locking\nsbs-\u003elock, causing a NULL pointer dereference.\n\nReturn -ENOMEM directly when the allocation fails, since no resources\nhave been initialized at that point and there is nothing to clean up.\n\nThis issue was found by manual code inspection.","modified":"2026-12-03T05:01:03.311134733Z","published":"2026-12-03T03:21:06.695Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142867.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2b30842e52d9a364428b598f5edd4b12fa772f5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95eb501ca34540176b8cc9d1ddf7cea1d62b172e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142867.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142867"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}