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 4DE5B2D3ECF for ; Sat, 31 Jan 2026 11:41:12 +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=1769859673; cv=none; b=V0ngoX/5NMgm3+RPA6E+7Z+UkgOCHu/ANIOL9XjwomUfPZzWqPiFKGyqYyICXft8mw1/TEX9zYiESutKciX2fBuz3wx21kgZ/WRUe4nVh3DMs4rzaCpxlDBJz9JXveh9t4qjqNzUs48mX2Rag+N4ZBbQHJExNX8Rw/IogrfDtSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769859673; c=relaxed/simple; bh=uO0/fQ1HByI6ZWDSnuoFXiSe80zHpe1JTr/XzwJyNCQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jiKBo0a8ogFVoD7rOTaxpM/2pBac/O9Bz0PA56c8jJpZyKyluo7va6jPxiTJjgZH9y9UwcFSCQb1ICi4UD99We1tK8/sLIq3QN669UgPBOuQMKtOmwV81NCjiZlINPiPQSKndQzCBK8MswaDlAfRBZsLCGnIl0GvzorOF4NrllI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vtgwykdA; 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="vtgwykdA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D1F9C4CEF1; Sat, 31 Jan 2026 11:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769859672; bh=uO0/fQ1HByI6ZWDSnuoFXiSe80zHpe1JTr/XzwJyNCQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=vtgwykdA6w+SBOG1REXGwf+M4dQTEichzHbzhcd2sk/x4/b7+VlN/UQNFevEu7tiC Ghc6A1uuKNW9diOMtJeMjj2Xdgj6QoWyul7A+COQbb2hrgZ0nODtKCISTsMsI+7JRR p/2ar+MvYWsLD/3Rmwg1IZYOYmWPAE0q5J1UwJYU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23017: idpf: fix error handling in the init_task on load Date: Sat, 31 Jan 2026 12:39:38 +0100 Message-ID: <2026013135-CVE-2026-23017-f256@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=3502; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cWGISZVKcAy4goq710W2nLKqf6p9mVkUP9BOd++woRc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm1L7+zOLc+/6fxs/SfW2x2fYeZlNSZs1qnORbG+27Zf D3fO2tORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk2HmG+WlszZcfcTz0UZph 97ar0odN8+dGWYYFi3Sm2mvs11W41vrkY5phdhRDXW0fAA== 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: idpf: fix error handling in the init_task on load If the init_task fails during a driver load, we end up without vports and netdevs, effectively failing the entire process. In that state a subsequent reset will result in a crash as the service task attempts to access uninitialized resources. Following trace is from an error in the init_task where the CREATE_VPORT (op 501) is rejected by the FW: [40922.763136] idpf 0000:83:00.0: Device HW Reset initiated [40924.449797] idpf 0000:83:00.0: Transaction failed (op 501) [40958.148190] idpf 0000:83:00.0: HW reset detected [40958.161202] BUG: kernel NULL pointer dereference, address: 00000000000000a8 ... [40958.168094] Workqueue: idpf-0000:83:00.0-vc_event idpf_vc_event_task [idpf] [40958.168865] RIP: 0010:idpf_vc_event_task+0x9b/0x350 [idpf] ... [40958.177932] Call Trace: [40958.178491] [40958.179040] process_one_work+0x226/0x6d0 [40958.179609] worker_thread+0x19e/0x340 [40958.180158] ? __pfx_worker_thread+0x10/0x10 [40958.180702] kthread+0x10f/0x250 [40958.181238] ? __pfx_kthread+0x10/0x10 [40958.181774] ret_from_fork+0x251/0x2b0 [40958.182307] ? __pfx_kthread+0x10/0x10 [40958.182834] ret_from_fork_asm+0x1a/0x30 [40958.183370] Fix the error handling in the init_task to make sure the service and mailbox tasks are disabled if the error happens during load. These are started in idpf_vc_core_init(), which spawns the init_task and has no way of knowing if it failed. If the error happens on reset, following successful driver load, the tasks can still run, as that will allow the netdevs to attempt recovery through another reset. Stop the PTP callbacks either way as those will be restarted by the call to idpf_vc_core_init() during a successful reset. The Linux kernel CVE team has assigned CVE-2026-23017 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 0fe45467a1041ea3657a7fa3a791c84c104fbd34 and fixed in 6.18.6 with commit a514c374edcd33581cdcccf8faa7cc606a600319 Issue introduced in 6.7 with commit 0fe45467a1041ea3657a7fa3a791c84c104fbd34 and fixed in 6.19-rc5 with commit 4d792219fe6f891b5b557a607ac8a0a14eda6e38 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-2026-23017 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/idpf/idpf_lib.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/a514c374edcd33581cdcccf8faa7cc606a600319 https://git.kernel.org/stable/c/4d792219fe6f891b5b557a607ac8a0a14eda6e38