CVE-2024-57904

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

State
Published
Severity
Not scored
Published
Jan 19, 2025
Updated
May 11, 2026
Reserved
Jan 19, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before b549c90bfe66f704878aa1e57b30ba15dab71935Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before ac8d932e3214c10ec641ad45a253929a596ead62Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before 028a1ba8e3bae593d701aee4f690ce7c195b67d6Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before 25ef52f1c15db67d890b80203a911b9a57b0bf71Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before 09e067e3c83e0695d338e8a26916e3c2bc44be02Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before d115b7f3ddc03b38bb7e8754601556fe9b4fc034Affected
  • 84882b060301c35ab7e2c1ef355b0bd06b764195 to before de6a73bad1743e9e81ea5a24c178c67429ff510bAffected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 5.4.290 through 5.4.*Not affected
  • 5.10.234 through 5.10.*Not affected
  • 5.15.177 through 5.15.*Not affected
  • 6.1.125 through 6.1.*Not affected
  • 6.6.72 through 6.6.*Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.