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]
Date:	Thu, 01 Nov 2012 11:54:16 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	nikolay@...hat.com
Cc:	netdev@...r.kernel.org, andy@...yhouse.net, fubar@...ibm.com
Subject: Re: [PATCH] bonding: fix off-by-one error

From: Nikolay Aleksandrov <nikolay@...hat.com>
Date: Wed, 31 Oct 2012 15:42:51 +0100

> Fix off-by-one error because IFNAMSIZ == 16 and when this
> code gets executed we stick a NULL byte where we should not.
> 
> How to reproduce:
>  with CONFIG_CC_STACKPROTECTOR=y (otherwise it may pass by silently)
>  modprobe bonding; echo 1 > /sys/class/net/bond0/bonding/mode;
>  echo "AAAAAAAAAAAAAAAA" > /sys/class/net/bond0/bonding/primary;
> 
> Signed-off-by: Nikolay Aleksandrov <nikolay@...hat.com>

I've applied both of your patches, thanks.
--
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