CVE-2021-47539
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47539 affects the Linux kernel's rxrpc subsystem. The vulnerability was discovered in the rxrpclookupbundle() function where a memory leak occurs due to improper handling of rxrpcpeer references. The issue was disclosed on May 24, 2024, and affects the Linux kernel's networking stack (Kernel Git).

Technical details

The vulnerability stems from a failure to properly release rxrpcpeer references in the rxrpclookupbundle() function. Specifically, the code needed to call rxrpcputpeer() for bundle candidates before kfree() as it holds a reference to rxrpc_peer. This issue was introduced in commit 245500d853e9 which rewrote the client connection manager (Kernel Git).

Impact

The vulnerability results in a memory leak in the Linux kernel's rxrpc subsystem, which could potentially lead to resource exhaustion over time (NVD).

Mitigation and workarounds

The issue has been fixed by abstracting out the bundle freeing code into a function and ensuring proper cleanup of rxrpc_peer references. The fix was implemented through patches in the Linux kernel that properly handle the deallocation of resources (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management