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 D0553318B9C for ; Thu, 17 Sep 2026 16:20:19 +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=1789662020; cv=none; b=Yn1ygBzeQqktVpi1nyxtDpc5FoCSr8pEgRF07lPdmagZ7DZT1dilmF6w+ijrMhnrVqIfnSecMNUJU8fPnHhhkB2k7oBNkZvToaLmgSlMh6ci+X4242jGdvmN4VLlCGrw3T1ZhcnaEZr4cO7wQcrSHrLpJ/DMQLZznYJA5jL99BE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662020; c=relaxed/simple; bh=QW7J5t3k709EcIU/ee5WTxiryiOTQwrVImPpgRzcCgE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sbnwKsJfBhrtCfpWsuhfrGBvalHSLrcCI2glXTxVb0OXWzoOIGAOIe7pu4h89tQu1FzT/o8csjFZZ9yacGU8Tma4j4soLAK9Hi8GDftP50Oi7CUVisNr4BE0EgB90L5GD0aknDiBkku5txuDloycjZtKe1G9ehYv6F8dTnOvO0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kOl/MxeF; 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="kOl/MxeF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 010A81F000FF; Thu, 17 Sep 2026 16:20:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662019; bh=4a+IxpNNPcIsCxzLThBXuGwuHjvMWtJ2SF/Bp5KEjhI=; h=From:To:Cc:Subject:Date:Reply-To; b=kOl/MxeFOXnsezO5xmww6Mr3iymsr74STxGhInsPNIHBnx4zxIwGQRy16onjORsYZ 7pBwcozwRljQjo2IhZRasgT7DydpnetT2PsY9COOrB2jJkHgfTxyL/KEnbIZljulN8 z5ppm0yyeZJilHFky8GMKFKZtHnNCA6RdPaXiku0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90215: mtd: ubi: Release device reference on busy detach Date: Thu, 17 Sep 2026 17:10:45 +0100 Message-ID: <2026091737-CVE-2026-90215-2383@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=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tje6VOHMFYRredrA3XZOyCDxq7TAPqhilrwRufgvviM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBFprvzf3l2vas3xMjOm57vDFiWnKVms+g4lvJiq9f 8eQ6Xy9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay9h7D/KQTvzdv/vbhpMXf dGcv5wQrXoF6W4YFXS6RQju7OE3/uic5aTRz5wvVRCoDAA== 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: mtd: ubi: Release device reference on busy detach ubi_detach_mtd_dev() obtains a device reference through ubi_get_device() before checking whether the UBI device is busy. The busy return path drops ubi->ref_count but leaves the device reference held, so the device object cannot be released after a later detach. Drop the device reference before returning -EBUSY. The Linux kernel CVE team has assigned CVE-2026-90215 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 and fixed in 6.12.110 with commit 87812858c4c8df979cb70bcd0040b925a543df6f Issue introduced in 6.9 with commit 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 and fixed in 6.18.52 with commit e065960366b55ab21e6c643c30dec2a41451900b Issue introduced in 6.9 with commit 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 and fixed in 7.2.6 with commit 851c5e9a829d56cb0982965f07ef8966a6722884 Issue introduced in 6.9 with commit 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 and fixed in 7.3-rc1 with commit 31dd710cd84d5dd63c49f640d3a9f36c9699ca95 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-90215 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/mtd/ubi/build.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/87812858c4c8df979cb70bcd0040b925a543df6f https://git.kernel.org/stable/c/e065960366b55ab21e6c643c30dec2a41451900b https://git.kernel.org/stable/c/851c5e9a829d56cb0982965f07ef8966a6722884 https://git.kernel.org/stable/c/31dd710cd84d5dd63c49f640d3a9f36c9699ca95