What’s Vulnerable › Vulnerabilities
CVE-2022-50326: media: airspy: fix memory leak in airspy probe
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 6.0 before 6.0.3 — fixed in 6.0.3
How to fix
Upgrade to a fixed version: Linux kernel 6.0.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/23bc5eb55f8c9607965c20d9ddcc13cb1ae59568
- https://git.kernel.org/stable/c/f4285dd02b6b2ca3435b65fb62c053dd9408fd71
Get alerted when CVE-2022-50326 or the next vulnerability affects your stack