CVE-2026-142920: rtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove

Published Dec 3, 2026
·
Updated

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

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.13.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  4. Compensating control

    In the ftrtc010 RTC driver, replace devm_clk_get() plus clk_prepare_enable() with devm_clk_get_enabled(), and remove the manual .remove() callback and corresponding error-handling labels in ftrtc010_rtc_probe().

Event History

Dec 3, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
Description
Data Sourced
via OSV·03:25 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203