CVE-2024-57904

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-57904
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-57904.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-57904
Downstream
Related
Published
2025-01-19T11:52:28.982Z
Modified
2025-11-28T02:33:51.859319Z
Summary
iio: adc: at91: call input_free_device() on allocated iio_dev
Details

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: at91: call inputfreedevice() on allocated iio_dev

Current implementation of at91tsregister() calls inputfreedeivce() on st->tsinput, however, the err label can be reached before the allocated iiodev is stored to st->tsinput. Thus call inputfreedevice() on input instead of st->tsinput.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57904.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
84882b060301c35ab7e2c1ef355b0bd06b764195
Fixed
b549c90bfe66f704878aa1e57b30ba15dab71935
Fixed
ac8d932e3214c10ec641ad45a253929a596ead62
Fixed
028a1ba8e3bae593d701aee4f690ce7c195b67d6
Fixed
25ef52f1c15db67d890b80203a911b9a57b0bf71
Fixed
09e067e3c83e0695d338e8a26916e3c2bc44be02
Fixed
d115b7f3ddc03b38bb7e8754601556fe9b4fc034
Fixed
de6a73bad1743e9e81ea5a24c178c67429ff510b

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.16.0
Fixed
5.4.290
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.234
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.177
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.125
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.72
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.10