Linux
platform/x86: ISST: Validate socket ID in clos_assoc ioctl
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 12a7d2cb811dd8a884dea088a2701fcb8d00136e, < c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8
- >= 12a7d2cb811dd8a884dea088a2701fcb8d00136e, < 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075
- >= 12a7d2cb811dd8a884dea088a2701fcb8d00136e, < 82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca
- >= 12a7d2cb811dd8a884dea088a2701fcb8d00136e, < 207b4dc6eb100141b122b2602504a1429a4b6558
- >= 12a7d2cb811dd8a884dea088a2701fcb8d00136e, < a89f07db0cb95c54dac4a8406c79a04e44a73c3c
Fixed in c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8, 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075, 82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca, 207b4dc6eb100141b122b2602504a1429a4b6558, a89f07db0cb95c54dac4a8406c79a04e44a73c3c
- 6.4
Fixed in 0, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8 or 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075 or 82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca or 207b4dc6eb100141b122b2602504a1429a4b6558 or a89f07db0cb95c54dac4a8406c79a04e44a73c3c or later.
Upgrade Linux to 0 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 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.