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 B168D3B8D40 for ; Tue, 6 Oct 2026 10:23:53 +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=1791282234; cv=none; b=H2OqF1wHwoNY8C+PWd7PUvJTQUpY3fO1GzaoS6ozsSiPNRLCemXfNsB/9LuCml59ZlsA6n5XTV0Ar2iMvkuSZMsWoK7yJ/AG78OYfaJMIN4CJpPY/R5sD0FGOSXnFovKObePV52HXdJotyh/d88T6y2IboGb+At29qKGS4aTzhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282234; c=relaxed/simple; bh=pXhTl/msczRrLx5KMvKqP6xFgPlTLThyjd4nd0IGK7E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E/Y6ZsWMRMne+sZYXI9Ep5jcgLrTuYrOly+4us+QJDlIvSEFV3zxnsHH5KrnfFPoCE7qTeafdQAUiGeGI17UqMiD3z/UUl6mbORKMCrwHHhM2iJyqortvl1kwkeM4GSBKVUb/+ZH9k+0MVsU4VBZJsR4rG7wxNubPhTmdKNiGo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cOsbKtDH; 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="cOsbKtDH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E423F1F000FF; Tue, 6 Oct 2026 10:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282233; bh=GBJX1aVlTE7BEd6M7l3zilInpS5b2yUL4lSKD/BaTjE=; h=From:To:Cc:Subject:Date:Reply-To; b=cOsbKtDHpDLwMsRo5jZFRNi1H3erNCF/Tkn2G0OK0k6Wm4M8wrjSeq1LLdSlPFUhj RGqOfqWKrD+ydFTWdX7I6Uw+PNlgihgq3KJaBe5KnG7P6Cf4SvHt39dtK1unqUEhU/ /g8lmrUz9cCXcFkQP9cJL2blQ2KwHTLGdUzDPJkI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98243: dma-buf/dma-fence: fix checking signaling bit for timeline and driver name v3 Date: Tue, 6 Oct 2026 10:45:44 +0200 Message-ID: <2026100651-CVE-2026-98243-1a7f@gregkh> X-Mailer: git-send-email 2.56.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=2799; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NZFJ1wWtbmKEzTXnXGm0tBVVzqPGApllpSgUqXdlDTM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtjIrG2UbWSssff9ZfNeJVE4xx9u2BbO0zmWLx592q 43uVs/piGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInoazPMlVRaqlUT7F32qGX6 k+OT706aW/B3CsMcvgSHB9GaCqF663mezNx8Q2Pex5zlAA== 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: dma-buf/dma-fence: fix checking signaling bit for timeline and driver name v3 The patch "dma-buf: dma-fence: Fix potential NULL pointer dereference" changed the check to test for the ops pointer instead of the signaled bit to avoid a potential NULL dereference when the ops pointer has been cleared. The problem is now that the ops pointer is cleared only when neither the release nor the wait callback is implemented and this isn't true for a lot of dma_fence implementations yet. So those implementations lost the RCU protection after signaling of the returned string resulting in potential use after free. Add the signaling check additional to the ops pointer check so that we have both the protection against NULL dereference as well as the RCU protection after signaling for the returned string. v2: improve comments to note RCU protection and explain why we check both signaling state and ops pointer v3: some comment improvements suggested by Philip The Linux kernel CVE team has assigned CVE-2026-98243 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 035219a760edb35ae9a9e96beba7f122e26a997b and fixed in 7.2.8 with commit a4db25b8949d6ff9c1a685a1273a015e8bab29db Issue introduced in 7.2 with commit 035219a760edb35ae9a9e96beba7f122e26a997b and fixed in 7.3-rc4 with commit 3ed11c671ff7ec58c8fd96410233c677df23f407 Issue introduced in 7.1.5 with commit 15ecfdf0ef6f6d874d0a26690d300857b39ebfd0 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-98243 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/dma-buf/dma-fence.c include/linux/dma-fence.h 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/a4db25b8949d6ff9c1a685a1273a015e8bab29db https://git.kernel.org/stable/c/3ed11c671ff7ec58c8fd96410233c677df23f407