platform/x86: ISST: Validate socket ID in clos_assoc ioctl
- 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 6.6.157, 6.12.109, 6.18.50, 7.2.4
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: platform/x86: ISST: Validate socket ID in clos_assoc ioctl isst_if_clos_assoc() validates the user-supplied socket_id with 'socket_id > topology_max_packages()', but isst_common.sst_inst[] is allocated with topology_max_packages() entries, so the valid index range is [0, topology_max_packages()). The '>' comparison lets socket_id == topology_max_packages() pass and index one entry past the array. In addition, isst_common.sst_inst[socket_id] is NULL for an in-range package that has no bound TPMI SST instance, and the pointer is used without a NULL check. Both the out-of-bounds entry and the NULL pointer are then dereferenced by map_partition_power_domain_id() and the following power_domain_info access. Reject socket_id >= topology_max_packages() and a NULL sst_inst, matching the checks already performed by get_instance().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 12a7d2cb811dd8a884dea088a2701fcb8d00136e · fixed in c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8; From 12a7d2cb811dd8a884dea088a2701fcb8d00136e · fixed in 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075; From 12a7d2cb811dd8a884dea088a2701fcb8d00136e · fixed in 82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca; From 12a7d2cb811dd8a884dea088a2701fcb8d00136e · fixed in 207b4dc6eb100141b122b2602504a1429a4b6558; From 12a7d2cb811dd8a884dea088a2701fcb8d00136e · fixed in a89f07db0cb95c54dac4a8406c79a04e44a73c3c
- Linux Linux
6.4
- KernelLinux
From 6.4.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4