rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer() (Linux Linux)

CVE-2021-47538
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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]

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e8e51ce79c157188e209e5ea0afaf6b42dd76104 < 913c24af2d13a3fd304462916ee98e298d56bdce ; affected 9ebeddef58c41bd700419cdcece24cf64ce32276 < 3e70e3a72d80b16094faccbe438cd53761c3503a ; affected 9ebeddef58c41bd700419cdcece24cf64ce32276 < 60f0b9c42cb80833a03ca57c1c8b078d716e71d1 ; affected 9ebeddef58c41bd700419cdcece24cf64ce32276 < 9469273e616ca8f1b6e3773c5019f21b4c8d828c ; affected 9ebeddef58c41bd700419cdcece24cf64ce32276 < beacff50edbd6c9659a6f15fc7f6126909fade29 ; affected 9b7fc03b4cdbfb668b6891967105258691c6d3b5
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 4.19.220 ≤ 4.19.* ; unaffected 5.4.164 ≤ 5.4.* ; unaffected 5.10.84 ≤ 5.10.* ; unaffected 5.15.7 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD