Wiz Agents & Workflows are here

CVE-2022-50282
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50282 is a vulnerability discovered in the Linux kernel related to error handling in the cdev_device_add() function. The vulnerability was disclosed and documented on September 15, 2025. The issue affects the character device subsystem in the Linux kernel, specifically when handling device addition errors (NVD).

Technical details

The vulnerability manifests when a fault injection test reveals an uninitialized kobject being passed to kobject_put(). The issue occurs specifically in the error handling path of cdev_device_add() where, if dev->devt is not set and device_add() returns an error, cdev_add() is not called, making cdev_del() unnecessary. This was discovered during testing with QEMU Standard PC hardware emulation running Linux kernel version 6.1.0-rc2 (NVD).

Impact

The vulnerability could potentially lead to system instability or crashes due to improper error handling in the kernel's character device subsystem. When triggered, it results in a kernel warning about an uninitialized kobject being freed, which could affect system reliability (NVD).

Mitigation and workarounds

The issue has been resolved by implementing a fix that checks dev->devt in the error path before performing cleanup operations. This ensures proper handling of device addition errors and prevents the uninitialized kobject issue (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management