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, 05 Apr 2012 19:06:49 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	remi@...lab.net
Cc:	levinsasha928@...il.com, remi.denis-courmont@...ia.com,
	davej@...hat.com, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] phonet: Check input from user before allocating

From: "Rémi Denis-Courmont" <remi@...lab.net>
Date: Thu, 5 Apr 2012 22:14:54 +0300

> Le vendredi 6 avril 2012 01:07:45 Sasha Levin, vous avez écrit :
>> A phonet packet is limited to USHRT_MAX bytes, this is never checked during
>> tx which means that the user can specify any size he wishes, and the kernel
>> will attempt to allocate that size.
>> 
>> In the good case, it'll lead to the following warning, but it may also
>> cause the kernel to kick in the OOM and kill a random task on the server.
 ...
>> Signed-off-by: Sasha Levin <levinsasha928@...il.com>
> 
> Acked-by: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>

Applied and queued up for -stable, 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