CVE-2024-57904
iio: adc: at91: call input_free_device() on allocated iio_dev
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 25ef52f1c15db67d890b80203a911b9a57b0bf71; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 09e067e3c83e0695d338e8a26916e3c2bc44be02; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < d115b7f3ddc03b38bb7e8754601556fe9b4fc034; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < de6a73bad1743e9e81ea5a24c178c67429ff510b
- Anyone running Linux 3.16
Vulnerability facts
- Affected
- Linux >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 25ef52f1c15db67d890b80203a911b9a57b0bf71; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 09e067e3c83e0695d338e8a26916e3c2bc44be02; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < d115b7f3ddc03b38bb7e8754601556fe9b4fc034; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < de6a73bad1743e9e81ea5a24c178c67429ff510b; Linux 3.16
- Fixed in
- Linux 028a1ba8e3bae593d701aee4f690ce7c195b67d6, Linux 25ef52f1c15db67d890b80203a911b9a57b0bf71, Linux 09e067e3c83e0695d338e8a26916e3c2bc44be02
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 25ef52f1c15db67d890b80203a911b9a57b0bf71; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 09e067e3c83e0695d338e8a26916e3c2bc44be02; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < d115b7f3ddc03b38bb7e8754601556fe9b4fc034; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < de6a73bad1743e9e81ea5a24c178c67429ff510b | — | cvelist |
| Linux | 3.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57904. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57904.md Affected: Linux >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6; >= 84882b060301c35ab7e2c1e… Fixed in: Linux 028a1ba8e3bae593d701aee4f690ce7c195b67d6, Linux 25ef52f1c15db67d890b80203a911b9a57b0bf71, Linux 09e067e3c83e0695d338e8a26916e3c2bc44be02 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935
- https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62
- https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6
- https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71
- https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02
- https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034
- https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b
FAQ
Is CVE-2024-57904 being exploited?
There is no confirmed exploitation: CVE-2024-57904 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57904?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57904?
Linux >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 25ef52f1c15db67d890b80203a911b9a57b0bf71; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 09e067e3c83e0695d338e8a26916e3c2bc44be02; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < d115b7f3ddc03b38bb7e8754601556fe9b4fc034; >= 84882b060301c35ab7e2c1ef355b0bd06b764195, < de6a73bad1743e9e81ea5a24c178c67429ff510b; Linux 3.16.
Is there a fix for CVE-2024-57904?
Yes. Fixed in Linux 028a1ba8e3bae593d701aee4f690ce7c195b67d6, Linux 25ef52f1c15db67d890b80203a911b9a57b0bf71, Linux 09e067e3c83e0695d338e8a26916e3c2bc44be02. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-57904?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.