CVE-2022-49794 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's IIO ADC AT91 driver. The issue arises in the 'at91_adc_allocate_trigger()' function, where the 'iio_trigger_register()' call can fail. In such cases, the function does not release the allocated trigger, leading to a memory leak. The 'iio_trigger_free()' function should be called to free the memory once the reference count drops to zero.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b | kernel.org | Patch |
| https://git.kernel.org/stable/c/2b29a7f2d52fb5281b30cf61c947d88bab18a29b | kernel.org | Patch |
| https://git.kernel.org/stable/c/65f20301607d07ee279b0804d11a05a62a6c1a1c | kernel.org | Patch |
| https://git.kernel.org/stable/c/7b75515728b628a9a7540f201efdeb8ca7299385 | kernel.org | Patch |
| https://git.kernel.org/stable/c/85d2a8b287a89853c0dcfc5a97b5e9d36376fe37 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c27a3b6ba23350708cf5ab9962337447b51eb76d | kernel.org | Patch |
| https://git.kernel.org/stable/c/c3ce73f60599a483dca7becd4112508833a40ef9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.5, < 4.9.334 >= 4.10, < 4.14.300 >= 4.15, < 4.19.267 >= 4.20, < 5.4.225 >= 5.5, < 5.10.156 >= 5.11, < 5.15.80 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 6, 2025 | Reanalysis | [email protected] |
| Nov 3, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |