CVE-2024-46738

linux: In the Linux kernel, the following vulnerability has been resolved: VMCI: Fix use-after-free when removing resource...

CVE-2024-46738 is fixed in 57 products on 1 platform, first by DEBIAN-CVE-2024-46738, released September 18, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0028
20th percentile

In the Linux kernel, the following vulnerability has been resolved: VMCI: Fix use-after-free when removing resource in vmci_resource_remove() When removing a resource from vmci_resource_table in vmci_resource_remove(), the search is performed using the resource handle by comparing context and resource fields. It is possible though to create two resources with different types but same handle (same context and resource fields). When trying to remove one of the resources, vmci_resource_remove() may not remove the intended one, but the object will still be freed as in the case of the datagram type in vmci_datagram_destroy_handle(). vmci_resource_table will still hold a pointer to this freed resource leading to a use-after-free vulnerability. BUG: KASAN: use-after-free in vmci_handle_is_equal include/linux/vmw_vmci_defs.h:142 [inline] BUG: KASAN: use-after-free in vmci_resource_remove+0x3a1/0x410 drivers/misc/vmw_vmci/vmci_resource.c:147 Read of size 4 at addr ffff88801c16d800 by task syz-executor197/1592 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x82/0xa9 lib/dump_stack.c:106 print_address_description.constprop.0+0x21/0x366 mm/kasan/report.c:239 __kasan_report.cold+0x7f/0x132 mm/kasan/report.c:425 kasan_report+0x38/0x51 mm/kasan/report.c:442 vmci_handle_is_equal include/linux/vmw_vmci_defs.h:142 [inline] vmci_resource_remove+0x3a1/0x410 drivers/misc/vmw_vmci/vmci_resource.c:147 vmci_qp_broker_detach+0x89a/0x11b9 drivers/misc/vmw_vmci/vmci_queue_pair.c:2182 ctx_free_ctx+0x473/0xbe1 drivers/misc/vmw_vmci/vmci_context.c:444 kref_put include/linux/kref.h:65 [inline] vmci_ctx_put drivers/misc/vmw_vmci/vmci_context.c:497 [inline] vmci_ctx_destroy+0x170/0x1d6 drivers/misc/vmw_vmci/vmci_context.c:195 vmci_host_close+0x125/0x1ac drivers/misc/vmw_vmci/vmci_host.c:143 __fput+0x261/0xa34 fs/file_table.c:282 task_work_run+0xf0/0x194 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x184/0x189 kernel/entry/common.c:187 exit_to_user_mode_prepare+0x11b/0x123 kernel/entry/common.c:220 __syscall_exit_to_user_mode_work kernel/entry/common.c:302 [inline] syscall_exit_to_user_mode+0x18/0x42 kernel/entry/common.c:313 do_syscall_64+0x41/0x85 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x6e/0x0 This change ensures the type is also checked when removing the resource from vmci_resource_table in vmci_resource_remove().

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
bpftool-debuginfo · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
dtb-aarch64 · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-64kb · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-64kb · sles 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-azure · opensuse-leap 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-azure · sles 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-coco · sles 15.6 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1 Oct 8, 2024
kernel-coco_debug · sles 15.6 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1 Oct 8, 2024
kernel-debug · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-debuginfo · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-debuginfo-common-aarch64 · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-debuginfo-common-x86_64 · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-default · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-default · sles 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-default-base · opensuse-leap 15.6 6.4.0-150600.23.25.1.150600.12.10.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-default-base · sles 15.6 6.4.0-150600.23.25.1.150600.12.10.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-devel · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-docs · opensuse-leap 15.6 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-docs · sles 15.6 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-headers · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-kvmsmall · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-libbpf · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-libbpf-devel · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-libbpf-static · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-livepatch-6.1.111-120.187 · amzn 2023 1.0-0.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-livepatch-SLE15-SP6-RT_Update_4 · sles 15.6 1-150600.1.3.1 SUSE-SU-2024:3564-1 Oct 9, 2024
kernel-livepatch-SLE15-SP6_Update_5 · sles 15.6 1-150600.13.3.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-modules-extra · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-modules-extra-common · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-obs-build · opensuse-leap 15.6 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-obs-build · sles 15.6 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-obs-qa · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-rt · opensuse-leap 15.6 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1 Oct 9, 2024
kernel-rt_debug · opensuse-leap 15.6 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1 Oct 9, 2024
kernel-source · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-source · sles 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-source-azure · opensuse-leap 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-source-azure · sles 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-source-coco · sles 15.6 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1 Oct 8, 2024
kernel-source-rt · opensuse-leap 15.6 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1 Oct 9, 2024
kernel-syms · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-syms · sles 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-syms-azure · opensuse-leap 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-syms-azure · sles 15.6 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1 Oct 8, 2024
kernel-syms-coco · sles 15.6 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1 Oct 8, 2024
kernel-syms-rt · opensuse-leap 15.6 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1 Oct 9, 2024
kernel-tools · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-tools-debuginfo · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-tools-devel · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
kernel-uek · ol 8 0:5.4.17-2136.336.5.1.el8uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-container · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12782 Oct 14, 2024
kernel-uek-container-debug · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12782 Oct 14, 2024
kernel-uek-debug · ol 8 0:5.4.17-2136.336.5.1.el8uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-debug-devel · ol 8 0:5.4.17-2136.336.5.1.el8uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-devel · ol 8 0:5.4.17-2136.336.5.1.el8uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-doc · ol 8 0:5.4.17-2136.336.5.1.el8uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-tools · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12780 Oct 11, 2024
kernel-uek-tools-libs · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12780 Oct 11, 2024
kernel-zfcpdump · opensuse-leap 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
kernel-zfcpdump · sles 15.6 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1 Oct 9, 2024
linux · Debian 12.15 (bookworm) 6.1.112-1 DEBIAN-CVE-2024-46738 Sep 18, 2024
linux · Debian 13.5 (trixie) 6.10.11-1 DEBIAN-CVE-2024-46738 Sep 18, 2024
linux · Debian 14 6.10.11-1 DEBIAN-CVE-2024-46738 Sep 18, 2024
perf · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
perf · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12780 Oct 11, 2024
perf-debuginfo · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
python-perf · ol 8 0:5.4.17-2136.336.5.1.el7uek ELSA-2024-12780 Oct 11, 2024
python3-perf · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024
python3-perf-debuginfo · amzn 2023 6.1.111-120.187.amzn2023 ALAS2023-2024-744 Oct 24, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.