⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-99941: Linux Kernel Auxiliary Clock Permission Check Bypass | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-99941: Linux Kernel Auxiliary Clock Permission Check Bypass

Executive summary

The Linux kernel's generic clock_settime() interface relies on clock-specific handlers to enforce authorization, but the auxiliary clock handler aux_clock_set() did not perform the expected permission check. As a result, once an administrator enables an auxiliary clock, a local process without effective, permitted, inheritable, or ambient capabilities can alter the global auxiliary clock offset through CLOCK_AUX0.

The security impact is primarily a timekeeping integrity issue rather than a memory-safety vulnerability. An unauthorized change could affect systems or applications that rely on the auxiliary clock for scheduling, timestamping, event ordering, or other time-sensitive decisions. The supplied advisory also shows that an AppArmor profile denying sys_time blocked changes to CLOCK_REALTIME but did not observe the CLOCK_AUX0 operation, exposing an LSM enforcement blind spot.

CVE-2026-99941 is assessed as low severity because exploitation is local, an administrator must first enable an auxiliary clock, and the supplied context contains no evidence of in-the-wild exploitation or CISA KEV inclusion. The available information also does not identify affected version ranges or a specific fixed kernel release.

Vulnerability details

The generic clock_settime() entry point delegates permission enforcement to individual clock callbacks. The auxiliary clock implementation, aux_clock_set(), omitted that enforcement. The advisory's test demonstrated that a process running with UID and GID 65534 and no capabilities could successfully set CLOCK_AUX0; a separate process observed the resulting value.

This behavior contrasts with the normal control applied to CLOCK_REALTIME. It also differs from clock_adjtime(), which rejected the same unprivileged test process. The missing check therefore affects both Linux capability controls and security-module mediation for the auxiliary clock path.

The advisory identifies the intended correction as invoking security_settime64() before mutating the auxiliary timekeeper. According to the advisory, this restores consistency with the CLOCK_REALTIME permission model, requires CAP_SYS_TIME in the initial user namespace, exposes the operation to LSM settime hooks, and retains legitimate authorized clock changes.

Affected systems

The vulnerable surface is the Linux kernel timekeeping subsystem, specifically the aux_clock_set() path reached through clock_settime() with the CLOCK_AUX0 identifier.

The supplied context does not enumerate affected Linux kernel versions, stable branches, or distribution packages. It also does not provide a commit hash or backport list. Operators must therefore consult the relevant distribution vendor's kernel advisory to determine whether a deployed build contains the fix.

Practical exposure is conditional:

  • An auxiliary clock must already have been enabled by an administrator.

  • The attacker must have local access to the affected system.

  • No network access, memory corruption, race condition, or elevated privilege is required for the reported operation.

  • Systems that do not enable an auxiliary clock are not exposed through the demonstrated path.

Security impact

The primary consequence is unauthorized modification of the global auxiliary clock offset. Depending on how the auxiliary clock is used, this could affect time-based decisions, event sequencing, application scheduling, or timestamp correlation. The supplied context does not establish a direct compromise of CLOCK_REALTIME, confidentiality, system availability, or cryptographic key material.

The issue also weakens defense in depth. An AppArmor profile that denied sys_time stopped CLOCK_REALTIME changes but did not receive visibility into the auxiliary clock operation. SELinux or similar LSM logging based on the settime hook may consequently have the same blind spot until the kernel check is restored.

Exploitation assessment

The reported trigger is simple and reproducible with clock_settime(CLOCK_AUX0, …). The advisory confirms that the value was observable from a separate process, demonstrating system-wide state modification rather than a process-local effect.

Nevertheless, the available threat intelligence does not show exploitation in the wild, a public exploit campaign, or an entry in the CISA KEV catalog. No CVSS vector or score is available in the supplied context. These factors support a low-severity assessment, while the conditional prerequisite and local-access requirement prevent the issue from being treated as broadly exposed.

Mitigation

Apply the upstream correction that calls security_settime64() before the auxiliary timekeeper is modified. Because the supplied advisory does not name fixed versions or backported commits, patch availability should be confirmed through the applicable Linux distribution or kernel vendor.

Where an immediate kernel update is not available:

  • Avoid enabling an auxiliary clock until the corrected kernel is deployed.

  • Use seccomp filtering to block untrusted processes from invoking clock_settime() with CLOCK_AUX0.

  • Do not rely solely on an AppArmor or SELinux sys_time denial to cover this path, because the advisory demonstrates that the operation may bypass the relevant LSM notification.

Detection should focus on syscall-level auditing of clock_settime() and unexpected changes to auxiliary clock values. Standard LSM denial logs may not reveal the operation while the kernel remains vulnerable.

Expert insight

This case illustrates a recurring kernel-design hazard: placing authorization in individual clock callbacks can leave less-traveled clock identifiers outside the security model established by the primary time clock. The fix is conceptually straightforward, but version identification is less precise because the supplied context names neither a vulnerable range nor a fixed release.

The most important operational lesson is that LSM policy alone is not necessarily complete mediation for clock operations. A deny rule may appear to protect system time while leaving auxiliary clock identifiers uncovered. Seccomp can narrow the exposed syscall path as a compensating control, but restoring security_settime64() in the kernel preserves a centralized authorization model across clocks and LSMs.

References

·
← News