CVE-2024-53181

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/12/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> um: vector: Do not use drvdata in release<br /> <br /> The drvdata is not available in release. Let&amp;#39;s just use container_of()<br /> to get the vector_device instance. Otherwise, removing a vector device<br /> will result in a crash:<br /> <br /> RIP: 0033:vector_device_release+0xf/0x50<br /> RSP: 00000000e187bc40 EFLAGS: 00010202<br /> RAX: 0000000060028f61 RBX: 00000000600f1baf RCX: 00000000620074e0<br /> RDX: 000000006220b9c0 RSI: 0000000060551c80 RDI: 0000000000000000<br /> RBP: 00000000e187bc50 R08: 00000000603ad594 R09: 00000000e187bb70<br /> R10: 000000000000135a R11: 00000000603ad422 R12: 00000000623ae028<br /> R13: 000000006287a200 R14: 0000000062006d30 R15: 00000000623700b6<br /> Kernel panic - not syncing: Segfault with no mm<br /> CPU: 0 UID: 0 PID: 16 Comm: kworker/0:1 Not tainted 6.12.0-rc6-g59b723cd2adb #1<br /> Workqueue: events mc_work_proc<br /> Stack:<br /> 60028f61 623ae028 e187bc80 60276fcd<br /> 6220b9c0 603f5820 623ae028 00000000<br /> e187bcb0 603a2bcd 623ae000 62370010<br /> Call Trace:<br /> [] ? vector_device_release+0x0/0x50<br /> [] device_release+0x70/0xba<br /> [] kobject_put+0xba/0xe7<br /> [] put_device+0x19/0x1c<br /> [] platform_device_put+0x26/0x29<br /> [] platform_device_unregister+0x2c/0x2e<br /> [] vector_remove+0x52/0x58<br /> [] ? mconsole_reply+0x0/0x50<br /> [] mconsole_remove+0x160/0x1cc<br /> [] ? strlen+0x0/0x15<br /> [] ? __dequeue_entity+0x1a9/0x206<br /> [] ? set_next_entity+0x39/0x63<br /> [] ? set_next_entity+0x0/0x63<br /> [] ? um_set_signals+0x0/0x43<br /> [] mc_work_proc+0x77/0x91<br /> [] process_scheduled_works+0x1b3/0x2dd<br /> [] ? assign_work+0x0/0x58<br /> [] worker_thread+0x1e9/0x293<br /> [] ? set_pf_worker+0x0/0x64<br /> [] ? arch_local_irq_save+0x0/0x2d<br /> [] ? kthread_exit+0x0/0x3a<br /> [] ? worker_thread+0x0/0x293<br /> [] kthread+0x126/0x12b<br /> [] new_thread_handler+0x85/0xb6

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.325 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.287 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.231 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.174 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.120 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.64 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12 (including) 6.12.2 (excluding)