CVE-2024-57904
iio: adc: at91: call input_free_device() on allocated iio_dev
Check your servers for CVE-2024-57904
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-2024-57904 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: call input_free_device() on allocated iio_dev
Current implementation of at91_ts_register() calls input_free_deivce() on st->ts_input, however, the err label can be reached before the allocated iio_dev is stored to st->ts_input. Thus call input_free_device() on input instead of st->ts_input.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before b549c90bfe66f704878aa1e57b30ba15dab71935 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before ac8d932e3214c10ec641ad45a253929a596ead62 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before 028a1ba8e3bae593d701aee4f690ce7c195b67d6 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before 25ef52f1c15db67d890b80203a911b9a57b0bf71 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before 09e067e3c83e0695d338e8a26916e3c2bc44be02 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before d115b7f3ddc03b38bb7e8754601556fe9b4fc034 affected from 84882b060301c35ab7e2c1ef355b0bd06b764195, before de6a73bad1743e9e81ea5a24c178c67429ff510b
Other versions: unaffected
|
| Linux |
affected 3.16 unaffected before 3.16 unaffected from 5.4.290 up to and including 5.4.* unaffected from 5.10.234 up to and including 5.10.* unaffected from 5.15.177 up to and including 5.15.* unaffected from 6.1.125 up to and including 6.1.* unaffected from 6.6.72 up to and including 6.6.* unaffected from 6.12.10 up to and including 6.12.* unaffected 6.13 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-2024-57904 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-57904
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-2024-57904
trivy image --scanners vuln IMAGE | grep CVE-2024-57904
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/b549c90bfe66f704878aa1e57b30ba15dab71935 git.kernel.org
- https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62 git.kernel.org
- https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6 git.kernel.org
- https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71 git.kernel.org
- https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02 git.kernel.org
- https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034 git.kernel.org
- https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-57904 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