CVE-2026-99941: timekeeping: Require permission to set auxiliary clocks
In the Linux kernel, the following vulnerability has been resolved:
timekeeping: Require permission to set auxiliary clocks
The generic clocksettime() entry point delegates permission checks to each clock-specific callback. auxclockset() does not perform one. Once an administrator enables an auxiliary clock, any local process can therefore change the global clock offset.
A test process running as UID and GID 65534 with no effective, permitted, inheritable, or ambient capabilities set CLOCKAUX0 successfully, and a separate process observed the new value. The same process was denied by clockadjtime(). An AppArmor profile denying systime also blocked CLOCKREALTIME changes but did not see the auxiliary clock operation.
Call securitysettime64() before mutating the auxiliary timekeeper. This matches CLOCKREALTIME's permission model, enforces initial-user-namespace CAPSYSTIME, and gives LSMs the settime hook while preserving authorized clock changes.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Call security_settime64() before mutating the auxiliary timekeeper so auxiliary clock changes undergo the permission checks used by CLOCK_REALTIME.