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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3089cf6d3caa1eb344aac05c875f4aeaf891552d to < 385aa7dbc6af11d90a5dd1261dbe75950eb7ca93affected3089cf6d3caa1eb344aac05c875f4aeaf891552d to < ae230874e3ba27e975a9bb21a6ffd05d6a2ea318affected3089cf6d3caa1eb344aac05c875f4aeaf891552d to < 0b0d2f9db2406aa541a8bc3737f4f4aae1cafde9affected3089cf6d3caa1eb344aac05c875f4aeaf891552d to < c42db35518bb0eae42ec955520eee0aa94a4a6feaffected3089cf6d3caa1eb344aac05c875f4aeaf891552d to < b8bf9bfda5f62e11444e483c2b4aaff90c5cfc6baffected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/385aa7dbc6af11d90a5dd1261dbe75950eb7ca93 ↗
- 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 ↗