platform/x86: ISST: Validate socket ID in clos_assoc ioctl
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8, Kernel 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075, Kernel 207b4dc6eb100141b122b2602504a1429a4b6558 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=12a7d2cb811dd8a884dea088a2701fcb8d00136e <c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8, >=12a7d2cb811dd8a884dea088a2701fcb8d00136e <0d90ab5f80e19cddfeb0c9fab47a1f34aa932075, >=12a7d2cb811dd8a884dea088a2701fcb8d00136e <207b4dc6eb100141b122b2602504a1429a4b6558, >=12a7d2cb811dd8a884dea088a2701fcb8d00136e <82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca, >=12a7d2cb811dd8a884dea088a2701fcb8d00136e <a89f07db0cb95c54dac4a8406c79a04e44a73c3c, =6.4 | c847ea4851ecfa3462cc711ded2c3c3dd8d08ab8, 0d90ab5f80e19cddfeb0c9fab47a1f34aa932075, 207b4dc6eb100141b122b2602504a1429a4b6558, 82e707eff9e3b7ef6d96ecc23ea8876d20c7d6ca, a89f07db0cb95c54dac4a8406c79a04e44a73c3c |
| linux-kernel: Kernel | >=6.19.0 <7.2.4, >=6.4.0 <6.6.157, >=6.7.0 <6.12.109, >=6.13.0 <6.18.50 | 7.2.4, 6.6.157, 6.12.109, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket