Bug 2395238 (CVE-2022-50326) - CVE-2022-50326 kernel: media: airspy: fix memory leak in airspy probe
Summary: CVE-2022-50326 kernel: media: airspy: fix memory leak in airspy probe
Keywords:
Status: NEW
Alias: CVE-2022-50326
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:02 UTC by OSIDB Bzimport
Modified: 2025-09-15 17:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:02:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.