riscv, bpf: Fix potential NULL dereference in Kernel

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

UVI-2021-1002065: riscv, bpf: Fix potential NULL dereference. Affects Kernel versions >= ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa, < cac6b043cea3e120f4fccec16f7381747cbfdc0d. 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 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 Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The riscv architecture is a popular open-source instruction set architecture (ISA) used in many embedded systems and IoT devices. BPF (Berkeley Packet Filter) is a technology in the Kernel that allows efficient packet filtering and network monitoring. However, a potential NULL dereference vulnerability has been identified in the riscv BPF implementation, which could lead to system crashes or potentially be exploited for arbitrary code execution.

Vulnerability Detail

The identified vulnerability in the riscv BPF implementation is a potential NULL dereference issue. This means that under certain conditions, a pointer in the code can be dereferenced without being properly checked for NULL, leading to a crash or potential code execution. The exact impact and attack vectors have not been proven yet, but it is crucial to address this vulnerability to ensure the stability and security of the system. The vulnerability was introduced in version v5.7 of the Linux Kernel and has been fixed in version v5.10.77 by commit cac6b043cea3e120f4fccec16f7381747cbfdc0d.

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 riscv BPF potential NULL dereference vulnerability in the Kernel can lead to system crashes and potential code execution. It is crucial to update the Linux Kernel to version v5.10.77 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 riscv architecture is an open-source instruction set architecture (ISA) designed for efficient and scalable computing. It is widely used in embedded systems, IoT devices, and other applications.

BPF (Berkeley Packet Filter) is a technology in the Kernel that allows efficient packet filtering and network monitoring. It provides a virtual machine environment for executing custom programs to process network packets.

A NULL dereference vulnerability occurs when a program attempts to access or dereference a memory address that is NULL (not pointing to any valid memory location). This can lead to crashes, instability, or potential code execution.

The potential impacts of this vulnerability include system crashes, instability, and potential exploitation for arbitrary code execution. However, the exact attack vectors and impact have not been proven yet.

You can use the Vulert playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

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