PT-2024-36880 · Linux+7 · Linux Kernel+7

Li Zetao

·

Published

2024-12-27

·

Updated

2025-10-03

·

CVE-2024-56574

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.12.0-rc2+
Description A null pointer dereference issue was found in the Linux kernel when using sysfs to dynamically register an i2c device. The issue occurs because the probe process of ts2020 needs to use platform data, but no platform data is available when using sysfs. This results in a null pointer being accessed. The issue was reported by KASAN when executing the command # echo ts2020 0x20 > /sys/bus/i2c/devices/i2c-0/new device. The ts2020 probe() function is vulnerable to this issue.
Recommendations To resolve this issue, add checks to the platform data in the ts2020 probe() function to prevent null pointer dereferences. As a temporary workaround, consider disabling the ts2020 probe() function until a patch is available. Restrict access to the vulnerable ts2020 module to minimize the risk of exploitation. Avoid using the sysfs interface to dynamically register i2c devices until the issue is resolved. Update to a version of the Linux kernel that includes the fix for this issue.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2024-17893
ALT-PU-2025-12647
AZL-54777
AZL-54901
BDU:2025-04499
CVE-2024-56574
DLA-4075-1
DLA-4076-1
OESA-2025-1286
OESA-2025-1450
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:0565-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu