AZL-117724: CVE-2026-142920 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
rtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove
The driver mixes devmrtcregisterdevice() with manual clock disabling in ftrtc010rtcremove(). Because the RTC device was registered via devm, it remains registered until devres cleanup runs after .remove() returns. An unprivileged process holding an open /dev/rtc0 file descriptor could issue ioctl(RTCRDTIME) during this window, triggering MMIO reads on clock-gated hardware and causing a synchronous external abort.
Replace devmclkget() + clkprepareenable() with devmclkgetenabled() to tie clock lifecycle to devres. Remove the manual .remove() callback and the corresponding error handling labels in ftrtc010rtcprobe().
Affected Software
Event History
Frequently Asked Questions
Who can trigger the fault?
An unprivileged local process that holds an open /dev/rtc0 file descriptor can trigger it. Exposure is limited to systems using the ftrtc010 RTC driver.
What timing is required for exploitation?
The process must issue RTC_RD_TIME while the driver is being removed, after its clock has been manually disabled but before devres cleanup unregisters the RTC device. The resulting MMIO access to clock-gated hardware can cause a synchronous external abort.