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]
Message-ID: <1292877302.26771.18.camel@localhost.localdomain>
Date:	Mon, 20 Dec 2010 15:35:02 -0500
From:	Eric Paris <eparis@...hat.com>
To:	npiggin@...nel.dk
Cc:	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: VFS scalability + cgroups == panic

On Mon, 2010-12-20 at 14:26 -0500, Eric Paris wrote:
> [   46.337486] systemd[1]: readahead-collect.service: main process exited, code=exited, status=1
> [   46.339544] BUG: unable to handle kernel NULL pointer dereference at           (null)
> [   46.340232] IP: [<          (null)>]           (null)
> [   46.340232] PGD 3a885067 PUD 3b2ad067 PMD 0
> [   46.340232] Oops: 0010 [#1] PREEMPT SMP DEBUG_PAGEALLOC
> [   46.340232] last sysfs file: /sys/module/ipv6/parameters/disable
> [   46.340232] CPU 1
> [   46.340232] Modules linked in: ipv6 autofs4 ext4 jbd2 crc16 usbhid
> [   46.340232]
> [   46.340232] Pid: 1, comm: systemd Tainted: G        W   2.6.37-rc6-kernel1-next-20101220+ #149 /KVM
> [   46.340232] RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
> [   46.340232] RSP: 0018:ffff88003de09d40  EFLAGS: 00010206
> [   46.340232] RAX: ffffffff81612080 RBX: ffff88003d8fdd20 RCX: 0000000000000000
> [   46.340232] RDX: ffffffff8154d737 RSI: ffff88003d8fdd98 RDI: ffff88003d8fdd20
> [   46.340232] RBP: ffff88003de09d78 R08: 0000000000000000 R09: 0000000000000000
> [   46.340232] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88003d8fdd80
> [   46.340232] R13: ffff88003d8fd300 R14: ffff88003d8fd388 R15: ffff88003d8fddf8
> [   46.340232] FS:  00007f53e84b87c0(0000) GS:ffff88003e200000(0000) knlGS:0000000000000000
> [   46.340232] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   46.340232] CR2: 0000000000000000 CR3: 000000003b21f000 CR4: 00000000000006e0
> [   46.340232] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [   46.340232] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [   46.340232] Process systemd (pid: 1, threadinfo ffff88003de08000, task ffff88003de00000)
> [   46.340232] Stack:
> [   46.340232]  ffffffff81146570 ffff88003de09d78 ffff88003d8fdd20 ffff88003d8fd2a0
> [   46.340232]  ffff88003d8fd300 ffff88003d8fd388 ffff88003d8fddf8 ffff88003de09dc8
> [   46.340232]  ffffffff810ad273 ffff88003de09da8 ffff88003d8fdd80 ffff88003ac0b7c8
> [   46.340232] Call Trace:
> [   46.340232]  [<ffffffff81146570>] ? dput+0xd0/0x220
> [   46.340232]  [<ffffffff810ad273>] cgroup_clear_directory+0x93/0x130
> [   46.340232]  [<ffffffff810af7f6>] cgroup_rmdir+0x3b6/0x550
> [   46.340232]  [<ffffffff8107d720>] ? autoremove_wake_function+0x0/0x40
> [   46.340232]  [<ffffffff8113ac14>] vfs_rmdir+0xa4/0xe0
> [   46.340232]  [<ffffffff8114cd0d>] ? mnt_want_write+0x4d/0x90
> [   46.340232]  [<ffffffff8113d18b>] do_rmdir+0x10b/0x120
> [   46.340232]  [<ffffffff81093188>] ? lockdep_sys_exit+0x28/0x80
> [   46.340232]  [<ffffffff8154d479>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> [   46.340232]  [<ffffffff8113d1f1>] sys_rmdir+0x11/0x20
> [   46.340232]  [<ffffffff8100bf12>] system_call_fastpath+0x16/0x1b
> 

Best bisection I could do (numerous bisect unsafe problems with your
patch series.  undefined dget_locked_dlock() and
security_inode_exec_permission() has broken arguments for a while.)

So best I could do is:
good=6eb3bdc9cf47642d439ffdfb0d1caa105f151a2c
fs: avoid inode RCU freeing for pseudo fs

bad=0c259f9c9ee263a5d907030e29c52fd8d206c631
fs: provide rcu-walk aware permission i_ops

-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