Kernel - inet_diag: fix kernel-infoleak for UDP sockets

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002671: inet_diag: fix kernel-infoleak for UDP sockets. Affects Kernel versions >= 3c4d05c8056724aff3abc20650807dd828fded54, < 7b5596e531253ce84213d9daa7120b71c9d83198. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 processes, and ensures security and stability. The inet_diag module is responsible for providing diagnostic information about network sockets. UDP (User Datagram Protocol) is a connectionless protocol that allows data to be sent over an IP network without establishing a dedicated connection. UDP sockets are vulnerable to a kernel-infoleak, which can potentially expose sensitive information to unauthorized entities.

Vulnerability Detail

The vulnerability in the inet_diag module allows an attacker to leak kernel information through UDP sockets. This can lead to the disclosure of sensitive data, such as memory addresses or other kernel-related information. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v3.3 of the Linux Kernel and is fixed in version v5.4.168 by commit 7b5596e531253ce84213d9daa7120b71c9d83198.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The Kernel vulnerability in the inet_diag module for UDP sockets can lead to the leakage of sensitive kernel information. It is crucial to update the Linux Kernel to version v5.4.168 or later to mitigate this vulnerability. Regularly applying security updates and staying informed about potential vulnerabilities is essential for maintaining the security and integrity of systems. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows an attacker to leak kernel information through UDP sockets, potentially exposing sensitive data.

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 Playground will analyze it for open-source vulnerabilities, including this one.

There is no known exploit for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate any potential risks.

The exact attack vector and remote exploitability of this vulnerability have not been proven yet. However, it is always recommended to apply security updates to protect against potential remote attacks.

There are no reported incidents related to this vulnerability at the moment. However, it is important to stay updated with the latest security patches 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