From mboxrd@z Thu Jan 1 00:00:00 1970 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 DD7BD4E8E13 for ; Wed, 16 Sep 2026 10:40:07 +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=1789555213; cv=none; b=Wr7DyNeg5MQSHv5FxlO/edZ7/tnS+8HWAgPxtdQkE1zKg5VO10gGKhY/4ZMZVwa3hbAKI1kRE/tT5lL0FNLaHCx8ae4sbNHchTgOhn5C3GZ41MK0UXJZ8KuysRLDGaPnNYVLJoPBAEtbh9OyBJX3Q0NeruQmTpVjaWn0GaiOmTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555213; c=relaxed/simple; bh=B1kACdbPc9mUZzsa3JR1w6SorYNRdettnY/KqBAjmY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T43+78mZASRAi3A30XKujDSGDy+4yKlCPcCkOP9IjhqJ1MBrifIqcP++fpsosJD4obBqxW3+HyDGOfa6Td5O4R3ckFS/T0NzQSodvtZRH56VoNW/kAhnka1MIDo+pEEnpdwpi1EzBEV3zF2SKYZCPk69nX9f3i/BN94SNXLLu5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FfHNf9or; 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="FfHNf9or" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6BD51F0089D; Wed, 16 Sep 2026 10:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555205; bh=23P20bglfluORhZOF4lFwPfpdShojNRx/9kiiTVMffc=; h=From:To:Cc:Subject:Date:Reply-To; b=FfHNf9orHVQEODmekiz8wCtkr0JvKCvD2EButByQHA8MKNP5lTPghcqacuq0yGWR4 PZuLORFqZ5QG9f420eruACQnklzOm6JLheWF0MWxFC7qWZXxwPpg6izLJPz3fE13HU LSN8kowF25XXVmXN7obAzSHwQGL2jyC5np3SwN5Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89941: iio: buffer: Make IIO DMA fence release RCU-safe Date: Wed, 16 Sep 2026 11:31:11 +0100 Message-ID: <2026091647-CVE-2026-89941-e4dd@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=2794; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dddBwBMbrYPRshvkgZKrid0571bMT0EQuImSQ4xdQjc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8mffsNkwyVzmr2z0XekSbYvitO/BWX35X6+byO9Yv nm2RHtYRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkpBHDgiuWKmKvf32bK+tc 9zxn8yXrANv5bxgWzDF064r8dC7iw9HrFyK/Rtkd7vw1DQA= 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: iio: buffer: Make IIO DMA fence release RCU-safe The `dma_fence` documentation states that if a custom release implementation is provided, the `dma_fence` object must be freed in an RCU-safe way. The current `iio_dma_fence` implementation uses `kfree()`, which might result in a use-after-free. Remove the custom `release` implementation. This makes the DMA fence core fall back to `dma_fence_free()`, which calls `kfree_rcu()` on the fence. This requires that the fence be the first member of `struct iio_dma_fence`. Using the default release method for extended DMA fence structures is a common pattern. The Linux kernel CVE team has assigned CVE-2026-89941 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f and fixed in 6.12.110 with commit 311595dc0b5621f74d8eb4dc38ef4efcdfe7e769 Issue introduced in 6.11 with commit 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f and fixed in 6.18.51 with commit 06a9460b8b792e109cbc934a856d02e5cff217ef Issue introduced in 6.11 with commit 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f and fixed in 7.2.5 with commit 11cef99491117d4264603df159c4ff5f3845a059 Issue introduced in 6.11 with commit 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f and fixed in 7.3-rc1 with commit 8662e56c31cf23b61ca3d11b516efb94c35b8026 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-89941 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/iio/industrialio-buffer.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/311595dc0b5621f74d8eb4dc38ef4efcdfe7e769 https://git.kernel.org/stable/c/06a9460b8b792e109cbc934a856d02e5cff217ef https://git.kernel.org/stable/c/11cef99491117d4264603df159c4ff5f3845a059 https://git.kernel.org/stable/c/8662e56c31cf23b61ca3d11b516efb94c35b8026