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] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 16 Jan 2010 01:46:54 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	shemminger@...tta.com
Cc:	christian.samsel@...h-aachen.de, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] improve netem reorder flexibility

From: Stephen Hemminger <shemminger@...tta.com>
Date: Mon, 21 Dec 2009 09:54:07 -0800

> The netem logic for parsing attributes is different from others for
> historical reasons.  Looking at parse_attr():
> 
> If qopt is larger than expected, then the extra data is interpreted as
> the following nested attribute.
> 
> If qopt is smaller than expected, then it returns -EINVAL.

This is a really dangerous way to handle this.

This means if you grow qopt, older kernels think that the
extended area is attributes.

This also means that if you have new tools and send a qopt +
attributes, older kernels won't find the start of the attributes
correctly.  It will miss the attributes entirely.

This is a complete mess, and we need to sort it out before we think
about changing the size of qopt at this point.
--
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