Linux
tools/power/x86/intel-speed-select: Harden daemon pidfile open
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < 905493a6338c82a70da16f86e0a6215db5a3d73d
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < db938eb9a3c1317596c28e94413b33426508d51b
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < 72a07abc6b9046f07a08bba353cad7667bcc9dce
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < e8adac69d1bdf035ef97cc914e845acd4ef08e28
- >= 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6, < 607af438e6430893a822964c841a1994b33acccc
Fixed in 905493a6338c82a70da16f86e0a6215db5a3d73d, db938eb9a3c1317596c28e94413b33426508d51b, 72a07abc6b9046f07a08bba353cad7667bcc9dce, 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278, e8adac69d1bdf035ef97cc914e845acd4ef08e28, 607af438e6430893a822964c841a1994b33acccc
- 5.18
Fixed in 0, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 905493a6338c82a70da16f86e0a6215db5a3d73d or db938eb9a3c1317596c28e94413b33426508d51b or 72a07abc6b9046f07a08bba353cad7667bcc9dce or 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278 or e8adac69d1bdf035ef97cc914e845acd4ef08e28 or 607af438e6430893a822964c841a1994b33acccc or later.
Upgrade Linux to 0 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 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.