Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63AF817B50A for ; Wed, 1 Oct 2025 11:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319583; cv=none; b=fO31j98wy5jXyZ7PEWoiGFR8jHcb2zfhvdMbcMeYYzYGnWVwsocca5DDcwP90gXnb9ijqfwxwA4KugjRN8cNJhXs6NGc5n0vp15XzTzH33+FN+qPWchesIvI3eux7KK4ar7Mu/ZAqQxUQ+3q8Vdg3ZmAjEzh/kNOhz4qYFOEmaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319583; c=relaxed/simple; bh=uetQOD0RGrYygSDF6bq6o0ZhfJhAgNrdwvPEWvOi6fM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BROR4SWI+4EPAMzop3PerOleGhQM9UttSPvggFwY0Ojap5bHIAulhwVQIDvGSZGBQbIPIgnFp5Jki/gv/G+04S7QpzJczfvGGLOvvI/uUqG2O1VtVrhysqxGQ6NKOVtDJ8oTt147CcjUoSQEk/qFypK+2/uoFhqMhiIstDkf2Zw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SinhmF53; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SinhmF53" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9603C4CEF4; Wed, 1 Oct 2025 11:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319583; bh=uetQOD0RGrYygSDF6bq6o0ZhfJhAgNrdwvPEWvOi6fM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SinhmF53dWxWvifGLVSWKDRDOUjxFnZZK6nm3JDi/jlqvd0u5xQr26FqJjHUcSGAg oIOhksyvTPNwdafJdnV5sk54Dz0VSy2EIlNTLqhpQaNPn+Ghx7MOlJ0rq6qDYQhSYK rS8YVdRbtz2lcUkM7IBf9lzg4IDdc+7Txqa/n1xQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53462: hsr: Fix uninit-value access in fill_frame_info() Date: Wed, 1 Oct 2025 13:42:32 +0200 Message-ID: <2025100107-CVE-2023-53462-7a33@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=5207; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OsEbQRLkQBnLX6/wDhcizCh2wQJ2/tVZvwQiV8m9Hko=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hfvdPk/znd2r2Hww4rLg1WM3DS9cvMjs3fd0htBZ/ xXvz9Zu6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJnJBlWLD5gLKtXl248Kq4 oiu/e4Mtr2tdMGKYX1a5cf+6trN7f04TaXzro5jf1rmlDAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: hsr: Fix uninit-value access in fill_frame_info() Syzbot reports the following uninit-value access problem. ===================================================== BUG: KMSAN: uninit-value in fill_frame_info net/hsr/hsr_forward.c:601 [inline] BUG: KMSAN: uninit-value in hsr_forward_skb+0x9bd/0x30f0 net/hsr/hsr_forward.c:616 fill_frame_info net/hsr/hsr_forward.c:601 [inline] hsr_forward_skb+0x9bd/0x30f0 net/hsr/hsr_forward.c:616 hsr_dev_xmit+0x192/0x330 net/hsr/hsr_device.c:223 __netdev_start_xmit include/linux/netdevice.h:4889 [inline] netdev_start_xmit include/linux/netdevice.h:4903 [inline] xmit_one net/core/dev.c:3544 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3560 __dev_queue_xmit+0x34d0/0x52a0 net/core/dev.c:4340 dev_queue_xmit include/linux/netdevice.h:3082 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3087 [inline] packet_sendmsg+0x8b1d/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] __sys_sendto+0x781/0xa30 net/socket.c:2176 __do_sys_sendto net/socket.c:2188 [inline] __se_sys_sendto net/socket.c:2184 [inline] __ia32_sys_sendto+0x11f/0x1c0 net/socket.c:2184 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x577/0xa80 mm/slub.c:3523 kmalloc_reserve+0x148/0x470 net/core/skbuff.c:559 __alloc_skb+0x318/0x740 net/core/skbuff.c:644 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6299 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2794 packet_alloc_skb net/packet/af_packet.c:2936 [inline] packet_snd net/packet/af_packet.c:3030 [inline] packet_sendmsg+0x70e8/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] __sys_sendto+0x781/0xa30 net/socket.c:2176 __do_sys_sendto net/socket.c:2188 [inline] __se_sys_sendto net/socket.c:2184 [inline] __ia32_sys_sendto+0x11f/0x1c0 net/socket.c:2184 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 It is because VLAN not yet supported in hsr driver. Return error when protocol is ETH_P_8021Q in fill_frame_info() now to fix it. The Linux kernel CVE team has assigned CVE-2023-53462 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 451d8123f89791bb628277c0bdb4cae34a3563e6 and fixed in 5.10.195 with commit 1e90a93ac4845c31724ec5dc96fb51e608435a9d Issue introduced in 5.9 with commit 451d8123f89791bb628277c0bdb4cae34a3563e6 and fixed in 5.15.132 with commit 6a4480c5e6ebaf9f797ac300e2a97a02d4e70cfd Issue introduced in 5.9 with commit 451d8123f89791bb628277c0bdb4cae34a3563e6 and fixed in 6.1.54 with commit 61866f7d814e5792bf47410d7d3ff32e49bd292a Issue introduced in 5.9 with commit 451d8123f89791bb628277c0bdb4cae34a3563e6 and fixed in 6.5.4 with commit ed7a0ba7e840dc5d54cdbd8466be27e6aedce1e5 Issue introduced in 5.9 with commit 451d8123f89791bb628277c0bdb4cae34a3563e6 and fixed in 6.6 with commit 484b4833c604c0adcf19eac1ca14b60b757355b5 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53462 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/hsr/hsr_forward.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/1e90a93ac4845c31724ec5dc96fb51e608435a9d https://git.kernel.org/stable/c/6a4480c5e6ebaf9f797ac300e2a97a02d4e70cfd https://git.kernel.org/stable/c/61866f7d814e5792bf47410d7d3ff32e49bd292a https://git.kernel.org/stable/c/ed7a0ba7e840dc5d54cdbd8466be27e6aedce1e5 https://git.kernel.org/stable/c/484b4833c604c0adcf19eac1ca14b60b757355b5