CVE-2022-50326

media: airspy: fix memory leak in airspy probe

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

media: airspy: fix memory leak in airspy probe

The commit ca9dc8d06ab6 ("media: airspy: respect the DMA coherency rules") moves variable buf from stack to heap, however, it only frees buf in the error handling code, missing deallocation in the success path.

Fix this by freeing buf in the success path since this variable does not have any references in other code.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ca9dc8d06ab64543a6a31adac5003349c5671218 to before f4285dd02b6b2ca3435b65fb62c053dd9408fd71Affected
  • ca9dc8d06ab64543a6a31adac5003349c5671218 to before 23bc5eb55f8c9607965c20d9ddcc13cb1ae59568Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.