# CVE-2026-90126: rtc: pcf8563: fix clock provider leak on unbind

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:06:28.568Z
- Modified: 2026-10-19T09:19:02.217Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rtc: pcf8563: fix clock provider leak on unbind

pcf8563_clkout_register_clk() registers the CLKOUT clock provider with
of_clk_add_provider(), but nothing ever unwinds it: there is no
of_clk_del_provider() call and the driver has no remove callback. Each
of_clk_add_provider() allocates a struct of_clk_provider, takes a
reference on the OF node and adds an entry to the global of_clk_providers
list, none of which is released when the device is unbound. Every
bind/unbind (or module reload) therefore leaks a provider structure and
an of_node reference.

The clock itself is already device-managed (devm_clk_register()); only
the provider registration was not. Use devm_of_clk_add_hw_provider() so
the provider is removed automatically on unbind. Tie it to the parent
i2c device, whose OF node carries the #clock-cells and clock-output-names
properties (the RTC class device has no OF node of its own).

(As written by CVE List.)

## Affected

- Linux Linux: from a39a6405d5f949bc651694028a55d74c514ef1f9 before 2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 30b7c63af50fe1464e7582a37de1ca4bd030ecc1; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 7afb8db47c4f107bce89cfe5115fb31ba7c94665; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 97edf3fd9a46ea89a167966991c0449cfa07b36f; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 08a59c28c2bdbcd655e99526c86a41dc83834283; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 6218c0533a72235ec9c5f41b812c63d963bd4a3e; from a39a6405d5f949bc651694028a55d74c514ef1f9 before 9c48a53685040bb0de45a640b34055cbbfc69d4f; 4.4 (not affected: before 4.4; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-90126](https://www.cve.org/CVERecord?id=CVE-2026-90126), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90126](https://nvd.nist.gov/vuln/detail/CVE-2026-90126), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90126 · Whole record: https://cve.day/CVE-2026-90126.json · Rebuilt by cve.day 2026-11-25T22:59:39.311Z
