{"id":"CVE-2026-90126","state":"PUBLISHED","title":"rtc: pcf8563: fix clock provider leak on unbind","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: pcf8563: fix clock provider leak on unbind\n\npcf8563_clkout_register_clk() registers the CLKOUT clock provider with\nof_clk_add_provider(), but nothing ever unwinds it: there is no\nof_clk_del_provider() call and the driver has no remove callback. Each\nof_clk_add_provider() allocates a struct of_clk_provider, takes a\nreference on the OF node and adds an entry to the global of_clk_providers\nlist, none of which is released when the device is unbound. Every\nbind/unbind (or module reload) therefore leaks a provider structure and\nan of_node reference.\n\nThe clock itself is already device-managed (devm_clk_register()); only\nthe provider registration was not. Use devm_of_clk_add_hw_provider() so\nthe provider is removed automatically on unbind. Tie it to the parent\ni2c device, whose OF node carries the #clock-cells and clock-output-names\nproperties (the RTC class device has no OF node of its own).","publishedAt":"2026-09-17T16:06:28.568Z","updatedAt":"2026-10-19T08:58:24.498Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"30b7c63af50fe1464e7582a37de1ca4bd030ecc1","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"7afb8db47c4f107bce89cfe5115fb31ba7c94665","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"97edf3fd9a46ea89a167966991c0449cfa07b36f","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"08a59c28c2bdbcd655e99526c86a41dc83834283","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"6218c0533a72235ec9c5f41b812c63d963bd4a3e","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"9c48a53685040bb0de45a640b34055cbbfc69d4f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/rtc/rtc-pcf8563.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/rtc/rtc-pcf8563.c"]}],"references":["https://git.kernel.org/stable/c/2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675","https://git.kernel.org/stable/c/36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c","https://git.kernel.org/stable/c/30b7c63af50fe1464e7582a37de1ca4bd030ecc1","https://git.kernel.org/stable/c/7afb8db47c4f107bce89cfe5115fb31ba7c94665","https://git.kernel.org/stable/c/97edf3fd9a46ea89a167966991c0449cfa07b36f","https://git.kernel.org/stable/c/08a59c28c2bdbcd655e99526c86a41dc83834283","https://git.kernel.org/stable/c/6218c0533a72235ec9c5f41b812c63d963bd4a3e","https://git.kernel.org/stable/c/9c48a53685040bb0de45a640b34055cbbfc69d4f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90126.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90126","state":"PUBLISHED","datePublished":"2026-09-17T16:06:28.568Z","dateUpdated":"2026-10-19T08:58:24.498Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.788Z"},"containers":{"cna":{"title":"rtc: pcf8563: fix clock provider leak on unbind","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: pcf8563: fix clock provider leak on unbind\n\npcf8563_clkout_register_clk() registers the CLKOUT clock provider with\nof_clk_add_provider(), but nothing ever unwinds it: there is no\nof_clk_del_provider() call and the driver has no remove callback. Each\nof_clk_add_provider() allocates a struct of_clk_provider, takes a\nreference on the OF node and adds an entry to the global of_clk_providers\nlist, none of which is released when the device is unbound. Every\nbind/unbind (or module reload) therefore leaks a provider structure and\nan of_node reference.\n\nThe clock itself is already device-managed (devm_clk_register()); only\nthe provider registration was not. Use devm_of_clk_add_hw_provider() so\nthe provider is removed automatically on unbind. Tie it to the parent\ni2c device, whose OF node carries the #clock-cells and clock-output-names\nproperties (the RTC class device has no OF node of its own)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"30b7c63af50fe1464e7582a37de1ca4bd030ecc1","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"7afb8db47c4f107bce89cfe5115fb31ba7c94665","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"97edf3fd9a46ea89a167966991c0449cfa07b36f","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"08a59c28c2bdbcd655e99526c86a41dc83834283","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"6218c0533a72235ec9c5f41b812c63d963bd4a3e","versionType":"git"},{"version":"a39a6405d5f949bc651694028a55d74c514ef1f9","status":"affected","lessThan":"9c48a53685040bb0de45a640b34055cbbfc69d4f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/rtc/rtc-pcf8563.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/rtc/rtc-pcf8563.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675"},{"url":"https://git.kernel.org/stable/c/36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c"},{"url":"https://git.kernel.org/stable/c/30b7c63af50fe1464e7582a37de1ca4bd030ecc1"},{"url":"https://git.kernel.org/stable/c/7afb8db47c4f107bce89cfe5115fb31ba7c94665"},{"url":"https://git.kernel.org/stable/c/97edf3fd9a46ea89a167966991c0449cfa07b36f"},{"url":"https://git.kernel.org/stable/c/08a59c28c2bdbcd655e99526c86a41dc83834283"},{"url":"https://git.kernel.org/stable/c/6218c0533a72235ec9c5f41b812c63d963bd4a3e"},{"url":"https://git.kernel.org/stable/c/9c48a53685040bb0de45a640b34055cbbfc69d4f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:58:24.498Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}