In the Linux kernel, the following vulnerability has been resolved: ACPICA: Fix NULL pointer...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
ACPICA: Fix NULL pointer dereference in acpi_ns_custom_package()
acpi_ns_custom_package() unconditionally dereferences the first element of the package to read the _BIX version number, without checking for NULL:
if ((*Elements)->Common.Type != ACPI_TYPE_INTEGER)
When firmware returns a _BIX package whose first element is an unresolvable reference, ACPICA evaluates that entry to NULL. acpi_ns_remove_null_elements() does not strip NULL entries for ACPI_PTYPE_CUSTOM packages (fixed-position format would break if elements were shifted), so acpi_ns_custom_package() sees the NULL and causes a crash.
Add a NULL check for the first element (version field) before dereferencing it. The caller then receives AE_AML_OPERAND_TYPE instead of crashing.
🔗 References (9)
- https://nvd.nist.gov/vuln/detail/CVE-2026-97446
- https://git.kernel.org/stable/c/3762c6c8ae5073892d7cec736cc54270c7c9ce90
- https://git.kernel.org/stable/c/3cbf096a478f4fa03953f0685ad28c9c82ce67cb
- https://git.kernel.org/stable/c/f8d14b7bb0063bbbd86c0e4d73edb8cea7b362bc
- https://git.kernel.org/stable/c/08c5dee5da1d8d99b5a4e94db5a3d873c491771e
- https://git.kernel.org/stable/c/644888605f55395e6012ed43e3ed643ef7ab5013
- https://git.kernel.org/stable/c/9936507ac0f2379787a2a805b11ab1cf0f241372
- https://git.kernel.org/stable/c/fad537538cdfcdc51e41db61bbf9ebe5ed9427eb
- https://github.com/advisories/GHSA-hqv9-j885-c7xr