timekeeping: Require permission to set auxiliary clocks
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
timekeeping: Require permission to set auxiliary clocks
The generic clock_settime() entry point delegates permission checks to each clock-specific callback. aux_clock_set() 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 CLOCK_AUX0 successfully, and a separate process observed the new value. The same process was denied by clock_adjtime(). An AppArmor profile denying sys_time also blocked CLOCK_REALTIME changes but did not see the auxiliary clock operation.
Call security_settime64() before mutating the auxiliary timekeeper. This matches CLOCK_REALTIME's permission model, enforces initial-user-namespace CAP_SYS_TIME, and gives LSMs the settime hook while preserving authorized clock changes.
| Product | Versions |
|---|---|
| Linux Linux | 60ecc26ec5af567a55f362ad92c0cac8b894541c to before bc54faffd03605e7d008e18d1d899b7f8869abab Affected60ecc26ec5af567a55f362ad92c0cac8b894541c to before 427810d79c66a006c78417cb272072df9a13dd8a Affected60ecc26ec5af567a55f362ad92c0cac8b894541c to before 524d95c8a2000cba6cb80a173d76cb746c561244 Affected |
| Linux Linux | 6.17 Affectedbefore 6.17 Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.