hwmon: (asus_atk0110) Check package count before accessing element
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in 2a137124664aad1e36d8d74e8e2207365a04737f; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in 459b0a0439ea65b2b612aa572eb62a2e26d05618; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in 768f20e7bb48d723b82cb142120263d0806fbeb8; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in 76392d35c8df471b288cfc6536bd092b3c8ee2cf; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in 981a8a2e3773dc7e704943388a1fb97970b23275; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in d8d4fa0c4f818e30b6f6737bdd989b7e2b511cae; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in b770fcfcdced569bcf7c6982aeea8c3d11a21c2b; From 9e6eba610c2eb68b05841a15ece1cf929c44aea3 · fixed in e2735b39f044bad7bf2017aef248935525bc0b97
- Linux Linux
2.6.32
- KernelLinux
From 2.6.32 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/2a137124664aad1e36d8d74e8e2207365a04737f
- stable/c/459b0a0439ea65b2b612aa572eb62a2e26d05618
- stable/c/768f20e7bb48d723b82cb142120263d0806fbeb8
- stable/c/76392d35c8df471b288cfc6536bd092b3c8ee2cf
- stable/c/981a8a2e3773dc7e704943388a1fb97970b23275
- stable/c/d8d4fa0c4f818e30b6f6737bdd989b7e2b511cae
- stable/c/b770fcfcdced569bcf7c6982aeea8c3d11a21c2b
- stable/c/e2735b39f044bad7bf2017aef248935525bc0b97