CVE-2021-47538

rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()

MEDIUM
5.5
CVSS Score
Published: May 24, 2024 at 03:09 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer() Need to call rxrpc_put_local() for peer candidate before kfree() as it holds a ref to rxrpc_local. [DH: v2: Changed to abstract the peer freeing code out into a function]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.3.94.19.82 ≤ v < 4.19.2205.11 ≤ v < 5.15.75.3.9 ≤ v < 5.45.4 ≤ v < 5.10.845.4 ≤ v < 5.15.75.4 ≤ v < 5.165.4 ≤ v < 5.4.1645.4.1 ≤ v < 5.4.1645.5 ≤ v < 5.10.844.19.825.16 rc15.16 rc25.16 rc35.3.95.45.4 rc45.4 rc55.4 rc65.4 rc75.4 rc89b7fc03b4cdbfb668b6891967105258691c6d3b59ebeddef58c41bd700419cdcece24cf64ce32276e8e51ce79c157188e209e5ea0afaf6b42dd76104
Vendor states this is fixed in 3e70e3a72d80b16094faccbe438cd53761c3503a (fixed)
Vendor states this is fixed in 60f0b9c42cb80833a03ca57c1c8b078d716e71d1 (fixed)
Vendor states this is fixed in 913c24af2d13a3fd304462916ee98e298d56bdce (fixed)
Vendor states this is fixed in 9469273e616ca8f1b6e3773c5019f21b4c8d828c (fixed)
Vendor states this is fixed in beacff50edbd6c9659a6f15fc7f6126909fade29 (fixed)
Vendor states this is fixed in 4.19.220 (unaffected)
Vendor states this is fixed in 5.10.84 (unaffected)
Vendor states this is fixed in 5.15.7 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.164 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e70e3a72d80b16094faccbe438cd53761c3503a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60f0b9c42cb80833a03ca57c1c8b078d716e71d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/913c24af2d13a3fd304462916ee98e298d56bdce
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9469273e616ca8f1b6e3773c5019f21b4c8d828c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/beacff50edbd6c9659a6f15fc7f6126909fade29

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card