CVE-2022-49794

MEDIUM

Linux Kernel <6.0.10 Use-After-Free in IIO ADC AT91 Trigger Allocation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (27)
linux/Kernel 3.5.0 - 4.9.334linux
linux/Kernel 4.10.0 - 4.14.300linux
linux/Kernel 4.15.0 - 4.19.267linux
linux/Kernel 4.20.0 - 5.4.225linux
linux/Kernel 5.11.0 - 5.15.80linux
linux/Kernel 5.16.0 - 6.0.10linux
linux/Kernel 5.5.0 - 5.10.156linux
Linux/Linux < 3.5
Linux/Linux 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d - 1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b
Linux/Linux 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d - 2b29a7f2d52fb5281b30cf61c947d88bab18a29b
... and 17 more
Published May 01, 2025
Tracked Since Feb 18, 2026