CVEvulnerability
CVE-2022-49794
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 3.5 < 4.9.334)
• linux linux kernel (>= 4.10 < 4.14.300)
• linux linux kernel (>= 4.15 < 4.19.267)
• linux linux kernel (>= 4.20 < 5.4.225)
• linux linux kernel (>= 5.5 < 5.10.156)
• linux linux kernel (>= 5.11 < 5.15.80)
• linux linux kernel (>= 5.16 < 6.0.10)
• linux linux kernel 6.1
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b Patch
- https://git.kernel.org/stable/c/2b29a7f2d52fb5281b30cf61c947d88bab18a29b Patch
- https://git.kernel.org/stable/c/65f20301607d07ee279b0804d11a05a62a6c1a1c Patch
- https://git.kernel.org/stable/c/7b75515728b628a9a7540f201efdeb8ca7299385 Patch
- https://git.kernel.org/stable/c/85d2a8b287a89853c0dcfc5a97b5e9d36376fe37 Patch
- https://git.kernel.org/stable/c/a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4 Patch
- https://git.kernel.org/stable/c/c27a3b6ba23350708cf5ab9962337447b51eb76d Patch
- https://git.kernel.org/stable/c/c3ce73f60599a483dca7becd4112508833a40ef9 Patch