CVE-2021-47538
JSON

5.5medium

rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom e8e51ce79c157188e209e5ea0afaf6b42dd76104 before 913c24af2d13a3fd304462916ee98e298d56bdce, from 9ebeddef58c41bd700419cdcece24cf64ce32276 before 3e70e3a72d80b16094faccbe438cd53761c3503a, from 9ebeddef58c41bd700419cdcece24cf64ce32276 before 60f0b9c42cb80833a03ca57c1c8b078d716e71d1, from 9ebeddef58c41bd700419cdcece24cf64ce32276 before 9469273e616ca8f1b6e3773c5019f21b4c8d828c, from 9ebeddef58c41bd700419cdcece24cf64ce32276 before beacff50edbd6c9659a6f15fc7f6126909fade29, 9b7fc03b4cdbfb668b6891967105258691c6d3b5, from 4.19.82 before 4.19.220, from 5.3.9 before 5.4 and 1 more
Not affected: before 5.4, from 4.19.220 up to 4.19.*, from 5.4.164 up to 5.4.*, from 5.10.84 up to 5.10.*, from 5.15.7 up to 5.15.*, from 5.16 up to *
CVE List
linux linux_kernelfrom 4.19.82 before 4.19.220, from 5.3.9 before 5.4, from 5.4.1 before 5.4.164, from 5.5 before 5.10.84, from 5.11 before 5.15.7, 5.4, 5.16NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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]

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: rxrpc: corrigió la fuga de rxrpc_local en rxrpc_lookup_peer() Es necesario llamar a rxrpc_put_local() para el candidato par antes de kfree(), ya que contiene una referencia a rxrpc_local. [DH: v2: modificado para abstraer el código de liberación del par en una función]

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47538 changed 2026-05-23CVE Terms of Use
NVDCVE-2021-47538 changed 2026-06-17Public domain