[Bug 1022792] New: inconsistent lock state: ucounts_lock in put_ucounts
http://bugzilla.suse.com/show_bug.cgi?id=1022792 Bug ID: 1022792 Summary: inconsistent lock state: ucounts_lock in put_ucounts Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: CONFIRMED Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: jslaby@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ================================= [ INFO: inconsistent lock state ] 4.9.6-0-syzkaller #1 Not tainted --------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/3/29 [HC0[0]:SC1[1]:HE1:SE0] takes: (ucounts_lock){+.?...}, at: [<ffffffff9d297711>] put_ucounts+0xa1/0x1e0 {SOFTIRQ-ON-W} state was registered at: [<ffffffff9d356be4>] __lock_acquire+0x994/0x4d60 [<ffffffff9d35bb6b>] lock_acquire+0x13b/0x4a0 [<ffffffff9ed808a8>] _raw_spin_lock+0x38/0x50 [<ffffffff9d297bd9>] inc_ucount+0xf9/0xb10 [<ffffffff9d946913>] alloc_mnt_ns+0x123/0x600 [<ffffffff9d94caa1>] create_mnt_ns+0x71/0x3d0 [<ffffffffa1bdf261>] mnt_init+0x2d1/0x491 [<ffffffffa1bde9e3>] vfs_caches_init+0xaa/0x196 [<ffffffffa1b43de3>] start_kernel+0x6af/0x763 [<ffffffffa1b422ec>] x86_64_start_reservations+0x24/0x26 [<ffffffffa1b42465>] x86_64_start_kernel+0x177/0x186 irq event stamp: 3205452 hardirqs last enabled at (3205452): [<ffffffff9d83f524>] quarantine_put+0xe4/0x2c0 hardirqs last disabled at (3205451): [<ffffffff9d83f48f>] quarantine_put+0x4f/0x2c0 softirqs last enabled at (3205430): [<ffffffff9ed85050>] __do_softirq+0x730/0xd63 softirqs last disabled at (3205435): [<ffffffff9d2160f5>] run_ksoftirqd+0x75/0x1c0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(ucounts_lock); <Interrupt> lock(ucounts_lock); *** DEADLOCK *** 1 lock held by ksoftirqd/3/29: #0: (rcu_callback){......}, at: [<ffffffff9d3cd351>] rcu_process_callbacks+0x641/0x1a30 stack backtrace: CPU: 3 PID: 29 Comm: ksoftirqd/3 Not tainted 4.9.6-0-syzkaller #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org 04/01/2014 ffffffffff9df9f8ca 0000000041b58ab3 ffffffff9f377643 ffffffff9df9f7be ffff88059c6788d8 0000000000000002 0000000000000001 0000000000000001 ffff88059c68f608 0000000000000001 000000000000003d Call Trace: [<ffffffff9df9f8ca>] dump_stack+0x10c/0x192 [<ffffffff9d35417c>] print_usage_bug+0x3ec/0x500 [<ffffffff9d355036>] mark_lock+0xda6/0x1160 [<ffffffff9d356dab>] __lock_acquire+0xb5b/0x4d60 [<ffffffff9d35bb6b>] lock_acquire+0x13b/0x4a0 [<ffffffff9ed808a8>] _raw_spin_lock+0x38/0x50 [<ffffffff9d297711>] put_ucounts+0xa1/0x1e0 [<ffffffff9d29870a>] dec_ucount+0x11a/0x200 [<ffffffff9d4b898d>] delayed_free_pidns+0x4d/0xd0 [<ffffffff9d3cd26a>] rcu_process_callbacks+0x55a/0x1a30 [<ffffffff9ed84bc0>] __do_softirq+0x2a0/0xd63 [<ffffffff9d2160f5>] run_ksoftirqd+0x75/0x1c0 [<ffffffff9d294976>] smpboot_thread_fn+0x486/0x920 [<ffffffff9d284b98>] kthread+0x228/0x2f0 [<ffffffff9ed8172a>] ret_from_fork+0x2a/0x40 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1022792
http://bugzilla.suse.com/show_bug.cgi?id=1022792#c1
--- Comment #1 from Jiri Slaby
http://bugzilla.suse.com/show_bug.cgi?id=1022792
http://bugzilla.suse.com/show_bug.cgi?id=1022792#c2
Jiri Slaby
participants (1)
-
bugzilla_noreply@novell.com