CVE-2022-49794
iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
Check your servers for CVE-2022-49794
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49794 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before c3ce73f60599a483dca7becd4112508833a40ef9 affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4 affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before 2b29a7f2d52fb5281b30cf61c947d88bab18a29b affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before 7b75515728b628a9a7540f201efdeb8ca7299385 affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before 85d2a8b287a89853c0dcfc5a97b5e9d36376fe37 affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before 1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before c27a3b6ba23350708cf5ab9962337447b51eb76d affected from 0e589d5fb3172b0dde7fdad3a4829ce5352dd30d, before 65f20301607d07ee279b0804d11a05a62a6c1a1c
Other versions: unaffected
|
| Linux |
affected 3.5 unaffected before 3.5 unaffected from 4.9.334 up to and including 4.9.* unaffected from 4.14.300 up to and including 4.14.* unaffected from 4.19.267 up to and including 4.19.* unaffected from 5.4.225 up to and including 5.4.* unaffected from 5.10.156 up to and including 5.10.* unaffected from 5.15.80 up to and including 5.15.* unaffected from 6.0.10 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49794 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49794
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49794
trivy image --scanners vuln IMAGE | grep CVE-2022-49794
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c3ce73f60599a483dca7becd4112508833a40ef9 git.kernel.org
- https://git.kernel.org/stable/c/a0d98ae5a62a7bbad8fcf9fa22e0a1274197bbc4 git.kernel.org
- https://git.kernel.org/stable/c/2b29a7f2d52fb5281b30cf61c947d88bab18a29b git.kernel.org
- https://git.kernel.org/stable/c/7b75515728b628a9a7540f201efdeb8ca7299385 git.kernel.org
- https://git.kernel.org/stable/c/85d2a8b287a89853c0dcfc5a97b5e9d36376fe37 git.kernel.org
- https://git.kernel.org/stable/c/1bf8c0aff8fb5c4edf3ba6728e6bedbd610d7f4b git.kernel.org
- https://git.kernel.org/stable/c/c27a3b6ba23350708cf5ab9962337447b51eb76d git.kernel.org
- https://git.kernel.org/stable/c/65f20301607d07ee279b0804d11a05a62a6c1a1c git.kernel.org
Source: the record CVE-2022-49794 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse