Null Pointer Dereference in net/x25 Package
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.