CVE-2024-26880

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 ]---
References
Link Resource
https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 Patch
https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af Patch
https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 Patch
https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 Patch
https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 Patch
https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 Patch
https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 Patch
https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 Patch
https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a Patch
https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 Patch
https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af Patch
https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 Patch
https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 Patch
https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 Patch
https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 Patch
https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 Patch
https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 Patch
https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

23 Dec 2025, 19:06

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 - () https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 - Patch
References () https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af - () https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af - Patch
References () https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 - () https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 - Patch
References () https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 - () https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 - Patch
References () https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 - () https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 - Patch
References () https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 - () https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 - Patch
References () https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 - () https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 - Patch
References () https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 - () https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 - Patch
References () https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a - () https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - Third Party Advisory
CVSS v2 : unknown
v3 : 6.3
v2 : unknown
v3 : 5.5
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-476

21 Nov 2024, 09:03

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
References () https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 - () https://git.kernel.org/stable/c/03ad5ad53e51abf3a4c7538c1bc67a5982b41dc5 -
References () https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af - () https://git.kernel.org/stable/c/15a3fc5c8774c17589dabfe1d642d40685c985af -
References () https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 - () https://git.kernel.org/stable/c/360a7d1be8112654f1fb328ed3862be630bca3f4 -
References () https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 - () https://git.kernel.org/stable/c/65e8fbde64520001abf1c8d0e573561b4746ef38 -
References () https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 - () https://git.kernel.org/stable/c/69836d9329f0b4c58faaf3d886a7748ddb5bf718 -
References () https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 - () https://git.kernel.org/stable/c/ad10289f68f45649816cc68eb93f45fd5ec48a15 -
References () https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 - () https://git.kernel.org/stable/c/da7ece2197101b1469853e6b5e915be1e3896d52 -
References () https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 - () https://git.kernel.org/stable/c/ef02d8edf738557af2865c5bfb66a03c4e071be7 -
References () https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a - () https://git.kernel.org/stable/c/f89bd27709376d37ff883067193320c58a8c1d5a -

05 Nov 2024, 10:15

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

01 Nov 2024, 18:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.3

27 Jun 2024, 12:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -

25 Jun 2024, 22:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: dm: llamar al método de reanudación en suspensión interna. Se informó este bloqueo al experimentar con el conjunto de pruebas lvm2. La corrupción de la lista se debe al hecho de que los métodos de possuspensión y reanudación no se emparejaron correctamente; hubo dos llamadas consecutivas a la función origin_postsuspend. La segunda llamada intenta eliminar la entrada "hash_list" de una lista, mientras que la primera llamada ya la eliminó. Corrige __dm_internal_resume para que llame a los métodos preresume y resume de los objetivos de la tabla. Si falla un método de reanudación previa de algún objetivo, estamos en una situación complicada. No podemos devolver un error porque se supone que dm_internal_resume no devuelve errores. No podemos devolver el éxito, porque entonces los métodos "reanudar" y "postsuspender" no se emparejarían correctamente. Entonces, configuramos el indicador DMF_SUSPENDED y simulamos una suspensión normal; puede confundir las herramientas del espacio de usuario, pero no causará una falla del kernel. ------------[ cortar aquí ]------------ ¡ERROR del kernel en lib/list_debug.c:56! código de operación no válido: 0000 [#1] PREEMPT SMP CPU: 1 PID: 8343 Comm: dmsetup Not tainted 6.8.0-rc6 #4 Nombre de hardware: PC estándar QEMU (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/ 01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x77/0xc0 RSP: 0018:ffff8881b831bcc0 EFLAGS: 00010282 RAX: 000000000000004e RBX: ffff888143b6eb80 0000000000000000 RDX: 0000000000000001 RSI: ffffffff819053d0 RDI: 00000000ffffffff RBP: ffff8881b83a3400 R08: 00000000fffeffff R09: 8 R10: 0000000000000000 R11: ffffffff81a24080 R12: 0000000000000001 R13: ffff88814538e000 R14: ffff888143bc6dc0 R15: fffffffa02e4bb0 FS: 7c0f780(0000) GS:ffff8893f0a40000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000057fb5000 CR3: 0000000143474000 CR4: 00000000000006b0 Seguimiento de llamadas: ? morir+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 modo] ? 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 entrada _SYSCALL_64_after_hwframe+0x46/0x4e RIP: 0033:0xf7e6aead --- [fin de seguimiento 0000000000000000]---

17 Apr 2024, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-17 11:15

Updated : 2025-12-23 19:06


NVD link : CVE-2024-26880

Mitre link : CVE-2024-26880

CVE.ORG link : CVE-2024-26880


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference