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
| ||
|
Date: Tue, 04 Sep 2012 15:13:06 -0400 (EDT) From: David Miller <davem@...emloft.net> To: fengguang.wu@...el.com Cc: jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] i825xx: fix paging fault on znet_probe() From: Fengguang Wu <fengguang.wu@...el.com> Date: Sun, 2 Sep 2012 15:25:46 +0800 > In znet_probe(), strncmp() may access beyond 0x100000 and > trigger the below oops in kvm. Fix it by limiting the loop > under 0x100000-8. I suspect the limit could be further decreased > to 0x100000-sizeof(struct netidblk), however no datasheet at hand.. ... > Signed-off-by: Fengguang Wu <fengguang.wu@...el.com> This also makes the code actually match the description in the comment above the loop :-) Applied, 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