Thread (11 messages) flat view 11 messages, 6 authors, 2026-03-19

Re: [PATCH net v2] ipv6: sr: Add NULL check for idev in seg6_hmac_validate_skb

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-03-13 02:38:48
Also in: lkml

On Fri, 13 Mar 2026 10:26:34 +0800 Minhong He wrote:
In seg6_hmac_validate_skb(), the pointer returned by __in6_dev_get()
can be NULL if the network device lacks proper IPv6 initialization
or is being torn down. Add a NULL check to avoid potential NULL pointer
dereference in subsequent code.
next time please start a new thread instead of replying to the previous
posting please.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help