Null Pointer Dereference in net/x25 Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002343: net/x25: Fix null-ptr-deref caused by x25_disconnect. Affects Kernel versions >= fca9ee21e9777c8e0c59660a6af8e4b10f93b968, < 4c240c5a105557e4546d0836e694868f22fd09b0. 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 net/x25 package is a part of the Linux Kernel ecosystem. It provides support for the X.25 protocol, which is a packet-switched network protocol commonly used in older telecommunications systems. The package implements various functions and data structures to handle X.25 connections and communication. However, a vulnerability has been discovered in the package that can lead to a null pointer dereference.

Vulnerability Detail

The vulnerability in the net/x25 package is caused by a null pointer dereference when executing the x25_disconnect function. This can occur when a disconnect request is made for an X.25 connection that does not exist or has already been disconnected. An attacker can exploit this vulnerability by sending specially crafted packets to trigger the null pointer dereference, potentially leading to a denial-of-service condition or other unexpected behavior in the affected system. The vulnerability was introduced in Linux Kernel version v4.19.137 and has been fixed in version v4.19.238.

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

As a workaround, users can disable the X.25 protocol or block X.25 traffic at the network level to mitigate the risk of exploitation. However, this may not be feasible in all scenarios, especially if X.25 is required for specific applications or network configurations.

Conclusion

The net/x25 package in the Linux Kernel is vulnerable to a null pointer dereference, which can be exploited to cause a denial-of-service condition or other unexpected behavior. It is recommended to update the kernel to version v4.19.238 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net/x25 package is a component of the Linux Kernel that provides support for the X.25 protocol, commonly used in older telecommunications systems.

A null pointer dereference occurs when a program attempts to access or manipulate memory using a null pointer, resulting in a crash or unexpected behavior.

The vulnerability can lead to a denial-of-service condition or other unexpected behavior in the affected system.

To fix this vulnerability, update the Linux Kernel to version v4.19.238 or later.

As a workaround, users can disable the X.25 protocol or block X.25 traffic at the network level.

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