CVE-2022-49794

published 1 May 2025 · updated 11 May 2026

iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b, Kernel 2b29a7f2d52fb5281b30cf61c947d88bab18a29b, Kernel 65f20301607d07ee279b0804d11a05a62a6c1a1c and 5 more.

In the Linux kernel, the following vulnerability has been resolved: iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger() If iio_trigger_register() returns error, it should call iio_trigger_free() to give up the reference that hold in iio_trigger_alloc(), so that it can call iio_trig_release() to free memory when the refcount hit to 0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.5, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <2b29a7f2d52fb5281b30cf61c947d88bab18a29b, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <65f20301607d07ee279b0804d11a05a62a6c1a1c, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <7b75515728b628a9a7540f201efdeb8ca7299385, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <85d2a8b287a89853c0dcfc5a97b5e9d36376fe37, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <c27a3b6ba23350708cf5ab9962337447b51eb76d, >=0e589d5fb3172b0dde7fdad3a4829ce5352dd30d <c3ce73f60599a483dca7becd4112508833a40ef91bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b, 2b29a7f2d52fb5281b30cf61c947d88bab18a29b, 65f20301607d07ee279b0804d11a05a62a6c1a1c, 7b75515728b628a9a7540f201efdeb8ca7299385, 85d2a8b287a89853c0dcfc5a97b5e9d36376fe37, a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4, c27a3b6ba23350708cf5ab9962337447b51eb76d, c3ce73f60599a483dca7becd4112508833a40ef9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49794 severity on Zeptric[![CVE-2022-49794](https://zeptric.io/badge/cve/CVE-2022-49794.svg)](https://zeptric.io/cve/CVE-2022-49794)