Vulnerability in Linux Kernel: bpf - Fix request_sock leak in sk lookup helpers
Summary
GSD-2022-1004634: bpf: Fix request_sock leak in sk lookup helpers. Affects Kernel versions >= f7355a6c049711ecfbeed573e43d48bee7acb83a, < 516760f1d2979903eaad5b437256913c5cd98416. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, facilitating communication between hardware and software components, and enforcing security policies. The bpf (Berkeley Packet Filter) subsystem within the Linux Kernel allows users to define and attach custom programs to network interfaces, enabling efficient packet filtering and manipulation. However, a vulnerability has been discovered in the sk lookup helpers of the bpf subsystem, which can lead to a request_sock leak.
Vulnerability Detail
The vulnerability in the sk lookup helpers of the bpf subsystem can result in a request_sock leak. This leak occurs when the lookup helpers fail to properly release request_sock objects, leading to a resource exhaustion condition. An attacker could potentially exploit this vulnerability to exhaust system resources, causing a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.2 and has been fixed in version v5.10.127 by commit 516760f1d2979903eaad5b437256913c5cd98416.
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
No specific workaround has been provided for this vulnerability.
Conclusion
The vulnerability in the sk lookup helpers of the bpf subsystem in the Linux Kernel can lead to a request_sock leak, potentially causing a denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v5.10.127 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is the potential exhaustion of system resources, leading to a denial-of-service (DoS) condition.
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 to the playground, and it will analyze and alert you in real-time if the vulnerability is present.
No known exploit for this vulnerability has been reported at the moment.
The recommended mitigation is to update the Linux Kernel to the fixed version v5.10.127 or later.
You can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004634.json) for more information.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.