Memory Corruption Vulnerability in Linux Kernel - CVE-2022-20421

linux Updated 02 Oct 2025

Summary

11/10/2022
N/A
Yes i
High
7.8

CVE-2022-20421: In binder_inc_ref_for_node of binder.c, there is a possible way to corrupt memory due to a use after free. Affects linux versions < 5.10.149-1. Fixed in 5.10.149-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used in various environments, including servers, desktops, and embedded systems. The kernel's stability and security are crucial, as vulnerabilities can lead to severe consequences, including unauthorized access and system instability. CVE-2022-20421 specifically affects the binder component of the kernel, which facilitates communication between different processes.

Vulnerability Detail

CVE-2022-20421 is a use-after-free vulnerability found in the binder_inc_ref_for_node function of binder.c within the Linux kernel. This flaw allows an attacker to exploit memory corruption, potentially leading to local privilege escalation without requiring additional execution privileges. The vulnerability arises when a reference to a memory object is used after it has been freed, which can corrupt memory and compromise system integrity. The severity of this vulnerability is underscored by its CVSS score of 7.8, indicating a high risk to affected systems.

How To Fix

Minimum fixed version

5.10.149-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability other than applying the kernel updates as mentioned above. Users are advised to monitor their systems for any unusual behavior and ensure that they are running the latest kernel versions.

Conclusion

CVE-2022-20421 represents a serious vulnerability in the Linux kernel that can lead to memory corruption and privilege escalation. It is crucial for users to update their systems to the latest kernel versions to protect against potential exploits. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-20421 is a vulnerability in the Linux kernel that allows for memory corruption due to a use-after-free error, potentially leading to local privilege escalation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Exploitation of this vulnerability could allow an attacker to escalate privileges on the affected system, potentially leading to unauthorized access and control.

The vulnerability affects various versions of the Linux kernel in Debian 11, 12, and 13, specifically before the fixed versions: 5.10.149-1 and 5.19.11-1.

No, user interaction is not needed for exploitation, making it a significant security concern.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.10.149-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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