lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080806.224411.210555962.davem@davemloft.net>
Date:	Wed, 06 Aug 2008 22:44:11 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	guijianfeng@...fujitsu.com
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix kernel panic when calling tcp_v(4/6)_md5_do_lookup

From: Gui Jianfeng <guijianfeng@...fujitsu.com>
Date: Thu, 07 Aug 2008 13:12:57 +0800

> If the following packet flow happen, kernel will panic.
> MathineA			MathineB
> 		SYN
> 	---------------------->    
>         	SYN+ACK
> 	<----------------------
> 		ACK(bad seq)
> 	---------------------->
> When a bad seq ACK is received, tcp_v4_md5_do_lookup(skb->sk, ip_hdr(skb)->daddr))
> is finally called by tcp_v4_reqsk_send_ack(), but the first parameter(skb->sk) is 
> NULL at that moment, so kernel panic happens.
> This patch fixes this bug.
> 
> Below is the OOPS output:
 ...
> Signed-off-by: Gui Jianfeng <guijianfeng@...fujitsu.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ