{
  "cveId": "CVE-2024-42136",
  "url": "https://patchblox.com/security/cve/CVE-2024-42136",
  "summary": "CVE-2024-42136 is fixed in 43 products on 1 platform, first by DEBIAN-CVE-2024-42136, released July 30, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  cdrom: rearrange last_media_change check to avoi...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  cdrom: rearrange last_media_change check to avoid unintentional overflow  When running syzkaller with the newly reintroduced signed integer wrap sanitizer we encounter this splat:  [  366.015950] UBSAN: signed-integer-overflow in ../drivers/cdrom/cdrom.c:2361:33 [  366.021089] -9223372036854775808 - 346321 cannot be represented in type \u0027__s64\u0027 (aka \u0027long long\u0027) [  366.025894] program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO [  366.027502] CPU: 5 PID: 28472 Comm: syz-executor.7 Not tainted 6.8.0-rc2-00035-gb3ef86b5a957 #1 [  366.027512] Hardware name: QEMU Standard PC (i440FX \u002B PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [  366.027518] Call Trace: [  366.027523]  \u003CTASK\u003E [  366.027533]  dump_stack_lvl\u002B0x93/0xd0 [  366.027899]  handle_overflow\u002B0x171/0x1b0 [  366.038787] ata1.00: invalid multi_count 32 ignored [  366.043924]  cdrom_ioctl\u002B0x2c3f/0x2d10 [  366.063932]  ? __pm_runtime_resume\u002B0xe6/0x130 [  366.071923]  sr_block_ioctl\u002B0x15d/0x1d0 [  366.074624]  ? __pfx_sr_block_ioctl\u002B0x10/0x10 [  366.077642]  blkdev_ioctl\u002B0x419/0x500 [  366.080231]  ? __pfx_blkdev_ioctl\u002B0x10/0x10 ...  Historically, the signed integer overflow sanitizer did not work in the kernel due to its interaction with \u0060-fwrapv\u0060 but this has since been changed [1] in the newest version of Clang. It was re-enabled in the kernel with Commit 557f8c582a9ba8ab (\u0022ubsan: Reintroduce signed overflow sanitizer\u0022).  Let\u0027s rearrange the check to not perform any arithmetic, thus not tripping the sanitizer.",
  "published": "2024-07-30T08:15:05Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00234,
  "epssPercentile": 0.14386,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "bpftool",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "bpftool-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-aarch64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-x86_64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1.150600.12.8.3",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1.150600.12.8.3",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-headers",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-static",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-6.1.102-108.177",
      "release": "amzn 2023",
      "fixedVersion": "1.0-0.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6-RT_Update_2",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.1.3.2",
      "fix": "SUSE-SU-2024:3195-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3195-1",
      "released": "2024-09-10T14:10:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6_Update_4",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.13.3.3",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules-extra",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules-extra-common",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.8.3",
      "fix": "SUSE-SU-2024:3195-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3195-1",
      "released": "2024-09-10T14:10:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt_debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.8.3",
      "fix": "SUSE-SU-2024:3195-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3195-1",
      "released": "2024-09-10T14:10:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.8.3",
      "fix": "SUSE-SU-2024:3195-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3195-1",
      "released": "2024-09-10T14:10:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.11.1",
      "fix": "SUSE-SU-2024:3194-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3194-1",
      "released": "2024-09-10T09:06:25Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.8.1",
      "fix": "SUSE-SU-2024:3195-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3195-1",
      "released": "2024-09-10T14:10:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.22.1",
      "fix": "SUSE-SU-2024:3383-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3383-1",
      "released": "2024-09-23T08:29:55Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.98-1",
      "fix": "DEBIAN-CVE-2024-42136",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-42136",
      "released": "2024-07-30T08:15:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.9.9-1",
      "fix": "DEBIAN-CVE-2024-42136",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-42136",
      "released": "2024-07-30T08:15:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.9.9-1",
      "fix": "DEBIAN-CVE-2024-42136",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-42136",
      "released": "2024-07-30T08:15:05Z"
    },
    {
      "platform": "linux",
      "product": "perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.102-108.177.amzn2023",
      "fix": "ALAS2023-2024-679",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-679",
      "released": "2024-08-01T04:06:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}