Use-after-free vulnerability in netfilter
Summary
GSD-2022-1000773: netfilter: fix use-after-free in __nf_register_net_hook(). Affects Kernel versions >= 2420b79f8c18a75ee2417cace381f4604b9b4365, < bd61f192a339b1095dfd6d56073a5265934c2979. 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 an open-source monolithic Unix-like computer operating system kernel. It provides the core functionality for the Linux operating system. The netfilter framework is a part of the Linux Kernel that allows packet filtering, network address translation (NAT), and other packet mangling. It is used to implement various network-related features and security measures.
Vulnerability Detail
The use-after-free vulnerability in __nf_register_net_hook() function in the netfilter framework of the Linux Kernel allows an attacker to exploit a race condition, leading to a use-after-free situation. This vulnerability can be triggered by a malicious user or process, potentially resulting in a denial of service (DoS) or arbitrary code execution. The vulnerability was introduced in version v4.14 of the Linux Kernel and has been fixed in version v5.15.27.
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 known workaround for this vulnerability. It is strongly advised to update to the fixed version of the Linux Kernel.
Conclusion
The use-after-free vulnerability in netfilter can have serious security implications, potentially leading to a denial of service or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.15.27 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability in netfilter can potentially lead to a denial of service (DoS) or arbitrary code execution.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.
Yes, the vulnerability has been fixed in Linux Kernel version v5.15.27. It is recommended to update to this version or later.
Yes, this vulnerability can be exploited remotely by a malicious user or process.
There are no known instances of this vulnerability being exploited in the wild at this time.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.