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] [day] [month] [year] [list]
Message-Id: <20130315.090731.903984549150746717.davem@davemloft.net>
Date:	Fri, 15 Mar 2013 09:07:31 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	zhouzhouyi@...il.com
Cc:	netdev@...r.kernel.org, yizhouzhou@....ac.cn
Subject: Re: [PATCH 1/1 v2] Fix dst_neigh_lookup/dst_neigh_lookup_skb
 return value handling bug

From: Zhouyi Zhou <zhouzhouyi@...il.com>
Date: Fri, 15 Mar 2013 11:21:50 +0800

> When neighbour table is full, dst_neigh_lookup/dst_neigh_lookup_skb will return
> -ENOBUFS which is absolutely non zero, while all the code in kernel which use 
> above functions assume failure only on zero return which will cause panic. (for
> example: : https://bugzilla.kernel.org/show_bug.cgi?id=54731).
> 
> This patch corrects above error with smallest changes to kernel source code and
> also correct two return value check missing bugs in drivers/infiniband/hw/cxgb4/cm.c
> 
> Tested on my x86_64 SMP machine
> 
> Reported-by: Zhouyi Zhou <zhouzhouyi@...il.com>
> Tested-by: Zhouyi Zhou <zhouzhouyi@...il.com>
> Signed-off-by: Zhouyi Zhou <zhouzhouyi@...il.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ