A flaw was found in tuned. This vulnerability allows local privilege escalation because the spindown-disk profile script does not properly validate filesystem mount sources before executing remount operations with root privileges. A local user capable of creating user-space filesystems can craft a malicious mount entry to execute arbitrary commands as root.
To mitigate this vulnerability, remove the optional tuned-profiles-compat package if legacy profiles are not required:
<h1>dnf remove tuned-profiles-compat</h1>
If the package cannot be removed, ensure that an alternative profile is selected instead of spindown-disk:
<h1>tuned-adm profile balanced</h1>
Caveats:
Removing the compatibility package or changing profiles disables spindown-disk power-saving functionality on mechanical storage devices. Switching the active profile immediately applies new tuning parameters and reloads the TuneD service daemon, which may temporarily impact hardware behavior and system performance.