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:	Wed, 06 Feb 2008 17:51:43 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Holger Schurig <hs4233@...l.mn-solutions.de>,
	linux-kernel@...r.kernel.org
Subject: Re: OOPS in sysctl.c

Alexey Dobriyan <adobriyan@...il.com> writes:

> On Wed, Feb 06, 2008 at 12:24:20AM -0800, Andrew Morton wrote:
>> On Tue, 5 Feb 2008 12:24:56 +0100 Holger Schurig <hs4233@...l.mn-solutions.de>
> wrote:
>> 
>> > > I have an embedded target (PXA255 based) where I have a nice
>> > > running kernel 2.6.15. Today I'm trying to get 2.6.24 running
>> > > on it.
>> > 
>> 
>> Backtrace:
>> [<c0038bbc>] (sysctl_head_next+0x0/0x64) from [<c00a4b80>]
> (proc_sys_readdir+0x360/0x394)
>>  r4:00000000
>> [<c00a4820>] (proc_sys_readdir+0x0/0x394) from [<c007c860>]
> (vfs_readdir+0x70/0x98)
>> [<c007c7f0>] (vfs_readdir+0x0/0x98) from [<c007cdf0>]
> (sys_getdents64+0x6c/0xc0)
>> [<c007cd84>] (sys_getdents64+0x0/0xc0) from [<c0023e60>]
> (ret_fast_syscall+0x0/0x2c)
>
> Please, post .config and "ls -lR /proc/sys" output _before_ suspend/resume.

Just to keep this on track.  It sounds like his suspend/resume backport was
incomplete and something there is smashing the list sysctl_head_next follows.

This would both cause files to disappear, and an oops.

Possibly it isn't an incomplete backport but instead a memory smash that hits
different places in different kernels.

Eric


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