cpuidle: dt_idle_genpd: kfree() the original name allocation
- 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.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5
- 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: cpuidle: dt_idle_genpd: kfree() the original name allocation dt_idle_pd_alloc() kasprintf()s the full node path, then points pd->name at kbasename() of that string. dt_idle_pd_free() kfree()s pd->name, which is no longer the start of the allocation. Copy the basename instead.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in 1312ae33b91430ec99e69cd3d47f0e50a4ebf54b; From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in a38caa9ed0d5c61c17d88393b14b292199289c1f; From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in 09d002c8fb0261d35ce9d8a705de5db034ee90b8; From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in b519dfce1998c323e54a56f911cf708d9ba0e076; From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in 3394c7ba23336bdb7ece29127130fd01731d42d8; From 9d976d6721dfb525b81ce981e1363c70c0975aab · fixed in 2b0ac85512b7f67479127b2713254490662eb13d
- Linux Linux
5.18
- KernelLinux
From 5.18.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5