{"id":"CVE-2026-142920","summary":"rtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove\n\nThe driver mixes devm_rtc_register_device() with manual clock\ndisabling in ftrtc010_rtc_remove(). Because the RTC device was\nregistered via devm, it remains registered until devres cleanup\nruns after .remove() returns. An unprivileged process holding an\nopen /dev/rtc0 file descriptor could issue ioctl(RTC_RD_TIME)\nduring this window, triggering MMIO reads on clock-gated hardware\nand causing a synchronous external abort.\n\nReplace devm_clk_get() + clk_prepare_enable() with\ndevm_clk_get_enabled() to tie clock lifecycle to devres. Remove\nthe manual .remove() callback and the corresponding error handling\nlabels in ftrtc010_rtc_probe().","modified":"2026-12-03T05:01:18.403494860Z","published":"2026-12-03T03:25:59.483Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142920.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0e46df19761547d5b01d10f54f154dd4d96b9a91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/154f4dbaeffde4167f209256ee5c78d33ef39104"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78b42d66548c4f8de288875e0077e737fd6efaf2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d41ee317c9907d714014d0d5e4726fbd6acf338e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142920.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142920"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1d61d2592c1f70d74112ed1ee8f182694dc43c48"},{"fixed":"154f4dbaeffde4167f209256ee5c78d33ef39104"},{"fixed":"0e46df19761547d5b01d10f54f154dd4d96b9a91"},{"fixed":"78b42d66548c4f8de288875e0077e737fd6efaf2"},{"fixed":"d41ee317c9907d714014d0d5e4726fbd6acf338e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142920.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142920.json"}}],"schema_version":"1.9.2"}