Linux
hwmon: (asus_atk0110) Check package count before accessing element
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < 2a137124664aad1e36d8d74e8e2207365a04737f
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < 459b0a0439ea65b2b612aa572eb62a2e26d05618
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < 768f20e7bb48d723b82cb142120263d0806fbeb8
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < 76392d35c8df471b288cfc6536bd092b3c8ee2cf
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < 981a8a2e3773dc7e704943388a1fb97970b23275
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < d8d4fa0c4f818e30b6f6737bdd989b7e2b511cae
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < b770fcfcdced569bcf7c6982aeea8c3d11a21c2b
- >= 9e6eba610c2eb68b05841a15ece1cf929c44aea3, < e2735b39f044bad7bf2017aef248935525bc0b97
Fixed in 2a137124664aad1e36d8d74e8e2207365a04737f, 459b0a0439ea65b2b612aa572eb62a2e26d05618, 768f20e7bb48d723b82cb142120263d0806fbeb8, 76392d35c8df471b288cfc6536bd092b3c8ee2cf, 981a8a2e3773dc7e704943388a1fb97970b23275, d8d4fa0c4f818e30b6f6737bdd989b7e2b511cae, b770fcfcdced569bcf7c6982aeea8c3d11a21c2b, e2735b39f044bad7bf2017aef248935525bc0b97
- 2.6.32
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 2a137124664aad1e36d8d74e8e2207365a04737f or 459b0a0439ea65b2b612aa572eb62a2e26d05618 or 768f20e7bb48d723b82cb142120263d0806fbeb8 or 76392d35c8df471b288cfc6536bd092b3c8ee2cf or 981a8a2e3773dc7e704943388a1fb97970b23275 or d8d4fa0c4f818e30b6f6737bdd989b7e2b511cae or b770fcfcdced569bcf7c6982aeea8c3d11a21c2b or e2735b39f044bad7bf2017aef248935525bc0b97 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.