{"id":"CVE-2022-50326","summary":"media: airspy: fix memory leak in airspy probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: airspy: fix memory leak in airspy probe\n\nThe commit ca9dc8d06ab6 (\"media: airspy: respect the DMA coherency\n rules\") moves variable buf from stack to heap, however, it only frees\nbuf in the error handling code, missing deallocation in the success\npath.\n\nFix this by freeing buf in the success path since this variable does not\nhave any references in other code.","modified":"2026-04-02T08:28:25.848880Z","published":"2025-09-15T14:49:24.523Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50326.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/23bc5eb55f8c9607965c20d9ddcc13cb1ae59568"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4285dd02b6b2ca3435b65fb62c053dd9408fd71"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50326.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50326"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ca9dc8d06ab64543a6a31adac5003349c5671218"},{"fixed":"f4285dd02b6b2ca3435b65fb62c053dd9408fd71"},{"fixed":"23bc5eb55f8c9607965c20d9ddcc13cb1ae59568"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50326.json"}}],"schema_version":"1.7.5"}