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 29266484246 for ; Fri, 25 Sep 2026 10:37:13 +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=1790332634; cv=none; b=m0M7oiGziPn5bxj05A5kD4G83cNqa5/nQMfqMXowhLbZtq20Gdd19dW6extsEa7O7ggySuNpZGB/XU/QsSWFBcHEXSXe5DD0/BcGq40UFs6eRdD6/kb6u02nlsbsgrLVVwNgchSEdG9xFaBP2gnLVz3BgKVtd8x+B5BtATT+Tik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332634; c=relaxed/simple; bh=valVkWzoIhCmRPvb2109bLgYEUb+kPPKOSQdVtDqWIM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EbCmt9e2L66yeU1Fd12YPdbQxyFxknMdMubmBQDa8exORIym/Tzm2i7O+zwLBMZD+xbpkmesXojv4/+81odVCU7K0tMatGykjO7QkuB+ALShTf8j4XejYShw0Jw1jAp6xKUo0uHQ6pdpeegJu5I8lmY+oJuJa7aK22s1BLXw1zY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iIjhieh+; 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="iIjhieh+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 826AB1F000FF; Fri, 25 Sep 2026 10:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332633; bh=JlbLoD/MLBdNGpMDio+B7QrD9bROz7GQiq68TzyP9gg=; h=From:To:Cc:Subject:Date:Reply-To; b=iIjhieh+MxN+lqDuAw8/mdFaJoCXn9qHBOOGMPrysDKhpMDWgJiuQd45Fet1D09On pg0PXLPcRpXyYECp6sw0VN/WZjjdaQTbekbe73TJ1KVoD7P5Wv/FIg4fXaDegBH25S ZQn5qH7xPjDsJZ+vRt64qjQ3b2R975Tx24devC9Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98094: staging: fbtft: make dirty_lock IRQ-safe Date: Fri, 25 Sep 2026 12:26:36 +0200 Message-ID: <2026092540-CVE-2026-98094-ecb3@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=3470; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z+bNxkJl1ZC3GTIzdyxiUG6m0C+uh5fA3gyKfDmz7VU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvAtuvvP/99Ysdvb5a8sNVZ8qiTx6uTEuQj2y7+jDs PNBqrlNHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR4n0MC5ozdjI2nlrQsUIq Vu2rSNcx6+0ezxjmqe/kO3UwKNVuf93miY4CH40PbBGaCQA= 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: staging: fbtft: make dirty_lock IRQ-safe fbtft_mkdirty() can be reached from the fbcon rendering path while processing printk() in hardirq context. Meanwhile, dirty_lock is also taken by fbtft_deferred_io() in workqueue context with local interrupts enabled. Lockdep reports a possible IRQ lock inversion involving dirty_lock and console_owner. A hardirq can interrupt a CPU holding dirty_lock and enter the console rendering path, which can attempt to acquire dirty_lock again. The following lockdep report was observed on an RK3566 system with CONFIG_PROVE_LOCKING enabled: WARNING: possible irq lock inversion dependency detected swapper/2/0 just changed the state of lock: (console_owner){-...}-{0:0} but this lock took another, HARDIRQ-unsafe lock in the past: (&par->dirty_lock){+.+.}-{2:2} CPU0 CPU1 ---- ---- lock(&par->dirty_lock); local_irq_disable(); lock(console_owner); lock(&par->dirty_lock); lock(console_owner); *** DEADLOCK *** Use spin_lock_irqsave() for fbtft_mkdirty() and spin_lock_irq() for fbtft_deferred_io(). They only access the dirty line range, so the IRQ-off regions remain short. The Linux kernel CVE team has assigned CVE-2026-98094 to this issue. Affected and fixed versions =========================== Issue introduced in 4.0 with commit c296d5f9957c03994a699d6739c27d4581a9f6c7 and fixed in 6.12.111 with commit 2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7 Issue introduced in 4.0 with commit c296d5f9957c03994a699d6739c27d4581a9f6c7 and fixed in 6.18.53 with commit f0c869df2c33793c8828acaab3e4a5e0176f9f00 Issue introduced in 4.0 with commit c296d5f9957c03994a699d6739c27d4581a9f6c7 and fixed in 7.2.7 with commit dcb48fde8003492256dee45815144aa5ed26ce7c Issue introduced in 4.0 with commit c296d5f9957c03994a699d6739c27d4581a9f6c7 and fixed in 7.3-rc2 with commit f576944a59f31bcffff121117ebf452c5dd162b7 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-98094 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/staging/fbtft/fbtft-core.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/2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7 https://git.kernel.org/stable/c/f0c869df2c33793c8828acaab3e4a5e0176f9f00 https://git.kernel.org/stable/c/dcb48fde8003492256dee45815144aa5ed26ce7c https://git.kernel.org/stable/c/f576944a59f31bcffff121117ebf452c5dd162b7