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 401A8560ADE for ; Fri, 11 Sep 2026 19:49:18 +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=1789156162; cv=none; b=DVjJDqG6aHRfeQ9BLVLQ5HrARt/8nrlj5pS4esdgoFPyV6bD7cqCuxO6mDi4lUqpPYhvume1h9rKaCQzCgGjxk2++w/QHqQw0vr9tS09oMYn1mT9n38t9b1vVbV0N+PrMZAJiZOAShC6iMeHtYfG+UndMWj15jbkSqxpklhfeC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156162; c=relaxed/simple; bh=3ZKNoSxGJfniKzx8x3GQqPl+UhfoaKNVn9YHCOpm8nI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q/gAP8TOoQPfca976egMKQ20DszcHo1T6RVI5BY7OhdMs5ie4fZKT5sSykp5i2lPWR5DDWRMngKnP+U2KTP76/1LT8dc9IZ5m/FQb0SQPv3AZU1ZVIKbck6snOnHnlv8+cj9l4R1H31/pjvzSSR6IHFBq5ipzNOgNy+jUBibtmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vCi81A2t; 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="vCi81A2t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C292E1F00893; Fri, 11 Sep 2026 19:49:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156157; bh=r2ylY62AeWTq4m+6RASUu1wL2+ebu+hGOagoPaTDPMI=; h=From:To:Cc:Subject:Date:Reply-To; b=vCi81A2tIKtNCxT4W04qvTvIyxsIW3GTstQNrRY3m2X+eVqlG5heF+wS67NjgRBZA 3NFJD3gaGkXituA8paHq7PlpygpkCi5HJpkskqFGcSXVpNvq60AbcPXVx1noVDOWJ0 6IkJYJsgHoHCsXspryZWosyRZh9TCTj2ywmecn+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-81006: ipmi: Remove all sysfs files on registration failure Date: Fri, 11 Sep 2026 21:41:52 +0200 Message-ID: <2026091152-CVE-2026-81006-e846@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=2330; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UT598qohXqcZlDmqDkfe0Yc/LgedZFp9eb0nd3UQv3U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIl2s5t/ZbjRB/kQNz1uT1aeaWwsyyjq07xufvS6Yp CyVXKzfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5pcUwv9TWT8H/RjTzj5qS ly+sY1dWSjEmMMzPrTHMv66+2LTVyfnP7bnvK9VfSW0EAA== 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: ipmi: Remove all sysfs files on registration failure ipmi_add_smi() creates the nr_users and nr_msgs files before trying to create the maintenance_mode file. If that last creation fails, the error path removes only nr_users before dropping the final reference to the interface. Remove nr_msgs as well so no sysfs attribute embedded in the freed interface remains registered. The Linux kernel CVE team has assigned CVE-2026-81006 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 627118470fccc61d7763aa667fcab0a9476843f6 and fixed in 6.18.50 with commit d46c97eddcbc53ca885e8bb359930c58884616ff Issue introduced in 6.18 with commit 627118470fccc61d7763aa667fcab0a9476843f6 and fixed in 7.2.4 with commit b115b7d06f26b3f000d2afda88acb54c7a7cb2c9 Issue introduced in 6.18 with commit 627118470fccc61d7763aa667fcab0a9476843f6 and fixed in 7.3-rc1 with commit b6c46ab0bdee90c238e96ea4a74972118c97900d 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-81006 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/char/ipmi/ipmi_msghandler.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/d46c97eddcbc53ca885e8bb359930c58884616ff https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9 https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d