rtc: pcf8563: fix clock provider leak on unbind
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).
CVE-2026-90126
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90126
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "30b7c63af50fe1464e7582a37de1ca4bd030ecc1",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "7afb8db47c4f107bce89cfe5115fb31ba7c94665",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "97edf3fd9a46ea89a167966991c0449cfa07b36f",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "08a59c28c2bdbcd655e99526c86a41dc83834283",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "6218c0533a72235ec9c5f41b812c63d963bd4a3e",
"versionType": "git"
},
{
"status": "affected",
"version": "a39a6405d5f949bc651694028a55d74c514ef1f9",
"lessThan": "9c48a53685040bb0de45a640b34055cbbfc69d4f",
"versionType": "git"
}
],
"programFiles": [
"drivers/rtc/rtc-pcf8563.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/rtc/rtc-pcf8563.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90126
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36528 · Revision 1
- Added to Heist Feed
- Publisher date