Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2021-47020

soundwire: stream: fix memory leak in stream config error path

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < 342260fe821047c3d515e3d28085d73fbdce3e80affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < 870533403ffa28ff63e173045fc5369365642002affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < 7c468deae306d0cbbd539408c26cfec04c66159aaffected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < 2f17ac005b320c85d686088cfd4c2e7017912b88affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < effd2bd62b416f6629e18e3ce077c60de14cfdeaaffected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to < 48f17f96a81763c7c8bf5500460a359b9939359faffected

Linux Linux

Default version status: affected

  • 4.18affected
  • 0 to < 4.18unaffected
  • 4.19.191 to ≤ 4.19.*unaffected
  • 5.4.119 to ≤ 5.4.*unaffected
  • 5.10.37 to ≤ 5.10.*unaffected
  • 5.11.21 to ≤ 5.11.*unaffected
  • 5.12.4 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References