CVE-2022-50326
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | ca9dc8d06ab64543a6a31adac5003349c5671218 < f4285dd02b6b2ca3435b65fb62c053dd9408fd71 | affected |
| Linux | Linux | ca9dc8d06ab64543a6a31adac5003349c5671218 < 23bc5eb55f8c9607965c20d9ddcc13cb1ae59568 | affected |
| Linux | Linux | 6.0 | affected |
| Linux | Linux | 0 < 6.0 | unaffected |
| Linux | Linux | 6.0.3 <= 6.0.* | unaffected |
| Linux | Linux | 6.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/f4285dd02b6b2ca3435b65fb62c053dd9408fd71
- https://git.kernel.org/stable/c/23bc5eb55f8c9607965c20d9ddcc13cb1ae59568
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.