tools/power/x86/intel-speed-select: Harden daemon pidfile open
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e8adac69d1bdf035ef97cc914e845acd4ef08e28, Kernel 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278, Kernel 607af438e6430893a822964c841a1994b33acccc and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <e8adac69d1bdf035ef97cc914e845acd4ef08e28, >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <19ffeb30fdfce63f8d6aca71bcdddb3f69d46278, >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <607af438e6430893a822964c841a1994b33acccc, >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <72a07abc6b9046f07a08bba353cad7667bcc9dce, >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <905493a6338c82a70da16f86e0a6215db5a3d73d, >=7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 <db938eb9a3c1317596c28e94413b33426508d51b, =5.18 | e8adac69d1bdf035ef97cc914e845acd4ef08e28, 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278, 607af438e6430893a822964c841a1994b33acccc, 72a07abc6b9046f07a08bba353cad7667bcc9dce, 905493a6338c82a70da16f86e0a6215db5a3d73d, db938eb9a3c1317596c28e94413b33426508d51b |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.18.0 <6.1.178 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.178 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket