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 9C40A3DD52F for ; Thu, 24 Sep 2026 16:24:33 +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=1790267074; cv=none; b=c+Wh/mOwHgVItqeNQHt6/PcyJnDz9Jbb0bLYOJRIGDE3sU3JIYtskfzGuLn6e1KJrDly4WInG4xaq1nu6l3MCkl4f4gA1P/52M3lNQfGMbmq9ROp6/Mwt2J7AmPVK5wQozNU5WwzYjz5zycOgJbvV+2354C1keG3AAGsSO5UfVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790267074; c=relaxed/simple; bh=l7WEzlayA+2PbnTPIiAgEr+8dlwKVuQl2EYFYnoulVM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SqQDZ9ex+VYZfOI2EH10sg9r1yZyWjT1EWxi3ay/GKlOraeYMH6nvp98MEEtAM0PfG9tt5Pit/kZi6tAl/X43vlCFCsp0WaoBwAVZ5MZVV53tE6eaiplDUmNILo6XCbB4Ze11KuEevBwfTpiQzpH/mc89sSriM36N3tbxUGTJ3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jxqg6/43; 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="jxqg6/43" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF4471F000FF; Thu, 24 Sep 2026 16:24:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790267073; bh=Y5sWUpDgs9KCUC1K1rhjgM9e+hHSYa4jfVJS7Vwro10=; h=From:To:Cc:Subject:Date:Reply-To; b=jxqg6/438TLnt5Yg6UA0WQWmsDMM4A37nridy1zjOVs//T5M0gkonf/feeB9wxl9O 7YQC7MWg2LpqsIxZg0bWWc8JmhGVtfVfa5HasQ47VNdEFVumTfCF/nvkxE+3BhQIu0 cyAOzTId3sp7F1RfOJG2yoMnHfq7y2ezwu9CxP7A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97505: PCI/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store() Date: Thu, 24 Sep 2026 18:04:30 +0200 Message-ID: <2026092442-CVE-2026-97505-925b@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=2266; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CwHZseKzOu484Itr+WolpRHWNxkCTiUiZhuyD+yUHWU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPRetvsWsnGHtc/5Ql9fPYNssG1MtudXLYh+/615Xe /bOplOCHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRvAqGOfzHD0Vryj56XmZy MzT67SGW28WXdjDMZDx4vEx2QnD5/jUf1mu9tJD8N1vgLQA= 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/sysfs: Add CAP_SYS_ADMIN check to __resource_resize_store() Currently, the __resource_resize_store() allows writing to the resourceN_resize sysfs attribute to change a BAR's size without checking for capabilities, currently relying only on the file access check. Resizing a BAR modifies PCI device configuration and can disrupt active drivers. After the upcoming conversion to static attributes, it will also trigger resource file updates via sysfs_update_groups(). Add a CAP_SYS_ADMIN check to prevent unprivileged users from performing BAR resize operations. The Linux kernel CVE team has assigned CVE-2026-97505 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit b722a607f858b9cd036075ea0efad553fb98e982 Fixed in 6.18.53 with commit cbf0628c0b7db86c5ce36451f088101546acbf1d Fixed in 7.2 with commit 25ec7f57deceec633f27bc93b615f951e2ade814 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-97505 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/pci-sysfs.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/b722a607f858b9cd036075ea0efad553fb98e982 https://git.kernel.org/stable/c/cbf0628c0b7db86c5ce36451f088101546acbf1d https://git.kernel.org/stable/c/25ec7f57deceec633f27bc93b615f951e2ade814