Service interruption via invalid cdev cleanup
Published Sep 15, 2025 · Updated Sep 15, 2025
Improper initialization in the Linux kernel allows local users to interrupt service during failed character-device registration. In cdev_device_add(), an error from device_add() reaches cdev_del() even when an unset dev->devt meant cdev_add() never initialized the character-device kobject. The path requires a device-registration failure and low local privileges; the public report reproduced it through fault injection and observed a kernel warning.
Summary
What happened
Improper initialization in the Linux kernel allows local users to interrupt service during failed character-device registration. In cdev_device_add(), an error from device_add() reaches cdev_del() even when an unset dev->devt meant cdev_add() never initialized the character-device kobject. The path requires a device-registration failure and low local privileges; the public report reproduced it through fault injection and observed a kernel warning.
The record
- CVE
- CVE-2022-50282
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 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=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <11fa7fefe3d8fac7da56bc9aa3dd5fb3081ca797
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <28dc61cc49c6e995121c6d86bef4b73df78dda80
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <34d17b39bceef25e4cf9805cd59250ae05d0a139
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <6acf8597c5b04f455ee0649e11e5f3bcd28f381e
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <85a5660491b507d33662b8e81c142e6041e642eb
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <b5de1eac71fec1af7723f1083d23a24789fd795c
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <c46db6088bccff5115674d583fef46ede80077a2
- Affected versionversion=233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 <d85b5247a79355b8432bfd9ac871f96117f750d4
- Affected versionversion=4.12
- Affected versionversion=d79d7d5c878809964da537336dad5ff55fa1605e
- Affected versionversion=da97a80a657d1b1b50ef633e8ff5dbf0d417fc8d <5d2146889fad4cb9e6c13e790d4cfd871486eca8
- Affected versionversion=f78b54e7d83c7879f9a6e49e6724019ca34177cc
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.
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