tools/power/x86/intel-speed-select: Harden daemon pidfile open
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.1epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/19ffeb30fdfce63f8d6aca71bcdddb3f69d46278https://git.kernel.org/stable/c/607af438e6430893a822964c841a1994b33acccchttps://git.kernel.org/stable/c/72a07abc6b9046f07a08bba353cad7667bcc9dcehttps://git.kernel.org/stable/c/905493a6338c82a70da16f86e0a6215db5a3d73dhttps://git.kernel.org/stable/c/db938eb9a3c1317596c28e94413b33426508d51bhttps://git.kernel.org/stable/c/e8adac69d1bdf035ef97cc914e845acd4ef08e28