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 11D304921B5 for ; Fri, 25 Sep 2026 10:28:10 +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=1790332092; cv=none; b=cNJjiAxcdGVxUhm/w67LjeQ2xBFuwYKJTQUR7z1BSps0lZIzgq9XQfSzQg0CuBCmNW0Q/B36QlLCSKpC9O3T0utGmSrHjncG6+xols0lkZO0JG8H+MLJYhUYLIjlvJMAbo9BrkXhEsEniRZm+EiOtj4TWXrLl/q1MneR2Xkx+0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332092; c=relaxed/simple; bh=Mgu821Xh814QXMeQtVzj51U8DpXWWCqCDX9OXtugueQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bb8jIcqF3MpRFVVM9j5xxX5jpkJ0KdbzXJSVc2P+wE9lG0CQyv5skKvdqLlmo62tKXk3MJpPM/juhg1kzcM4we7v4GWU64D6TGijynj91GDU5OVsXo7bwaiF8M0UI/JoimTakh03K3CGC3l+2jnytCSRcl63tCKwr0Tw3R8Gz74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=08wHkKFL; 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="08wHkKFL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 046871F000FF; Fri, 25 Sep 2026 10:28:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332090; bh=zbtS9uZ864eXN6HRfoh6OMrUvTNGPitk6c3h6ogyrzE=; h=From:To:Cc:Subject:Date:Reply-To; b=08wHkKFLo49F974WU6QM8fPT4hzr0n9tzWnMIlZSsq3NdJ177ABREGo1lEezjDy8x gTOWXW8KOnlkucJnblvoomgp2LepwaNV9npQD+LON/uNVTQInxmFzkfNYEfhRc4RZL 1n0OiCJReo6MVA1F7QHM5K79NSphmKZsxjC7JywE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97916: accel/ivpu: Validate firmware log buffer metadata Date: Fri, 25 Sep 2026 12:23:39 +0200 Message-ID: <2026092507-CVE-2026-97916-db89@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=2813; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HKki/lu7nAty8W751gcT5Jizez0IWBuwCAKhluKL730=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvP2vmp6sYV26pmzr/BDxmU/vbN/W3uEyxfujUPdu3 wNr46tOdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEsnMY5qecturb9kvmxu5X fkHcApE3Y774r2OYHx/07M/LhiO2q7qaBee1py3/dkdgCgA= 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: accel/ivpu: Validate firmware log buffer metadata The tracing log headers parsed by fw_log_print_buffer() reside in DMA-shared BOs that the NPU firmware can write to. fw_log_from_bo() validated log->header_size and log->size, but fw_log_print_buffer() re-read those same fields from shared memory afterwards, allowing a TOCTOU where firmware changes them between the check and the use, and making the host dereference out-of-bounds addresses while printing logs. Snapshot the validated values once with READ_ONCE() and pass them down explicitly in a new struct ivpu_fw_log_desc instead of re-reading them from the shared struct. The Linux kernel CVE team has assigned CVE-2026-97916 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 6.12.111 with commit 8ec3d6972f1440fae6c8dadd1859892775208759 Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 6.18.53 with commit 40868f80a89199630b03d4457876f9a1feba0660 Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 7.2.7 with commit b1555f63ee1a680f280bc18e8dac416f250e2ec3 Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 7.3-rc3 with commit 0724afc55c77c36c7feb9a7264b02aa7593c5c2d 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-97916 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/accel/ivpu/ivpu_fw_log.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/8ec3d6972f1440fae6c8dadd1859892775208759 https://git.kernel.org/stable/c/40868f80a89199630b03d4457876f9a1feba0660 https://git.kernel.org/stable/c/b1555f63ee1a680f280bc18e8dac416f250e2ec3 https://git.kernel.org/stable/c/0724afc55c77c36c7feb9a7264b02aa7593c5c2d