# CVE-2024-57904: iio: adc: at91: call input\_free\_device() on allocated iio\_dev

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-19 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-57904, DEBIAN-CVE-2024-57904
- Record: https://cvemate.com/vulnerability/CVE-2024-57904 · JSON: https://cvemate.com/vulnerability/CVE-2024-57904/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.237%, percentile 15.754%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 139)

- debian linux (Debian): \< 6.1.128-1 \| \< 6.12.10-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-291.325 \| \< 4.15.0-261.273 \| \< 5.4.0-211.231 \| \< 5.15.0-135.146 \| \< 6.8.0-60.63
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-1162.168 \| \< 4.4.0-1200.215 \| \< 4.15.0-1198.211 \| \< 5.4.0-1142.152 \| \< 5.15.0-1080.87 \| \< 6.8.0-1029.31
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1029.31~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2136.142 \| All versions (No fix recorded) \| \< 5.4.0-1142.153+fips1 \| \< 5.15.0-1080.87+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1198.211~16.04.1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1208.223~14.04.1 \| \< 4.15.0-1208.223~16.04.1 \| \< 5.4.0-1147.154 \| \< 5.15.0-1084.93 \| \< 6.8.0-1029.34
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1208.223
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 57)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://ubuntu.com/security/CVE-2024-57904>
- <https://www.cve.org/CVERecord?id=CVE-2024-57904>
- <https://git.kernel.org/linus/de6a73bad1743e9e81ea5a24c178c67429ff510b>
- <https://ubuntu.com/security/notices/USN-7379-1>
- <https://ubuntu.com/security/notices/USN-7380-1>
- <https://ubuntu.com/security/notices/USN-7381-1>
- <https://ubuntu.com/security/notices/USN-7382-1>
- <https://ubuntu.com/security/notices/USN-7387-1>
- <https://ubuntu.com/security/notices/USN-7388-1>
- <https://ubuntu.com/security/notices/USN-7389-1>
- <https://ubuntu.com/security/notices/USN-7390-1>

---

Data as of 2026-12-05T07:20:59.694Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
