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:	Fri, 15 Jan 2016 17:51:42 +0100
From:	Hannes Frederic Sowa <hannes@...essinduktion.org>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	netdev@...r.kernel.org, dev@...nvswitch.org,
	Pravin Shelar <pshelar@....org>,
	Simon Horman <simon.horman@...ronome.com>
Subject: Re: [PATCH net v3] ovs: limit ovs recursions in ovs_execute_actions
 to not corrupt stack

On 15.01.2016 17:45, Eric Dumazet wrote:
> On Fri, 2016-01-15 at 15:33 +0100, Hannes Frederic Sowa wrote:
>> It was seen that defective configurations of openvswitch could overwrite
>> the STACK_END_MAGIC and cause a hard crash of the kernel because of too
>> many recursions within ovs.
>
> ...
>
>> +
>> +	preempt_disable();
>> +	level = __this_cpu_inc_return(exec_actions_level);
>> +	if (level > ovs_recursion_limit) {
>
> if (unlikely(level > ovs_recursion_limit)) {
>

Thanks, I added it!

Bye,
Hannes


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ