Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before c3ce73f60599a483dca7becd4112508833a40ef9; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before 2b29a7f2d52fb5281b30cf61c947d88bab18a29b; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before 7b75515728b628a9a7540f201efdeb8ca7299385; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before 85d2a8b287a89853c0dcfc5a97b5e9d36376fe37; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before 1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before c27a3b6ba23350708cf5ab9962337447b51eb76d; affected 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d before 65f20301607d07ee279b0804d11a05a62a6c1a1c |
| Linux / Linux | affected 3.5; unaffected 0 before 3.5; unaffected 4.9.334 through 4.9.*; unaffected 4.14.300 through 4.14.*; unaffected 4.19.267 through 4.19.*; unaffected 5.4.225 through 5.4.*; unaffected 5.10.156 through 5.10.*; unaffected 5.15.80 through 5.15.*; unaffected 6.0.10 through 6.0.*; unaffected 6.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c3ce73f60599a483dca7becd4112508833a40ef9
- https://git.kernel.org/stable/c/a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4
- https://git.kernel.org/stable/c/2b29a7f2d52fb5281b30cf61c947d88bab18a29b
- https://git.kernel.org/stable/c/7b75515728b628a9a7540f201efdeb8ca7299385
- https://git.kernel.org/stable/c/85d2a8b287a89853c0dcfc5a97b5e9d36376fe37
- https://git.kernel.org/stable/c/1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b
- https://git.kernel.org/stable/c/c27a3b6ba23350708cf5ab9962337447b51eb76d
- https://git.kernel.org/stable/c/65f20301607d07ee279b0804d11a05a62a6c1a1c