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 C2BCB2E9EB5 for ; Tue, 30 Dec 2025 12:16:00 +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=1767096960; cv=none; b=jgbspYc3mwk0wLxNo2WKe4FxwtO50pibkdQXqycGuNS7Twcec2Vv2Qkq8wwUifMc+C4oMTjf6YcPhSW5yvHSmSlbvDrRm8Kcl8ehrfsFWIGI/yiGzqCcxDFBDQBDDuQzYPqyH97nBsLdn0ozzNgXkXy7CPZ1LBL3wCnl7nQj72I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096960; c=relaxed/simple; bh=dcHcAIhBbzLDXyGnCGwvcwOKoJarQpv5frfw/MGPcl8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oQKwte54O+ql+k16D8wJqeHjZYi/hxO2OkcuR2sgaTgqMxHnQ/e2G8+nIqmUfkpD8yYiREp+Clyvi7ovd7Qgee/YjBYq0CIF7kXYOVOyC8EYJGHPQg7jh3GOraU3e7I1IQLCFoMTiAz1hKg/FCPn/E48190MyOGg/qRANu8NBRo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CQ47sgT2; 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="CQ47sgT2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51F3CC4CEFB; Tue, 30 Dec 2025 12:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096960; bh=dcHcAIhBbzLDXyGnCGwvcwOKoJarQpv5frfw/MGPcl8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CQ47sgT2HWNjyPFkrirQP2pipjQ/Uwd4yl9/NUQyarLZdQWQHIVUAHUV3Pv5X2Twb 3lFrMffuZ26LyyqBv7+I1xMx+KLu9uorphoX5iXbuB0+q+7wz++QyJAGcF4J1tyl/1 AHxUXxL7ZHJLDxHS4rO9AZ2QOyawXual6nESvvjo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54236: net/net_failover: fix txq exceeding warning Date: Tue, 30 Dec 2025 13:14:06 +0100 Message-ID: <2025123032-CVE-2023-54236-9642@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4918; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SjmhcfF+/vCvXIlHF4J7tVxW4Uo3TEVKISte4raQSak=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB9/w7CyZNNf94Gp2W/WwiO2aVzv+ce+Si5nk+XU63 +Hul9kyHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCROTIM82M3av5I1i1MuBfx pilA/MLNp/w/Yxnmu6l4dt/T5TLxWPKBc9P6xyVv4rcIAAA= 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: net/net_failover: fix txq exceeding warning The failover txq is inited as 16 queues. when a packet is transmitted from the failover device firstly, the failover device will select the queue which is returned from the primary device if the primary device is UP and running. If the primary device txq is bigger than the default 16, it can lead to the following warning: eth0 selects TX queue 18, but real number of TX queues is 16 The warning backtrace is: [ 32.146376] CPU: 18 PID: 9134 Comm: chronyd Tainted: G E 6.2.8-1.el7.centos.x86_64 #1 [ 32.147175] Hardware name: Red Hat KVM, BIOS 1.10.2-3.el7_4.1 04/01/2014 [ 32.147730] Call Trace: [ 32.147971] [ 32.148183] dump_stack_lvl+0x48/0x70 [ 32.148514] dump_stack+0x10/0x20 [ 32.148820] netdev_core_pick_tx+0xb1/0xe0 [ 32.149180] __dev_queue_xmit+0x529/0xcf0 [ 32.149533] ? __check_object_size.part.0+0x21c/0x2c0 [ 32.149967] ip_finish_output2+0x278/0x560 [ 32.150327] __ip_finish_output+0x1fe/0x2f0 [ 32.150690] ip_finish_output+0x2a/0xd0 [ 32.151032] ip_output+0x7a/0x110 [ 32.151337] ? __pfx_ip_finish_output+0x10/0x10 [ 32.151733] ip_local_out+0x5e/0x70 [ 32.152054] ip_send_skb+0x19/0x50 [ 32.152366] udp_send_skb.isra.0+0x163/0x3a0 [ 32.152736] udp_sendmsg+0xba8/0xec0 [ 32.153060] ? __folio_memcg_unlock+0x25/0x60 [ 32.153445] ? __pfx_ip_generic_getfrag+0x10/0x10 [ 32.153854] ? sock_has_perm+0x85/0xa0 [ 32.154190] inet_sendmsg+0x6d/0x80 [ 32.154508] ? inet_sendmsg+0x6d/0x80 [ 32.154838] sock_sendmsg+0x62/0x70 [ 32.155152] ____sys_sendmsg+0x134/0x290 [ 32.155499] ___sys_sendmsg+0x81/0xc0 [ 32.155828] ? _get_random_bytes.part.0+0x79/0x1a0 [ 32.156240] ? ip4_datagram_release_cb+0x5f/0x1e0 [ 32.156649] ? get_random_u16+0x69/0xf0 [ 32.156989] ? __fget_light+0xcf/0x110 [ 32.157326] __sys_sendmmsg+0xc4/0x210 [ 32.157657] ? __sys_connect+0xb7/0xe0 [ 32.157995] ? __audit_syscall_entry+0xce/0x140 [ 32.158388] ? syscall_trace_enter.isra.0+0x12c/0x1a0 [ 32.158820] __x64_sys_sendmmsg+0x24/0x30 [ 32.159171] do_syscall_64+0x38/0x90 [ 32.159493] entry_SYSCALL_64_after_hwframe+0x72/0xdc Fix that by reducing txq number as the non-existent primary-dev does. The Linux kernel CVE team has assigned CVE-2023-54236 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 5.4.240 with commit 105cc268328231d5c2bfcbd03f265cec444a3492 Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 5.10.177 with commit f032e125149d914e542548c17ebd613851031368 Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 5.15.106 with commit 2d5cebf57296f0189a61482035ad420384eedead Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 6.1.23 with commit c942f5cd63b7c2e73fe06744185a34b03267595b Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 6.2.10 with commit 44d250c22209c680f61befbc2ac326da5452da01 Issue introduced in 4.18 with commit cfc80d9a11635404a40199a1c9471c96890f3f74 and fixed in 6.3 with commit e3cbdcb0fbb61045ef3ce0e072927cc41737f787 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-54236 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: drivers/net/net_failover.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/105cc268328231d5c2bfcbd03f265cec444a3492 https://git.kernel.org/stable/c/f032e125149d914e542548c17ebd613851031368 https://git.kernel.org/stable/c/2d5cebf57296f0189a61482035ad420384eedead https://git.kernel.org/stable/c/c942f5cd63b7c2e73fe06744185a34b03267595b https://git.kernel.org/stable/c/44d250c22209c680f61befbc2ac326da5452da01 https://git.kernel.org/stable/c/e3cbdcb0fbb61045ef3ce0e072927cc41737f787