soundwire: stream: fix memory leak in stream config error path (Linux Linux)

CVE-2021-47020
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: soundwire: stream: fix memory leak in stream config error path When stream config is failed, master runtime will release all slave runtime in the slave_rt_list, but slave runtime is not added to the list at this time. This patch frees slave runtime in the config error path to fix the memory leak.

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 89e590535f32d4bc548bcf266f3b046e50942f6d < 342260fe821047c3d515e3d28085d73fbdce3e80 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 870533403ffa28ff63e173045fc5369365642002 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 7c468deae306d0cbbd539408c26cfec04c66159a ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 2f17ac005b320c85d686088cfd4c2e7017912b88 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < effd2bd62b416f6629e18e3ce077c60de14cfdea ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 48f17f96a81763c7c8bf5500460a359b9939359f
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 4.19.191 ≤ 4.19.* ; unaffected 5.4.119 ≤ 5.4.* ; unaffected 5.10.37 ≤ 5.10.* ; unaffected 5.11.21 ≤ 5.11.*

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