Thread (7 messages) 7 messages, 4 authors, 2026-04-06

Re: [PATCH net] ipv4: icmp: fix null-ptr-deref in icmp_build_probe(): manual merge

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-04-06 16:46:26
Also in: linux-next

On Mon, 6 Apr 2026 18:10:14 +0200 Matthieu Baerts wrote:
On 06/04/2026 17:36, Jakub Kicinski wrote:
quoted
On Mon, 6 Apr 2026 12:48:28 +0200 Matthieu Baerts wrote:  
quoted
 -			dev = ipv6_stub->ipv6_dev_find(net, &iio->ident.addr.ip_addr.ipv6_addr, dev);
 +			dev = ipv6_dev_find(net, &iio->ident.addr.ip_addr.ipv6_addr, dev);
+ 			/*
+ 			 * If IPv6 identifier lookup is unavailable, silently
+ 			 * discard the request instead of misreporting NO_IF.
+ 			 */
+ 			if (IS_ERR(dev))
+ 				return false;
+ 
  			dev_hold(dev);
  			break;  
See my reply, AFAIU we can just delete this new check in net-next.  
Good idea.

Should this not be done in an explicit patch, rather than "hidden"
during the merge?
Dunno, it's not a huge change, feels like a good fit for a merge.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help