PT-2023-9432 · Linux+4 · Linux Kernel+4

Zhang Shurong

·

Published

2023-07-19

·

Updated

2025-02-03

·

CVE-2023-52915

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.5.4
Description The issue is related to a null pointer dereference in the af9035 i2c master xfer function. In this function, msg is controlled by the user, and when msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed, allowing malicious data to reach af9035 i2c master xfer. If msg[i].buf[0] is accessed without a sanity check, a null pointer dereference would occur. A check on msg[i].len has been added to prevent the crash.
Recommendations To resolve the issue, upgrade the Linux kernel to a version newer than 6.5.4. As a temporary workaround, consider restricting access to the af9035 i2c master xfer function until a patch is available.

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-2023-8486
BDU:2024-07476
CVE-2023-52915
OESA-2024-2151
OESA-2024-2152
OESA-2024-2153
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_4315-1
OPENSUSE-SU-2024_4376-1
SUSE-SU-2024:3551-1
SUSE-SU-2024:3553-1
SUSE-SU-2024:3559-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3566-1
SUSE-SU-2024:3591-1
SUSE-SU-2024:4315-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4376-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1

Affected Products

Alt Linux
Astra Linux
Linux Kernel
Red Os
Suse