ACPICA: Fix NULL pointer dereference in acpi_ns_custom_package()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fad537538cdfcdc51e41db61bbf9ebe5ed9427eb, Kernel 08c5dee5da1d8d99b5a4e94db5a3d873c491771e, Kernel 3762c6c8ae5073892d7cec736cc54270c7c9ce90 and 10 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7952d40240855932de01bbe81c02bf1416ec91d8 <fad537538cdfcdc51e41db61bbf9ebe5ed9427eb, >=7952d40240855932de01bbe81c02bf1416ec91d8 <08c5dee5da1d8d99b5a4e94db5a3d873c491771e, >=7952d40240855932de01bbe81c02bf1416ec91d8 <3762c6c8ae5073892d7cec736cc54270c7c9ce90, >=7952d40240855932de01bbe81c02bf1416ec91d8 <3cbf096a478f4fa03953f0685ad28c9c82ce67cb, >=7952d40240855932de01bbe81c02bf1416ec91d8 <644888605f55395e6012ed43e3ed643ef7ab5013, >=7952d40240855932de01bbe81c02bf1416ec91d8 <9936507ac0f2379787a2a805b11ab1cf0f241372, >=7952d40240855932de01bbe81c02bf1416ec91d8 <f8d14b7bb0063bbbd86c0e4d73edb8cea7b362bc, =4.7 | fad537538cdfcdc51e41db61bbf9ebe5ed9427eb, 08c5dee5da1d8d99b5a4e94db5a3d873c491771e, 3762c6c8ae5073892d7cec736cc54270c7c9ce90, 3cbf096a478f4fa03953f0685ad28c9c82ce67cb, 644888605f55395e6012ed43e3ed643ef7ab5013, 9936507ac0f2379787a2a805b11ab1cf0f241372, f8d14b7bb0063bbbd86c0e4d73edb8cea7b362bc |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=4.7.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket