Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < 905493a6338c82a70da16f86e0a6215db5a3d73daffected7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < db938eb9a3c1317596c28e94413b33426508d51baffected7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < 72a07abc6b9046f07a08bba353cad7667bcc9dceaffected7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278affected7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < e8adac69d1bdf035ef97cc914e845acd4ef08e28affected7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 to < 607af438e6430893a822964c841a1994b33accccaffected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/905493a6338c82a70da16f86e0a6215db5a3d73d ↗
- https://git.kernel.org/stable/c/db938eb9a3c1317596c28e94413b33426508d51b ↗
- https://git.kernel.org/stable/c/72a07abc6b9046f07a08bba353cad7667bcc9dce ↗
- https://git.kernel.org/stable/c/19ffeb30fdfce63f8d6aca71bcdddb3f69d46278 ↗
- https://git.kernel.org/stable/c/e8adac69d1bdf035ef97cc914e845acd4ef08e28 ↗
- https://git.kernel.org/stable/c/607af438e6430893a822964c841a1994b33acccc ↗