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:	Mon, 04 Oct 2010 10:46:26 +0200
From:	Zdenek Kabelac <zkabelac@...hat.com>
To:	chich21@...l.com
CC:	linux-kernel@...r.kernel.org
Subject: Re: Linux kernel 2.6.34.7 lvm error

Dne 3.10.2010 11:56, chich21@...l.com napsal(a):
> With Linux kernel 2.6.34.7 from www.kernel.org the following error occurs.
> 
> Issuing this command produces error.
> 
> vgchange -ay
> 
> outputs:
> Internal error: Maps lock 14317216 < unlock 14321312
> 
> vgchange is part of lvm-tools.
> 
> This doesn't happen with kernel 2.6.34 or 2.6.34.1 from www.kernel.org.
> 
> Is there a patch for 2.6.34.x series coming for this error. As there is one
> for 2.6.35.x series.
> 
> Please CC email me related posts.


Bug is related to stack guard fix - kernel 2.6.36-rc4 has this problem fixed.
Bug is present in 2.6.36-rc3 - so something between them fixes the problem.

It looks like the [stack] mapping loses 1 page after each mlock/munlock cycle.
I'm probably going to play bisect game to find out missing fix.

https://bugzilla.redhat.com/show_bug.cgi?id=638525

Meanwhile lvm tools were also updated to read whole mapping table before
locking pages to avoid reading some mapping lines twice.

Zdenek.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ