NULL Pointer Dereference in Linux Kernel's 8250_aspeed_vuart - CVE-2022-49392

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Medium
5.5

CVE-2022-49392: In the Linux kernel, the following vulnerability has been resolved: serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe platform_get_resource() may fail and return NULL, so we should better ch... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-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 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 a core component of many operating systems, providing essential services for hardware and software interaction. The 8250_aspeed_vuart is a driver within the kernel that facilitates communication with serial devices. This driver is crucial for systems that rely on serial communication for various functionalities. The vulnerability in question arises from insufficient checks on the return value of platform_get_resource(), which can lead to system instability and crashes.

Vulnerability Detail

CVE-2022-49392 is a vulnerability in the Linux kernel's 8250_aspeed_vuart driver. The issue stems from the potential for a NULL pointer dereference when the platform_get_resource() function fails and returns NULL. If this dereference occurs, it can lead to a system crash or unexpected behavior, impacting the reliability of systems that depend on this driver for serial communication. This vulnerability highlights the importance of robust error handling in kernel drivers to prevent such critical failures.

How To Fix

Minimum fixed version

5.18.5-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 mentioned for this vulnerability. However, ensuring that your system is updated to the latest kernel version is a general best practice to mitigate potential risks.

Conclusion

CVE-2022-49392 is a significant vulnerability in the Linux kernel's 8250_aspeed_vuart driver that can lead to system instability due to a NULL pointer dereference. Users are encouraged to update to the patched version to ensure system reliability and security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49392 is a vulnerability in the Linux kernel that can lead to a NULL pointer dereference in the 8250_aspeed_vuart driver.

If exploited, this vulnerability can cause system crashes or unexpected behavior, particularly in systems relying on serial communication.

Yes, the vulnerability has been patched in version 5.18.5-1 of the Linux package.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

While there are no specific workarounds, it is advisable to monitor your system closely and apply the update as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-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