Information Leakage in /proc/net/ptype - Kernel

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000083: net: fix information leakage in /proc/net/ptype. Affects Kernel versions >= 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, < be1ca30331c7923c6f376610c1bd6059be9b1908. 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 crucial component of the Linux operating system that manages system resources and provides an interface for applications to interact with the hardware. It is responsible for tasks such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's handling of the /proc/net/ptype file, which provides information about packet types in the network stack. This vulnerability can lead to information leakage, potentially exposing sensitive data to unauthorized parties.

Vulnerability Detail

The vulnerability arises from a flaw in the handling of the /proc/net/ptype file. Attackers can exploit this flaw to gain unauthorized access to sensitive information by reading the contents of the file. The impact of this vulnerability depends on the nature of the data exposed and the privileges of the attacker. If successful, an attacker could obtain network-related information that could aid in further attacks or compromise the confidentiality of network communications.

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 restrict access to the /proc/net/ptype file by modifying the file permissions. By setting appropriate permissions, such as restricting read access to privileged users only, the risk of information leakage can be mitigated. However, it is important to note that this workaround may not provide complete protection and updating the Kernel is still recommended.

Conclusion

The vulnerability in the Kernel's handling of the /proc/net/ptype file can lead to information leakage, potentially exposing sensitive data. To mitigate this risk, it is recommended to update the Linux Kernel to version v4.9.300 or later. Additionally, restricting access to the /proc/net/ptype file can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to information leakage, potentially exposing sensitive data to unauthorized parties. The impact depends on the nature of the data exposed and the privileges of the attacker.

To fix this vulnerability, update the Linux Kernel to version v4.9.300 or later. The fix was implemented in commit be1ca30331c7923c6f376610c1bd6059be9b1908.

Yes, you can restrict access to the /proc/net/ptype file by modifying the file permissions. However, updating the Kernel is still recommended for complete protection.

The exact attack vector is not specified, but it is possible that this vulnerability can be exploited remotely if the attacker has access to the system.

There is no evidence of active exploits at the moment. However, it is important to patch the vulnerability as soon as possible to prevent any potential exploitation.

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