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]
Message-ID: <1333760494.3282.29.camel@deadeye>
Date:	Sat, 07 Apr 2012 02:01:34 +0100
From:	Ben Hutchings <ben@...adent.org.uk>
To:	Mihai Maruseac <mihai.maruseac@...il.com>
Cc:	Michael Stone <mstone@...ian.org>, 659499@...s.debian.org,
	debian-kernel@...ts.debian.org, Cyril Brulebois <kibi@...ian.org>,
	Jean-Michel Vourgère <jmv_deb@...gal.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: Bug#659499: bash fails to properly read /proc files

On Sun, 2012-02-26 at 00:11 +0000, Ben Hutchings wrote:
> On Sun, 2012-02-19 at 23:14 +0100, Cyril Brulebois wrote:
> > Hi kernel folks,
> > 
> > here's a tiny analysis I tried to perform on bash's having issues with
> > reading /proc files, which I think is related to seeking in those files.
> > I can't play much with other kernel versions right now though. My tests
> > were performed with squeeze's bpo kernel: 3.2.0-0.bpo.1-amd64 (Debian
> > 3.2.4-1~bpo60+1).
> 
> The specific problem with seeking in /proc/net/dev appears to be caused
> by this change:
> 
> commit f04565ddf52e401880f8ba51de0dff8ba51c99fd
> Author: Mihai Maruseac <mihai.maruseac@...il.com>
> Date:   Thu Oct 20 20:45:10 2011 +0000
> 
>     dev: use name hash for dev_seq_ops
[...]

This is supposed to be fixed by:

commit 2def16ae6b0c77571200f18ba4be049b03d75579
Author: Eric Dumazet <eric.dumazet@...il.com>
Date:   Mon Apr 2 22:33:02 2012 +0000

    net: fix /proc/net/dev regression

which will be applied some time soon.  I'm attaching the patch in case
anyone would like to test it (see
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>).

Ben.

-- 
Ben Hutchings
Larkinson's Law: All laws are basically false.

View attachment "net-fix-proc-net-dev-regression.patch" of type "text/x-patch" (5983 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ