hwrng: cavium - fix NULL but dereferenced coccicheck error in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001159: hwrng: cavium - fix NULL but dereferenced coccicheck error. Affects Kernel versions < e47b12f9415169eceda6770fcf45802e0c8d2a66. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a crucial component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the stability and security of the system. The hwrng (hardware random number generator) subsystem in the Kernel is responsible for generating random numbers using hardware-based entropy sources. This vulnerability specifically affects the Cavium hwrng driver in the Kernel.

Vulnerability Detail

The vulnerability in the Cavium hwrng driver involves a NULL pointer dereference error. This error occurs when the driver attempts to access or dereference a NULL pointer, leading to a system crash or potential privilege escalation. An attacker could potentially exploit this vulnerability to crash the system or gain elevated privileges. The vulnerability has been identified and fixed in the Linux Kernel version v5.17.2 by commit e47b12f9415169eceda6770fcf45802e0c8d2a66.

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 →

Conclusion

The hwrng: cavium - fix NULL but dereferenced coccicheck error vulnerability in the Kernel's Cavium hwrng driver can potentially lead to system crashes or privilege escalation. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to a system crash or privilege escalation, allowing an attacker to disrupt the system's operation or gain unauthorized access.

No, there is no known workaround for this vulnerability. It is recommended to update the Kernel to the fixed version.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert tool will analyze it for any open-source vulnerabilities, including this one.

The exact exploitability of this vulnerability is not yet proven. However, in general, if an attacker can gain access to the system or execute arbitrary code, they may be able to exploit this vulnerability.

You can find more information about this vulnerability in the GSD-2022-1001159 JSON file available on the Cloud Security Alliance's GitHub repository (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001159.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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