Local service interruption via device-reference leak
Published Oct 21, 2024 · Updated May 11, 2026
Memory leak in the Linux kernel gpiolib subsystem allows local users to exhaust kernel memory through GPIO device registration errors. The gpiochip_setup_dev() error path calls device_del() after gcdev_register() succeeds but omits put_device(), leaving device_private and related resources referenced. Triggering requires local low-privileged access and a later setup failure after device_add() succeeds; repeated failures can interrupt service through kernel-memory exhaustion.
Summary
What happened
Memory leak in the Linux kernel gpiolib subsystem allows local users to exhaust kernel memory through GPIO device registration errors. The gpiochip_setup_dev() error path calls device_del() after gcdev_register() succeeds but omits put_device(), leaving device_private and related resources referenced. Triggering requires local low-privileged access and a later setup failure after device_add() succeeds; repeated failures can interrupt service through kernel-memory exhaustion.
The record
- CVE
- CVE-2022-48975
- Published
- Oct 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record 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=159f3cd92f17c61a4e2a47456de5865b114ef88e <371363716398ed718e389bea8c5e9843a79dde4e
- Affected versionversion=159f3cd92f17c61a4e2a47456de5865b114ef88e <6daaa84b621485fe28c401be18debf92ae8ef04a
- Affected versionversion=159f3cd92f17c61a4e2a47456de5865b114ef88e <ec851b23084b3a0af8bf0f5e51d33a8d678bdc49
- Affected versionversion=4.6
What conditions does exploitation require?
What is affected?
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