CVE
CVE-2024-57904
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.13-rc6This version only
- 6.13-rc5This version only
- 6.13-rc4This version only
- 6.13-rc3This version only
- 6.13-rc2This version only
- 6.13-rc1This version only
- ≥ 6.7, < 6.12.10Fixed in 6.12.10
- ≥ 6.2, < 6.6.72Fixed in 6.6.72
- ≥ 5.16, < 6.1.125Fixed in 6.1.125
- ≥ 5.11, < 5.15.177Fixed in 5.15.177
- ≥ 5.5, < 5.10.234Fixed in 5.10.234
- ≥ 3.16, < 5.4.290Fixed in 5.4.290
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6 · Patch
- git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02 · Patch
- git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71 · Patch
- git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62 · Patch
- git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935 · Patch
- git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034 · Patch
- git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.