PT-2025-3629 · Linux+6 · Linux Kernel+6
Published
2024-12-07
·
Updated
2025-10-31
·
CVE-2024-57904
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
The issue is related to the Linux kernel, specifically the iio: adc: at91 module. The 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 requiring a call to input free device() on input instead of st->ts input.
Recommendations
For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider modifying the at91 ts register() function to call input free device() on the allocated iio dev instead of st->ts input.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu