Vulnerability in Linux Kernel: tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001065: tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH. Affects Kernel versions < 20a0b7c3279ab6e5b2ea942d2d64855a6136d6a9. 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 Linux Kernel is a widely used open-source operating system kernel that forms the foundation of various Linux distributions. It provides essential functionality for the operating system, including managing system resources, device drivers, and network communication. The tcp module within the Linux Kernel is responsible for handling TCP/IP network connections.

One of the components in the tcp module, inet_listen_hashbucket::lock, is used to protect the hash bucket for listening sockets. However, there is a vulnerability where this lock is acquired with disabled BH (bottom half) context, which can lead to potential security issues.

Vulnerability Detail

The vulnerability arises when the inet_listen_hashbucket::lock is acquired with disabled BH. This can result in security risks, although the exact impact and attack plausibility have not been proven yet. The vulnerability has been identified and assigned the ID GSD-2022-1001065. It affects the Linux Kernel and has been fixed in version v5.17.3 by commit 20a0b7c3279ab6e5b2ea942d2d64855a6136d6a9.

To exploit this vulnerability, an attacker would need to have access to the affected system and be able to trigger the specific conditions that lead to the acquisition of inet_listen_hashbucket::lock with disabled BH. Successful exploitation could potentially allow the attacker to gain unauthorized access, manipulate network connections, or disrupt network communication.

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. The recommended approach is to apply the fix by updating the Linux Kernel to the latest version.

Conclusion

The vulnerability in the Linux Kernel, where the acquisition of inet_listen_hashbucket::lock with disabled BH can occur, poses potential security risks. It is crucial to update the Kernel to version v5.17.3 or later to mitigate this vulnerability. By applying the fix commit 20a0b7c3279ab6e5b2ea942d2d64855a6136d6a9, the vulnerable code is replaced, ensuring the proper acquisition of inet_listen_hashbucket::lock and reducing the risk of unauthorized access or network disruption.

For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that forms the foundation of various Linux distributions. It provides essential functionality for the operating system, including managing system resources, device drivers, and network communication.

The tcp module in the Linux Kernel is responsible for handling TCP/IP network connections. It implements the TCP protocol, which is widely used for reliable and ordered delivery of data over IP networks.

The inet_listen_hashbucket::lock is used to protect the hash bucket for listening sockets in the tcp module of the Linux Kernel. It ensures that concurrent operations on the hash bucket are properly synchronized to prevent race conditions and data corruption.

Acquiring inet_listen_hashbucket::lock with disabled BH can lead to potential security risks. Although the exact impact and attack plausibility have not been proven yet, it could potentially allow unauthorized access, manipulation of network connections, or disruption of network communication.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.3 or later, which includes the necessary fix commit 20a0b7c3279ab6e5b2ea942d2d64855a6136d6a9. Updating the Kernel ensures that the vulnerable code is replaced with the patched version, eliminating the possibility of acquiring inet_listen_hashbucket::lock with disabled BH.

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