CVE-2026-97978: eth: ice: don't dereference pointers from TP_printk()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
eth: ice: don't dereference pointers from TP_printk()
After forwarding net-next during the v7.3 merge window we started seeing:
TRACE EVENT ERROR: Event ice_tx_dim_work has double dereference in TP_printk: REC->q_vector->tx.tx_ring->q_index
WARNING: kernel/trace/trace_events.c:420 at test_double_dereference.cold+0x39/0x4b
this is due to extra checks added in tracing subsystem in
commit b5cc230af5e5 ("tracing: Warn when an event dereferences a pointer in TP_printk()").
Printing happens long after the event was recorded, by which point the pointers may be invalid (the ring or the dim instance). Copy the eight scalars into the event instead.
The Linux kernel CVE team has assigned CVE-2026-97978 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 3089cf6d3caa1eb344aac05c875f4aeaf891552d and fixed in 6.12.111 with commit ae230874e3ba27e975a9bb21a6ffd05d6a2ea318 Issue introduced in 5.14 with commit 3089cf6d3caa1eb344aac05c875f4aeaf891552d and fixed in 6.18.53 with commit 0b0d2f9db2406aa541a8bc3737f4f4aae1cafde9 Issue introduced in 5.14 with commit 3089cf6d3caa1eb344aac05c875f4aeaf891552d and fixed in 7.2.7 with commit c42db35518bb0eae42ec955520eee0aa94a4a6fe Issue introduced in 5.14 with commit 3089cf6d3caa1eb344aac05c875f4aeaf891552d and fixed in 7.3-rc3 with commit b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6b
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-97978
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/net/ethernet/intel/ice/ice_trace.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/ae230874e3ba27e975a9bb21a6ffd05d6a2ea318 https://git.kernel.org/stable/c/0b0d2f9db2406aa541a8bc3737f4f4aae1cafde9 https://git.kernel.org/stable/c/c42db35518bb0eae42ec955520eee0aa94a4a6fe https://git.kernel.org/stable/c/b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6b