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 4CE742D63F1 for ; Fri, 4 Jul 2025 13:42:36 +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=1751636559; cv=none; b=jezhItwiM+XVM5bCRgWCymq+Cxv0TGtj7+efon3FnPRy0pHbhw2k9ZuobNYsFztfpY9Pv/ADomq3AGGmG5LiNXnXPf+CXFChomKnFCEtMbWS1kOGpodEbJoYXuOPcr1wXhf+SH6OjdC0jpQ2R1ns5kGlFkgV7BFQom5cEYpMa/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751636559; c=relaxed/simple; bh=fD1zrepE/ROzVPD2JJg5Khb64TobluPNaBFHJ+J7PNw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iftGrLl2ji/IjI6dHL9Uo9LzQwg3UPr753rVu25+JZOGIqzRL4/oQtLgt+gWm1BOyQvNhAvAy9AyFwyA80heScG+dSpO8r2DzQmPTduAKHU2Q5NcJxkqmN2LqzPoa3lKCKnNkKZbrU7z5VpYywjbdkNr9/uV1Fe8O23LHlkRF9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1aXbuFPm; 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="1aXbuFPm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83724C4CEE3; Fri, 4 Jul 2025 13:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751636556; bh=fD1zrepE/ROzVPD2JJg5Khb64TobluPNaBFHJ+J7PNw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1aXbuFPmMdnBE39WaFx4GRqqTGtt8NEJh+qqaNn18YQuzXAXN+xHH8ttqj16C+Sme DwjkDBhdTPClDIV04o4s5UsQ1ZByk5MVXznHEBxUaLMYlCt+4f0lcK0DOMSlC5zSS1 g9zA64FgMiM/CVhEc/Sugu0N2uJe5GjnBoOxARj8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38197: platform/x86: dell_rbu: Fix list usage Date: Fri, 4 Jul 2025 15:37:26 +0200 Message-ID: <2025070416-CVE-2025-38197-0bd2@gregkh> X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3195; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IicYjuafpl6ck7it556bMnqNNCQWRLHVyzUSqO/LAKA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnpN3n35U3pnP16TVv3kv4Xe4yeHsrJuL5ugZi+TMrl/ I2JDALLO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAipV8Y5grJSb3tfiMgsruv ZuX2T2lSs03CvBgWnHimJBpjoVWxeNOT48dXbrbjmMtdBQA= 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: platform/x86: dell_rbu: Fix list usage Pass the correct list head to list_for_each_entry*() when looping through the packet list. Without this patch, reading the packet data via sysfs will show the data incorrectly (because it starts at the wrong packet), and clearing the packet list will result in a NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2025-38197 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 5.10.239 with commit 5e8c658acd1b7c186aeffa46bf08795e121f401a Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 5.15.186 with commit 07d7b8e7ef7d1f812a6211ed531947c56d09e95e Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 6.1.142 with commit a7b477b64ef5e37cb08dd536ae07c46f9f28262e Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 6.6.95 with commit f3b840fb1508a80cd8a0efb5c886ae1995a88b24 Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 6.12.35 with commit 4d71f2c1e5263a9f042faa71d59515709869dc79 Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 6.15.4 with commit 32d05e6cc3a7bf6c8f16f7b7ef8fe80eca0c233e Issue introduced in 5.7 with commit d19f359fbdc6b5d49e9b9a0db27a996b28a2ded3 and fixed in 6.16-rc3 with commit 61ce04601e0d8265ec6d2ffa6df5a7e1bce64854 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-2025-38197 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/platform/x86/dell/dell_rbu.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/5e8c658acd1b7c186aeffa46bf08795e121f401a https://git.kernel.org/stable/c/07d7b8e7ef7d1f812a6211ed531947c56d09e95e https://git.kernel.org/stable/c/a7b477b64ef5e37cb08dd536ae07c46f9f28262e https://git.kernel.org/stable/c/f3b840fb1508a80cd8a0efb5c886ae1995a88b24 https://git.kernel.org/stable/c/4d71f2c1e5263a9f042faa71d59515709869dc79 https://git.kernel.org/stable/c/32d05e6cc3a7bf6c8f16f7b7ef8fe80eca0c233e https://git.kernel.org/stable/c/61ce04601e0d8265ec6d2ffa6df5a7e1bce64854