Critical NULL Dereference Vulnerability in Linux Kernel - CVE-2022-49177

linux Updated 02 Oct 2025

Summary

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

CVE-2022-49177: In the Linux kernel, the following vulnerability has been resolved: hwrng: cavium - fix NULL but dereferenced coccicheck error Fix following coccicheck warning: ./drivers/char/hw_random/cavium-rng-vf.c:182:17-20: ERROR:... 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 Penetration testing for web, API and mobile 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, including various distributions of Debian. It manages hardware resources and provides essential services for software applications. The kernel is designed to be robust and secure, but vulnerabilities can arise due to complex interactions between hardware and software. CVE-2022-49177 specifically affects the hwrng (hardware random number generator) module for Cavium devices, which is responsible for generating random numbers used in cryptographic operations.

Vulnerability Detail

CVE-2022-49177 is a vulnerability in the Linux kernel that arises from a NULL pointer dereference in the hwrng module for Cavium devices. This issue was identified during a coccicheck analysis, which flagged a potential error where a pointer (pdev) could be NULL but was still being dereferenced. If exploited, this vulnerability could lead to system crashes or undefined behavior, potentially compromising the integrity and availability of the system. The vulnerability affects multiple Debian versions, highlighting its significance across different environments.

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

Currently, there are no specific workarounds mentioned for this vulnerability. Users are advised to apply the patch as soon as it becomes available for their respective Debian version.

Conclusion

CVE-2022-49177 is a significant vulnerability in the Linux kernel affecting the hwrng module for Cavium devices. Users should prioritize updating their systems to the patched versions to prevent potential exploitation. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software without requiring extensive setup.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49177 is a vulnerability in the Linux kernel that involves a NULL pointer dereference in the hwrng module for Cavium devices.

Exploitation of this vulnerability could lead to system crashes or undefined behavior, potentially compromising system integrity and availability.

Debian 11, 12, and 13 are affected, with specific fixes available for Debian 12 and 13.

You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

While there are no specific workarounds, it is crucial to monitor for updates and apply them as soon as they are available to mitigate risks.

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