CVE-2024-26907

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
17/04/2024
Last modified:
05/11/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> RDMA/mlx5: Fix fortify source warning while accessing Eth segment<br /> <br /> ------------[ cut here ]------------<br /> memcpy: detected field-spanning write (size 56) of single field "eseg-&gt;inline_hdr.start" at /var/lib/dkms/mlnx-ofed-kernel/5.8/build/drivers/infiniband/hw/mlx5/wr.c:131 (size 2)<br /> WARNING: CPU: 0 PID: 293779 at /var/lib/dkms/mlnx-ofed-kernel/5.8/build/drivers/infiniband/hw/mlx5/wr.c:131 mlx5_ib_post_send+0x191b/0x1a60 [mlx5_ib]<br /> Modules linked in: 8021q garp mrp stp llc rdma_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx5_ib(OE) ib_uverbs(OE) ib_core(OE) mlx5_core(OE) pci_hyperv_intf mlxdevm(OE) mlx_compat(OE) tls mlxfw(OE) psample nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables libcrc32c nfnetlink mst_pciconf(OE) knem(OE) vfio_pci vfio_pci_core vfio_iommu_type1 vfio iommufd irqbypass cuse nfsv3 nfs fscache netfs xfrm_user xfrm_algo ipmi_devintf ipmi_msghandler binfmt_misc crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 snd_pcsp aesni_intel crypto_simd cryptd snd_pcm snd_timer joydev snd soundcore input_leds serio_raw evbug nfsd auth_rpcgss nfs_acl lockd grace sch_fq_codel sunrpc drm efi_pstore ip_tables x_tables autofs4 psmouse virtio_net net_failover failover floppy<br /> [last unloaded: mlx_compat(OE)]<br /> CPU: 0 PID: 293779 Comm: ssh Tainted: G OE 6.2.0-32-generic #32~22.04.1-Ubuntu<br /> Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011<br /> RIP: 0010:mlx5_ib_post_send+0x191b/0x1a60 [mlx5_ib]<br /> Code: 0c 01 00 a8 01 75 25 48 8b 75 a0 b9 02 00 00 00 48 c7 c2 10 5b fd c0 48 c7 c7 80 5b fd c0 c6 05 57 0c 03 00 01 e8 95 4d 93 da 0b 44 8b 4d b0 4c 8b 45 c8 48 8b 4d c0 e9 49 fb ff ff 41 0f b7<br /> RSP: 0018:ffffb5b48478b570 EFLAGS: 00010046<br /> RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000<br /> RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000<br /> RBP: ffffb5b48478b628 R08: 0000000000000000 R09: 0000000000000000<br /> R10: 0000000000000000 R11: 0000000000000000 R12: ffffb5b48478b5e8<br /> R13: ffff963a3c609b5e R14: ffff9639c3fbd800 R15: ffffb5b480475a80<br /> FS: 00007fc03b444c80(0000) GS:ffff963a3dc00000(0000) knlGS:0000000000000000<br /> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br /> CR2: 0000556f46bdf000 CR3: 0000000006ac6003 CR4: 00000000003706f0<br /> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br /> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400<br /> Call Trace:<br /> <br /> ? show_regs+0x72/0x90<br /> ? mlx5_ib_post_send+0x191b/0x1a60 [mlx5_ib]<br /> ? __warn+0x8d/0x160<br /> ? mlx5_ib_post_send+0x191b/0x1a60 [mlx5_ib]<br /> ? report_bug+0x1bb/0x1d0<br /> ? handle_bug+0x46/0x90<br /> ? exc_invalid_op+0x19/0x80<br /> ? asm_exc_invalid_op+0x1b/0x20<br /> ? mlx5_ib_post_send+0x191b/0x1a60 [mlx5_ib]<br /> mlx5_ib_post_send_nodrain+0xb/0x20 [mlx5_ib]<br /> ipoib_send+0x2ec/0x770 [ib_ipoib]<br /> ipoib_start_xmit+0x5a0/0x770 [ib_ipoib]<br /> dev_hard_start_xmit+0x8e/0x1e0<br /> ? validate_xmit_skb_list+0x4d/0x80<br /> sch_direct_xmit+0x116/0x3a0<br /> __dev_xmit_skb+0x1fd/0x580<br /> __dev_queue_xmit+0x284/0x6b0<br /> ? _raw_spin_unlock_irq+0xe/0x50<br /> ? __flush_work.isra.0+0x20d/0x370<br /> ? push_pseudo_header+0x17/0x40 [ib_ipoib]<br /> neigh_connected_output+0xcd/0x110<br /> ip_finish_output2+0x179/0x480<br /> ? __smp_call_single_queue+0x61/0xa0<br /> __ip_finish_output+0xc3/0x190<br /> ip_finish_output+0x2e/0xf0<br /> ip_output+0x78/0x110<br /> ? __pfx_ip_finish_output+0x10/0x10<br /> ip_local_out+0x64/0x70<br /> __ip_queue_xmit+0x18a/0x460<br /> ip_queue_xmit+0x15/0x30<br /> __tcp_transmit_skb+0x914/0x9c0<br /> tcp_write_xmit+0x334/0x8d0<br /> tcp_push_one+0x3c/0x60<br /> tcp_sendmsg_locked+0x2e1/0xac0<br /> tcp_sendmsg+0x2d/0x50<br /> inet_sendmsg+0x43/0x90<br /> sock_sendmsg+0x68/0x80<br /> sock_write_iter+0x93/0x100<br /> vfs_write+0x326/0x3c0<br /> ksys_write+0xbd/0xf0<br /> ? do_syscall_64+0x69/0x90<br /> __x64_sys_write+0x19/0x30<br /> do_syscall_<br /> ---truncated---

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.214 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.153 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.83 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.23 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.11 (excluding)