CVE-2022-49794

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49794
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49794.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49794
Downstream
Related
Published
2025-05-01T14:09:25.124Z
Modified
2025-11-28T02:35:15.184823Z
Summary
iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
Details

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: at91adc: fix possible memory leak in at91adcallocatetrigger()

If iiotriggerregister() returns error, it should call iiotriggerfree() to give up the reference that hold in iiotriggeralloc(), so that it can call iiotrigrelease() to free memory when the refcount hit to 0.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49794.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0e589d5fb3172b0dde7fdad3a4829ce5352dd30d
Fixed
c3ce73f60599a483dca7becd4112508833a40ef9
Fixed
a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4
Fixed
2b29a7f2d52fb5281b30cf61c947d88bab18a29b
Fixed
7b75515728b628a9a7540f201efdeb8ca7299385
Fixed
85d2a8b287a89853c0dcfc5a97b5e9d36376fe37
Fixed
1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b
Fixed
c27a3b6ba23350708cf5ab9962337447b51eb76d
Fixed
65f20301607d07ee279b0804d11a05a62a6c1a1c

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
4.9.334
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.300
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.267
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.225
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.156
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.80
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.10