From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B08F13CF670 for ; Mon, 10 Aug 2026 12:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363752; cv=none; b=HSscR0lj9mDSFEed7CGA6Dw3bFiq4wAQuXlXP5RN5/ljAHgpBfjRNsd8JciQQgwpWJF9DKHJeMery8O9FPss6q1ElfdCIg+zDTW4FJ1Jq+cLlCekbiFik5NyQc5N4ZW8BU57Vc+nfsErovm//40tU56iyxnP1PprJ/Ai3otY8Jc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363752; c=relaxed/simple; bh=+2FV0CiS6233c7Yi8M43sLR9Dzx81KXqv9z32n7dt00=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lG8MS6+wbt6DeSuUypicOaeWtXHAtaC/urO/daFgjPZRcycaWGj20S182vUJfYrASglqQLsdf5lOG3VRsubEUsrchZS7BBtCCn6b5bUD4nYAYDmpuPsyM+YkdpXfL0ofku/uaxMZFZVYSopz7MXoxc+I7xyLrwUkUwtpgtX+l5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xGZfayw5; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xGZfayw5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 309E21F000E9; Mon, 10 Aug 2026 12:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363751; bh=W/gTpIgjjd6/FW0eyGJfA85JTSRu2Tlala/2CiGLDXk=; h=From:To:Cc:Subject:Date:Reply-To; b=xGZfayw5/XhwhscYlLv7zhDC+oOSbkSb/t7kyg7EGHNb+v7pmKX4d4RJY4WsYSh4z EygGU78yPPCgilpwptOyZA9PUGI/0fVi6gRNhG5JkoyvWBkPGX9dOGfpt+KJ1ThwhC ufe+2KgbDbOC51S6fXrgXrJOnehnyrI59V7IhZoU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68291: idpf: fix max_vport related crash on allocation error during init Date: Mon, 10 Aug 2026 14:00:08 +0200 Message-ID: <2026081028-CVE-2026-68291-534c@gregkh> X-Mailer: git-send-email 2.55.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=4106; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B9a8VWx5S7PEi4PqMxYziDo9zcs39tvFyJJWBvy9TCU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe1ZsZ5hjtOL4T8XkAF6NmM/dgQ7Wt7epxNfMOG1W8 bn91o03HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRaEeGeeqX2BOW//ssePXO x7Ab0zcHfHBIDWaYZ6nvIj/PaoeraFhV+vJLf2Zn3F1eDwA= 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 max_vport related crash on allocation error during init Set adapter->max_vports only after successful allocation of vports, netdevs and vport_config buffers. This fixes possible crashes on reset or rmmod, following failed allocation on init [ 305.981402] idpf 0000:83:00.0: enabling device (0100 -> 0102) [ 305.994464] idpf 0000:83:00.0: Device HW Reset initiated [ 320.416872] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 320.416918] #PF: supervisor read access in kernel mode [ 320.416942] #PF: error_code(0x0000) - not-present page [ 320.416963] PGD 2099657067 P4D 0 [ 320.416983] Oops: Oops: 0000 [#1] SMP NOPTI ... [ 320.417093] RIP: 0010:idpf_remove+0x118/0x200 [idpf] [ 320.417130] Code: 8b bb 98 09 00 00 e8 17 0f 5b e5 48 8b bb e8 08 00 00 e8 0b 0f 5b e5 66 83 bb 28 06 00 00 00 48 8b bb 20 06 00 00 74 49 31 ed <48> 8b 04 ef 48 85 c0 74 2f 48 8b 78 20 e8 66 58 91 e5 48 8b 83 20 [ 320.417183] RSP: 0018:ff7322212903fdb8 EFLAGS: 00010246 [ 320.417205] RAX: 0000000000000000 RBX: ff4463de40300000 RCX: ff7322212903fd4c [ 320.417228] RDX: 0000000000000001 RSI: ffffffffa7f7d100 RDI: 0000000000000000 [ 320.417250] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 [ 320.417272] R10: 0000000000000001 R11: ff4463de3a638f58 R12: ff4463be89ac7000 [ 320.417294] R13: ff4463be89ac7198 R14: ff4463be94fc7198 R15: ffffffffc0f10f20 [ 320.417317] FS: 00007f963c0e6740(0000) GS:ff4463fdd65d8000(0000) knlGS:0000000000000000 [ 320.417342] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 320.417362] CR2: 0000000000000000 CR3: 00000020ba674002 CR4: 0000000000773ef0 [ 320.417385] PKRU: 55555554 [ 320.417398] Call Trace: [ 320.417412] [ 320.417429] pci_device_remove+0x42/0xb0 [ 320.417459] device_release_driver_internal+0x1a9/0x210 [ 320.417492] driver_detach+0x4b/0x90 [ 320.417516] bus_remove_driver+0x70/0x100 [ 320.417539] pci_unregister_driver+0x2e/0xb0 [ 320.417564] __do_sys_delete_module.constprop.0+0x190/0x2f0 [ 320.417592] ? kmem_cache_free+0x31e/0x550 [ 320.417619] ? lockdep_hardirqs_on_prepare+0xde/0x190 [ 320.417644] ? do_syscall_64+0x38/0x6b0 [ 320.417665] do_syscall_64+0xc8/0x6b0 [ 320.417683] ? clear_bhb_loop+0x30/0x80 [ 320.417706] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 320.417727] RIP: 0033:0x7f963bb30beb The Linux kernel CVE team has assigned CVE-2026-68291 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 0fe45467a1041ea3657a7fa3a791c84c104fbd34 and fixed in 7.1.6 with commit 9fbe22b7aff0a65984d78ee6b93e2f8179abd1f5 Issue introduced in 6.7 with commit 0fe45467a1041ea3657a7fa3a791c84c104fbd34 and fixed in 7.2-rc5 with commit 237f1f7653b8729169af11fae79f01b90d00b87e 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-68291 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_virtchnl.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/9fbe22b7aff0a65984d78ee6b93e2f8179abd1f5 https://git.kernel.org/stable/c/237f1f7653b8729169af11fae79f01b90d00b87e