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:	Tue, 29 Jan 2008 14:22:55 -0800
From:	Rick Lindsley <ricklind@...ibm.com>
To:	Max Kellermann <max@...mpel.org>
cc:	linux-kernel@...r.kernel.org
Subject: Re: 2.6.23.1: oops in diskstats_show() 

    my kernel 2.6.23.1 oopsed today in diskstats_show(), leaving the
    block_subsys_lock mutex locked.  I have an Athlon 64 X2 (dual-core),
    architecture x86_64.  I have not tried with 2.6.24 yet, but it looks
    like there was no relevant change in 2.6.24.

Hmm. Yes, this should not happen. Having grabbed the block_subsys_lock
mutex should have been sufficient to keep the disk list stable.  And the
evidence you sent along suggests that yes, the gendisk structure may have
gotten cleared after you got a reference to it but before you could get
the data from it.

    Right before the crash, I was torturing cryptsetup to experiment with
    encryption - I created and deleted device mapper objects in a loop.

Creating and deleting block devices ... yeah, this is probably key to
the problem. Can you provide the command or, more likely, script you
were using to do this?

Rick
--
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