Local service interruption via RTC device allocation leak
Published Oct 4, 2025 · Updated Oct 4, 2025
A memory leak in the Linux kernel RTC class allows local users to exhaust kernel memory when an RTC device name assignment fails. devm_rtc_allocate_device allocates an rtc_device but registers its managed cleanup only after dev_set_name, so a naming error abandons the allocation. Reaching the path requires local access that can initiate an RTC driver probe; repeated failures consume kernel memory and can interrupt service.
Summary
What happened
A memory leak in the Linux kernel RTC class allows local users to exhaust kernel memory when an RTC device name assignment fails. devm_rtc_allocate_device allocates an rtc_device but registers its managed cleanup only after dev_set_name, so a naming error abandons the allocation. Reaching the path requires local access that can initiate an RTC driver probe; repeated failures consume kernel memory and can interrupt service.
The record
- CVE
- CVE-2022-50477
- Published
- Oct 4, 2025
- Updated
- Oct 4, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 4, 2025CVE publishedPublication date reported by the CVE source.
- Oct 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=24d23181e43d72ca692a479e70dfe5b0b5dd33f1 <0bcfc8fd3e596994f527b46730579428b3a4fa5f
- Affected versionversion=24d23181e43d72ca692a479e70dfe5b0b5dd33f1 <59457a0f079eae19aaf322b3cc1c8ba66f55c5f3
- Affected versionversion=24d23181e43d72ca692a479e70dfe5b0b5dd33f1 <60da73808298ff2cfa9f165d55eb3d7aa7078601
- Affected versionversion=5.16
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo