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 5D03623C8AE for ; Fri, 24 Apr 2026 14:45:56 +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=1777041956; cv=none; b=KNp6dRawrspPr+eIGTLc+pYOjtpIjPhU0dnsF68OYawx5yJNpEkAdFu+gJoFo+fQQ5P+N5orFBod3mY6GFAE2JeA9XPrcfWvH+tZ9licLe+zVTfejP61oMI8yZoMMRz/tWjKgs0zgV4PDOQjth9PqLFv17+NhDiYyqDP12AT9RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041956; c=relaxed/simple; bh=2mLorjCXOdGjNlUj9rlhsdKUd6KY92eS6sLZ5hMsysE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s/+JvK4dZXrFB0Nt0tYTQI/kH1/g7TrTus+vROoFKvuzu3PlywO3ifEDX5cbpvFUQRhfdYQDxZc6U/zXr2PHREQVWoI64z4zBB1ksvb7jGleJvmoQ7LL8dQvoAxwG/ySqr1LrpsGm2J/MvMVHVqQOpSaGDkW/8HTs74YbJvMp4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TTzLKdNf; 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="TTzLKdNf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0825C2BCB6; Fri, 24 Apr 2026 14:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041956; bh=2mLorjCXOdGjNlUj9rlhsdKUd6KY92eS6sLZ5hMsysE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TTzLKdNfmp+uXpqdTOWuQV8/0nEipF3aanZYmIqcO4wU1JmKve5Vw0oqhmaD32q63 VkNTEyGWA/BnKiC5KjarHGCLWg/i2MFGM2K4dygXsgphrhEbtHb0A/dXQ7JETqaYHY DQcr/gEAKoQb232CqSdQd1ALasjoZX6nCiKSGiSc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31595: PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup Date: Fri, 24 Apr 2026 16:43:31 +0200 Message-ID: <2026042416-CVE-2026-31595-b754@gregkh> X-Mailer: git-send-email 2.53.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=2477; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mcADPVpB/fFiReG68ld3BnFliqIy9UadbQ57hBlRWps=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG1v0l66MXq4zxzZaag5b5LbtMluV1OTr+XSP/djXf /Pq3eM+HTEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjD6G6eHTgtPWRHysP9SS k/nmRW3Mw9I/DPMLgq1PXjxgzTY7IezN0f+aJxmaLR4BAA== 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: PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup Disable the delayed work before clearing BAR mappings and doorbells to avoid running the handler after resources have been torn down. Unable to handle kernel paging request at virtual address ffff800083f46004 [...] Internal error: Oops: 0000000096000007 [#1] SMP [...] Call trace: epf_ntb_cmd_handler+0x54/0x200 [pci_epf_vntb] (P) process_one_work+0x154/0x3b0 worker_thread+0x2c8/0x400 kthread+0x148/0x210 ret_from_fork+0x10/0x20 The Linux kernel CVE team has assigned CVE-2026-31595 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit 6773cc24c004930903a57761132c1e7728907f8f Fixed in 6.18.24 with commit 9921cce25bfe4021f6e55ca995351eb967165297 Fixed in 6.19.14 with commit 5999067140c67530a6cb6f41a8471596e60452cb Fixed in 7.0.1 with commit fbb6c353fa2fb5f5f990eda034a1074b0356127e 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-31595 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/pci/endpoint/functions/pci-epf-vntb.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/6773cc24c004930903a57761132c1e7728907f8f https://git.kernel.org/stable/c/9921cce25bfe4021f6e55ca995351eb967165297 https://git.kernel.org/stable/c/5999067140c67530a6cb6f41a8471596e60452cb https://git.kernel.org/stable/c/fbb6c353fa2fb5f5f990eda034a1074b0356127e https://git.kernel.org/stable/c/d799984233a50abd2667a7d17a9a710a3f10ebe2