tools/power/x86/intel-speed-select: Harden daemon pidfile open
- 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.178, 6.6.145, 6.12.97, 6.18.40, 7.1.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
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: tools/power/x86/intel-speed-select: Harden daemon pidfile open Avoid symlink-based pidfile clobbering by opening the pidfile with O_NOFOLLOW and validating it with fstat() before locking/writing. The daemon currently uses a fixed pidfile path under /tmp. A local unprivileged user can pre-create a symlink at that path and cause a root-run daemon instance to write into an attacker-chosen file.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in 905493a6338c82a70da16f86e0a6215db5a3d73d; From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in db938eb9a3c1317596c28e94413b33426508d51b; From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in 72a07abc6b9046f07a08bba353cad7667bcc9dce; From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278; From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in e8adac69d1bdf035ef97cc914e845acd4ef08e28; From 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 · fixed in 607af438e6430893a822964c841a1994b33acccc
- Linux Linux
5.18
- KernelLinux
From 5.18.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5