Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before 905493a6338c82a70da16f86e0a6215db5a3d73d; affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before db938eb9a3c1317596c28e94413b33426508d51b; affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before 72a07abc6b9046f07a08bba353cad7667bcc9dce; affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before 19ffeb30fdfce63f8d6aca71bcdddb3f69d46278; affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before e8adac69d1bdf035ef97cc914e845acd4ef08e28; affected 7fd786dfbd2c55ddee3b87f33c82f1c58bdb1dd6 before 607af438e6430893a822964c841a1994b33acccc |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.