Memory Leak in ip_mc_add1_src in Linux Kernel
Summary
GSD-2021-1000988: net: ipv4: fix memory leak in ip_mc_add1_src. Affects Kernel versions >= 24803f38a5c0b6c57ed800b47e695f9ce474bc3a, < ac31cc837cafb57a271babad8ccffbf733caa076. 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 the core component of the Linux operating system. It provides essential services and functions to enable the proper functioning of the system. The ip_mc_add1_src function in the IPv4 networking stack is responsible for adding a multicast source to a multicast group. However, a memory leak vulnerability has been identified in this function.
Vulnerability Detail
The memory leak vulnerability in ip_mc_add1_src allows an attacker to cause a denial-of-service condition by repeatedly adding multicast sources to a multicast group. This can lead to the exhaustion of system memory resources, resulting in degraded performance or system crashes. The vulnerability was introduced in version v4.9 of the Linux Kernel and has been fixed in version v5.10.46.
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 essential to apply the official patch or update the Linux Kernel to the fixed version.
Conclusion
The memory leak vulnerability in ip_mc_add1_src in the Linux Kernel can result in a denial-of-service condition. It is crucial to update the Linux Kernel to version v5.10.46 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a denial-of-service condition, causing system performance degradation or crashes.
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 provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the fix to prevent any potential exploitation.
It is not recommended to manually patch the vulnerability without updating the entire Linux Kernel. Updating the kernel to the fixed version ensures that all related components and dependencies are properly addressed.
You can find more information about this vulnerability, including the specific commits that fixed it, in the vulnerability database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000988.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.