{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-57904","id":"CVE-2024-57904","title":"iio: adc: at91: call input_free_device() on allocated iio_dev","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91: call input_free_device() on allocated iio_dev\n\nCurrent implementation of at91_ts_register() calls input_free_deivce()\non st->ts_input, however, the err label can be reached before the\nallocated iio_dev is stored to st->ts_input. Thus call\ninput_free_device() on input instead of st->ts_input.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91: call input_free_device() on allocated iio_dev\n\nCurrent implementation of at91_ts_register() calls input_free_deivce()\non st->ts_input, however, the err label can be reached before the\nallocated iio_dev is stored to st->ts_input. Thus call\ninput_free_device() on input instead of st->ts_input.","published":"2025-01-19T11:52:28.982Z","updated":"2026-10-28T02:30:34.222350679Z","reserved":"2025-01-19T11:50:08.372Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"b549c90bfe66f704878aa1e57b30ba15dab71935","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"ac8d932e3214c10ec641ad45a253929a596ead62","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"028a1ba8e3bae593d701aee4f690ce7c195b67d6","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"25ef52f1c15db67d890b80203a911b9a57b0bf71","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"09e067e3c83e0695d338e8a26916e3c2bc44be02","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"d115b7f3ddc03b38bb7e8754601556fe9b4fc034","status":"affected","versionType":"git"},{"version":"84882b060301c35ab7e2c1ef355b0bd06b764195","lessThan":"de6a73bad1743e9e81ea5a24c178c67429ff510b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"5.4.290","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.234","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.177","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.125","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.72","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.10","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57904.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57904","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00237,"epssPercentile":0.14927,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-57904","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57904","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-57904","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-57904","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}