Vulnerability · Published Apr 17, 2024 · Assigned by Linux

CVE-2024-26880dm: call the resume method on internal suspend

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.7%top 46.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: dm: call the resume method on internal suspend There is this reported crash when experimenting with the lvm2 testsuite. The list corruption is caused by the fact that the postsuspend and resume methods were not paired correctly; there were two consecutive calls to the origin_postsuspend function. The second call attempts to remove the "hash_list" entry from a list, while it was already removed by the first call. Fix __dm_internal_resume so that it calls the preresume and resume methods of the table's targets. If a preresume method of some target fails, we are in a tricky situation. We can't return an error because dm_internal_resume isn't supposed to return errors. We can't return success, because then the "resume" and "postsuspend" methods would not be paired correctly. So, we set the DMF_SUSPENDED flag and we fake normal suspend - it may confuse userspace tools, but it won't cause a kernel crash. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:56! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 8343 Comm: dmsetup Not tainted 6.8.0-rc6 #4 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x77/0xc0 <snip> RSP: 0018:ffff8881b831bcc0 EFLAGS: 00010282 RAX: 000000000000004e RBX: ffff888143b6eb80 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff819053d0 RDI: 00000000ffffffff RBP: ffff8881b83a3400 R08: 00000000fffeffff R09: 0000000000000058 R10: 0000000000000000 R11: ffffffff81a24080 R12: 0000000000000001 R13: ffff88814538e000 R14: ffff888143bc6dc0 R15: ffffffffa02e4bb0 FS: 00000000f7c0f780(0000) GS:ffff8893f0a40000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000057fb5000 CR3: 0000000143474000 CR4: 00000000000006b0 Call Trace: <TASK> ? die+0x2d/0x80 ? do_trap+0xeb/0xf0 ? __list_del_entry_valid_or_report+0x77/0xc0 ? do_error_trap+0x60/0x80 ? __list_del_entry_valid_or_report+0x77/0xc0 ? exc_invalid_op+0x49/0x60 ? __list_del_entry_valid_or_report+0x77/0xc0 ? asm_exc_invalid_op+0x16/0x20 ? table_deps+0x1b0/0x1b0 [dm_mod] ? __list_del_entry_valid_or_report+0x77/0xc0 origin_postsuspend+0x1a/0x50 [dm_snapshot] dm_table_postsuspend_targets+0x34/0x50 [dm_mod] dm_suspend+0xd8/0xf0 [dm_mod] dev_suspend+0x1f2/0x2f0 [dm_mod] ? table_deps+0x1b0/0x1b0 [dm_mod] ctl_ioctl+0x300/0x5f0 [dm_mod] dm_compat_ctl_ioctl+0x7/0x10 [dm_mod] __x64_compat_sys_ioctl+0x104/0x170 do_syscall_64+0x184/0x1b0 entry_SYSCALL_64_after_hwframe+0x46/0x4e RIP: 0033:0xf7e6aead <snip> ---[ end trace 0000000000000000 ]---

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9bpftool7.3.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-devel-matched5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-debug-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-devel-matched5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-64k-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-abi-stablelists5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-cross-headers5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-devel-matched5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-debug-uki-virt5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-devel-matched5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-doc5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-headers5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-core4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-debug4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-debug5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-debug-core4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-debug-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-debug-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-debug-kvm4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-debug-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-rt-debug-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-devel4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-kvm4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:8kernel-rt-modules4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-rt-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.22.1.rt7.363.el8_10ALSA-2024:7001
AlmaLinux:9kernel-rt-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-tools5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-tools-libs5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-tools-libs-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-uki-virt5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-devel5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-modules5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-modules-core5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9libperf5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9perf5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9python3-perf5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9rtla5.14.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux:9rv5.14.0-427.28.1.el9_4ALSA-2024:4928
Debian:12linux6.1.85-1DEBIAN-CVE-2024-26880
Debian:13linux6.7.12-1DEBIAN-CVE-2024-26880
Debian:14linux6.7.12-1DEBIAN-CVE-2024-26880
Rocky Linux:9kernel0:5.14.0-427.28.1.el9_4.cloud.1.0RXSA-2024:4928
Rocky Linux:9kernel0:5.14.0-427.28.1.el9_4RLSA-2024:4928
Rocky Linux:8kernel-rt0:4.18.0-553.22.1.rt7.363.el8_10RLSA-2024:7001
Ubuntu:22.04:LTSlinux5.15.0-112.122UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux6.8.0-35.35UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-aws5.15.0-1063.69UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-aws6.8.0-1009.9UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure5.15.0-1066.75UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-azure6.8.0-1008.8UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1067.76.1UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gcp5.15.0-1062.70UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-gcp6.8.0-1008.9UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gke5.15.0-1060.66UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-gke6.8.0-1004.7UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1046.53UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-ibm5.15.0-1056.59UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-ibm6.8.0-1006.6UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1058.64UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-kvm5.15.0-1060.65UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-110.120UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-35.35.1UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1058.59UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1026.26UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1015.15UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1006.6UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oracle5.15.0-1061.67UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-oracle6.8.0-1006.6UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-raspi5.15.0-1058.61UBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-raspi6.8.0-1005.5UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-26880
Ubuntu:24.04:LTSlinux-riscv6.8.0-35.35.1UBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2024-26880
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1030.34UBUNTU-CVE-2024-26880

Affected products (as reported)

VendorProductVersions
Linux Linux ffcc39364160663cda1a3c358f4537302a92459b – before 69836d9329f0b4c58faaf3d886a7748ddb5bf718ffcc39364160663cda1a3c358f4537302a92459b – before da7ece2197101b1469853e6b5e915be1e3896d52ffcc39364160663cda1a3c358f4537302a92459b – before f89bd27709376d37ff883067193320c58a8c1d5affcc39364160663cda1a3c358f4537302a92459b – before 03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5ffcc39364160663cda1a3c358f4537302a92459b – before ad10289f68f45649816cc68eb93f45fd5ec48a15ffcc39364160663cda1a3c358f4537302a92459b – before 15a3fc5c8774c17589dabfe1d642d40685c985afffcc39364160663cda1a3c358f4537302a92459b – before ef02d8edf738557af2865c5bfb66a03c4e071be7ffcc39364160663cda1a3c358f4537302a92459b – before 360a7d1be8112654f1fb328ed3862be630bca3f4
Linux Linux 3.19

References