platform/x86: ISST: Validate level in perf mask ioctls
- 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 level in perf mask ioctls isst_if_get_perf_level_mask() and isst_if_get_base_freq_mask() use the user-provided level as an index into perf_levels[] via _read_pp_level_info() and _read_bf_level_info(), but neither helper validates it first. The adjacent level-info helpers reject levels above max_level before reading the same per-level register block. Add the same bounds checks to the mask helpers, and reject disabled SST-PP levels in isst_if_get_perf_level_mask() to match isst_if_get_perf_level_info(). This prevents out-of-bounds reads from the per-level offset table on invalid ioctl input.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ea009e4769fa3bd05d4c111c3b6865eb3a9be829 · fixed in beb22ebf76c0415f22d2d0c3f1ff0627e7ae4a68; From ea009e4769fa3bd05d4c111c3b6865eb3a9be829 · fixed in 1a8bab5ceee1a42a78de12d3d69f67516a20588e; From ea009e4769fa3bd05d4c111c3b6865eb3a9be829 · fixed in 1889a9156553f0692acd57caf15e877baace1a01; From ea009e4769fa3bd05d4c111c3b6865eb3a9be829 · fixed in d19385624bdfb577db9c94bb8879992fd5e17bcd; From ea009e4769fa3bd05d4c111c3b6865eb3a9be829 · fixed in 80e0d353c86a9a168ad6d213f494796294381538
- 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