diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-04-02 10:17:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-03 14:44:43 -0700 |
| commit | 4e65a8b8daa18d63255ec58964dd192c7fdd9f8b (patch) | |
| tree | 7af889ee2c839cbb8472fda9f55907a77e334a55 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 285fa6b1e03cff78ead0383e1b259c44b95faf90 (diff) | |
ipv6: ioam: fix potential NULL dereferences in __ioam6_fill_trace_data()
We need to check __in6_dev_get() for possible NULL value, as
suggested by Yiming Qian.
Also add skb_dst_dev_rcu() instead of skb_dst_dev(),
and two missing READ_ONCE().
Note that @dev can't be NULL.
Fixes: 9ee11f0fff20 ("ipv6: ioam: Data plane support for Pre-allocated Trace")
Reported-by: Yiming Qian <yimingqian591@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Justin Iurman <justin.iurman@gmail.com>
Link: https://patch.msgid.link/20260402101732.1188059-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
