CVE-2022-50550
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50550 is a memory leak vulnerability discovered in the Linux kernel's block I/O latency (blk-iolatency) subsystem. The issue occurs when a gendisk is successfully initialized but add_disk() fails, such as when a loop device has invalid number of minor device numbers specified. The vulnerability was disclosed on October 7, 2025 (NVD).

Technical details

The vulnerability stems from an initialization sequence where blkcg_init_disk() is called during init and then blkcg_exit_disk() during error handling. The iolatency gets initialized in the former but doesn't get cleaned up in the latter. This occurs because in non-error cases, the cleanup is performed by del_gendisk() calling rq_qos_exit(), with the assumption that rq_qos policies can only be activated once the disk is fully registered and visible. While this assumption holds true for wbt and iocost, it doesn't apply to iolatency as it gets initialized before add_disk() is called (RedHat).

Impact

The vulnerability results in a memory leak condition when disk initialization fails. According to Red Hat's assessment, this vulnerability has been assigned a CVSS v3.1 base score of 5.5, indicating a medium severity level with local access required (RedHat).

Mitigation and workarounds

As a fix for the immediate problem, an extra call to rq_qos_exit() has been added in blkcg_exit_disk(). This solution is safe because duplicate calls to rq_qos_exit() become no-ops. While a more comprehensive solution would involve switching iolatency to lazy initialization, that represents a bigger change that was deferred for later (RedHat).

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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 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