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 82933DF59 for ; Tue, 9 Dec 2025 01:33:09 +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=1765243989; cv=none; b=VTf5sKqYzbLWgBac9GRQO9Cqa4DhY+ZTT62YAjKI6yCczlncDf+ZHII59ZXK6CenW71yK9t8lw7maVihsU/NBSRAWlRFy6MvwHgUjipr9YD03F3D01APyVQchZUZSbWzmqiQ5TKLH29UmDISRgdnf+g1xJ7FplHmG5nv62qPRJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765243989; c=relaxed/simple; bh=VBd7ov7RcCHzIGVB+i6iVhHYqtMZODNc9aIqjZmBmPg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KgummM7JrEVm32Qdro8TCwVR4UEIgZ7C9NTQzzTTaorZJ0s54laC0s24Rcuhky0Cy4Hs0Qe1WwQhAcgAmO7mZlPCxBuGGDyP0TFzRmgurmnSt26+/eq1K/ApM2vI6ASL7ieVpZAKBKkqGf8P0xhhTB5AdsysflrZELBqU9AqCvU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RsmfqMft; 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="RsmfqMft" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA6B2C4CEF1; Tue, 9 Dec 2025 01:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765243989; bh=VBd7ov7RcCHzIGVB+i6iVhHYqtMZODNc9aIqjZmBmPg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RsmfqMftvygJ02FlrGPvQL1roKlcidjsK9tsCIIe6OUGXEIObQxpKBv7yytbBQXZM v6udIcF9teUXnZbi46TWuyMi/9LYB3IJwP37hmy9aXPKndsALoucvMt3beOhsrgyk8 n/svd08XjAJmoaIKW1mho775JneLF+WaCFrze6nE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53850: iavf: use internal state to free traffic IRQs Date: Tue, 9 Dec 2025 10:31:34 +0900 Message-ID: <2025120900-CVE-2023-53850-5649@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=2649; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wZWQnWU1Vhw96nRXHsoVkAK8MvHO1ThxIEEqZJji1OQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1Ve3p01y2ffc7oTb221Nx2dwyAdsyTi6v184UcFqk sok+0dxHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRdT0M873nb004Xq7ovvT7 7hSHuZ5GVy6WNTPMD+JqKbz6KKXMd5pW+esdXOKJyxZdAQA= 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: iavf: use internal state to free traffic IRQs If the system tries to close the netdev while iavf_reset_task() is running, __LINK_STATE_START will be cleared and netif_running() will return false in iavf_reinit_interrupt_scheme(). This will result in iavf_free_traffic_irqs() not being called and a leak as follows: [7632.489326] remove_proc_entry: removing non-empty directory 'irq/999', leaking at least 'iavf-enp24s0f0v0-TxRx-0' [7632.490214] WARNING: CPU: 0 PID: 10 at fs/proc/generic.c:718 remove_proc_entry+0x19b/0x1b0 is shown when pci_disable_msix() is later called. Fix by using the internal adapter state. The traffic IRQs will always exist if state == __IAVF_RUNNING. The Linux kernel CVE team has assigned CVE-2023-53850 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 and fixed in 6.1.42 with commit 6d9d01689b82ff5cb8f8d2a82717d7997bc0bfff Issue introduced in 4.15 with commit 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 and fixed in 6.4.7 with commit 5e9db32eec628481f5da97a5b1aedb84a5240d18 Issue introduced in 4.15 with commit 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 and fixed in 6.5 with commit a77ed5c5b768e9649be240a2d864e5cd9c6a2015 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-53850 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/ethernet/intel/iavf/iavf_main.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/6d9d01689b82ff5cb8f8d2a82717d7997bc0bfff https://git.kernel.org/stable/c/5e9db32eec628481f5da97a5b1aedb84a5240d18 https://git.kernel.org/stable/c/a77ed5c5b768e9649be240a2d864e5cd9c6a2015