Use-After-Free Vulnerability in Linux Kernel - CVE-2022-50256

linux Updated 02 Oct 2025

Summary

15/09/2025
N/A
No i
Unrated
Not published

CVE-2022-50256: In the Linux kernel, the following vulnerability has been resolved: drm/meson: remove drm bridges at aggregate driver unbind time drm bridges added by meson_encoder_hdmi_init and meson_encoder_cvbs_init were not manually... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services to applications and acts as an intermediary between hardware and software. The kernel is modular, allowing for the addition of drivers and features, but this flexibility can introduce vulnerabilities, such as CVE-2022-50256, which affects the handling of DRM bridges.

Vulnerability Detail

CVE-2022-50256 is a use-after-free vulnerability in the Linux kernel's DRM subsystem. It arises when DRM bridges added by specific functions are not removed during module unload, leading to dangling references to freed memory. This can result in memory corruption and potential system crashes when the driver modules are reloaded, as they may access invalid memory locations. The vulnerability was identified through KASAN, which reported a use-after-free error during the loading of driver modules.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid loading and unloading the affected DRM driver modules until the system can be updated to a patched version. This can help mitigate the risk of encountering the use-after-free issue.

Conclusion

CVE-2022-50256 is a critical vulnerability in the Linux kernel that poses significant risks due to its use-after-free nature. Users are encouraged to update their systems to the latest patched versions to mitigate potential threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50256 is a use-after-free vulnerability in the Linux kernel's DRM subsystem that can lead to memory corruption.

You can use the Vulert platform to check if your application is affected by this vulnerability without needing to install any software.

Exploitation of this vulnerability can lead to system crashes, memory corruption, and potentially allow attackers to execute arbitrary code.

Yes, a patch is available in version 6.0.3-1 and later of the Linux package.

Keep your system updated with the latest security patches and avoid loading affected driver modules until they can be updated.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback