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

Published

2024-05-15

·

Updated

2026-01-12

·

CVE-2024-42136

CVSS v3.1

7.8

High

VectorAV: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.43
Description The vulnerability is related to a signed integer overflow in the cdrom ioctl timed media change() function of the Linux kernel. This issue can be exploited to impact the confidentiality, integrity, and availability of protected information. The vulnerability was identified using the syzkaller tool with the newly reintroduced signed integer wrap sanitizer, which encountered a splat indicating a signed-integer-overflow in the ../drivers/cdrom/cdrom.c file. The issue is caused by the interaction between the signed integer overflow sanitizer and the -fwrapv flag, which has been changed in the newest version of Clang. To resolve this issue, the check has been rearranged to avoid performing any arithmetic, thus not tripping the sanitizer.
Recommendations Update to Linux kernel version 6.6.43 or later to resolve the vulnerability. As a temporary workaround, consider disabling the cdrom ioctl() function until a patch is available. Restrict access to the vulnerable module to minimize the risk of exploitation. Avoid using deprecated SCSI ioctl, and convert to SG IO instead.

Exploit

Fix

Integer Overflow

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

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-49313
BDU:2024-08082
CVE-2024-42136
DLA-4008-1
MGASA-2024-0277
MGASA-2024-0278
OESA-2024-2076
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

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