CVE-2026-80593
Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (asus_atk0110) Check package count before accessing element atk_ec_present() walks the management group package returned by the GGRP ACPI method and, for each sub-package, reads its first element: id = &obj->package.elements[0]; if (id->type != ACPI_TYPE_INTEGER) without checking that the sub-package is non-empty. ACPICA allocates the element array with exactly package.count entries, so for a sub-package with a zero count this reads past the allocation. The sibling function atk_debugfs_ggrp_open() performs the same access but skips empty packages with a package.count check first. Add the same check to atk_ec_present() so a malformed firmware package cannot trigger an out-of-bounds read.
References
- https://git.kernel.org/stable/c/2a137124664aad1e36d8d74e8e2207365a04737f
- https://git.kernel.org/stable/c/459b0a0439ea65b2b612aa572eb62a2e26d05618
- https://git.kernel.org/stable/c/76392d35c8df471b288cfc6536bd092b3c8ee2cf
- https://git.kernel.org/stable/c/768f20e7bb48d723b82cb142120263d0806fbeb8
- https://git.kernel.org/stable/c/981a8a2e3773dc7e704943388a1fb97970b23275