{"id":"CVE-2022-49794","aliases":["CVE-2022-49794"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()\n\nIf iio_trigger_register() returns error, it should call iio_trigger_free()\nto give up the reference that hold in iio_trigger_alloc(), so that it can\ncall iio_trig_release() to free memory when the refcount hit to 0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()\n\nIf iio_trigger_register() returns error, it should call iio_trigger_free()\nto give up the reference that hold in iio_trigger_alloc(), so that it can\ncall iio_trig_release() to free memory when the refcount hit to 0.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: adc: at91_adc: corrige posible pérdida de memoria en at91_adc_allocate_trigger() Si iio_trigger_register() devuelve un error, debe llamar a iio_trigger_free() para renunciar a la referencia contenida en iio_trigger_alloc(), de modo que pueda llamar a iio_trig_release() para liberar memoria cuando el recuento de referencias llegue a 0.","source":"nvd"}],"published":"2025-05-01T14:09:25.124Z","modified":"2026-06-17T05:19:09.873Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"c3ce73f60599a483dca7becd4112508833a40ef9","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"2b29a7f2d52fb5281b30cf61c947d88bab18a29b","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"7b75515728b628a9a7540f201efdeb8ca7299385","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"85d2a8b287a89853c0dcfc5a97b5e9d36376fe37","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"c27a3b6ba23350708cf5ab9962337447b51eb76d","status":"affected"},{"type":"git","introduced":"0e589d5fb3172b0dde7fdad3a4829ce5352dd30d","fixed":"65f20301607d07ee279b0804d11a05a62a6c1a1c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.9.334","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.300","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.267","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.225","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.156","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.80","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.5","fixed":"4.9.334"},{"status":"affected","introduced":"4.10","fixed":"4.14.300"},{"status":"affected","introduced":"4.15","fixed":"4.19.267"},{"status":"affected","introduced":"4.20","fixed":"5.4.225"},{"status":"affected","introduced":"5.5","fixed":"5.10.156"},{"status":"affected","introduced":"5.11","fixed":"5.15.80"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c3ce73f60599a483dca7becd4112508833a40ef9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b29a7f2d52fb5281b30cf61c947d88bab18a29b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b75515728b628a9a7540f201efdeb8ca7299385","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85d2a8b287a89853c0dcfc5a97b5e9d36376fe37","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c27a3b6ba23350708cf5ab9962337447b51eb76d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65f20301607d07ee279b0804d11a05a62a6c1a1c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49794","url":"https://www.cve.org/CVERecord?id=CVE-2022-49794","licence":"CVE Terms of Use","modified":"2026-05-11T19:06:54.822Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49794","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49794","licence":"Public domain","modified":"2026-06-17T05:19:09.873Z"}],"updatedAt":"2026-11-25T22:58:20.873Z","epss":{"score":0.00285,"percentile":0.1368,"date":"2026-11-30T12:00:22.000Z"}}