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-next>] [day] [month] [year] [list]
Date:	Tue, 11 Nov 2014 22:27:43 +0200
From:	Giedrius Statkevicius <giedriuswork@...il.com>
To:	martink@...teo.de, gregkh@...uxfoundation.org
CC:	linux-kernel@...r.kernel.org
Subject: [Bisected] Regression: cpu stuck in gvfsd-fuse, can't shutdown

Hello,
Since this commit:

commit 32eca22180804f71b06b63fd29b72f58be8b3c47
Author: Martin Kepplinger <martink@...teo.de>
Date:   Wed Oct 29 20:22:56 2014 +0100

    misc: always assign miscdevice to file->private_data in open()
    
    As of now, a miscdevice driver has to provide an implementation of
    the open() file operation if it wants to have misc_open() assign a
    pointer to struct miscdevice to file->private_data for other file
    operations to use (given the user calls open()).
    
    This leads to situations where a miscdevice driver that doesn't need
    internal operations during open() has to implement open() that only
    returns immediately, in order to use the data in private_data in other
    fops.
    
    This provides consistent behaviour for miscdevice developers and will
    always provide the pointer in private_data. A driver's open() fop would,
    of course, just overwrite it, when using private_data itself.
    
    Signed-off-by: Martin Kepplinger <martink@...teo.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

I've noticed that my computer freezes a lot and I'm not able to shutdown
(it just freezes while shutdowning and I have to use SysRq+reisub) and I
get these messages in my journal:

kernel: NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [gvfsd-fuse:5669]
kernel: Modules linked in: fuse bluetooth videodev media msr nls_iso8859_1 nls_cp437 vfat fat arc4 rt2800pci eeprom_93cx6 rt2x00
kernel:  jbd2 algif_skcipher af_alg dm_crypt dm_mod sr_mod cdrom sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni
kernel: CPU: 1 PID: 5669 Comm: gvfsd-fuse Not tainted 3.18.0-rc3-00018-g2bfeeca #43
kernel: Hardware name: Hewlett-Packard HP ProBook 4540s/17F6, BIOS 68IRR Ver. F.32 11/06/2012
kernel: task: ffff8800ad3ad8e0 ti: ffff8800acb8c000 task.ti: ffff8800acb8c000
kernel: RIP: 0010:[<ffffffff81518a32>]  [<ffffffff81518a32>] _raw_spin_lock+0x32/0x40
kernel: RSP: 0018:ffff8800acb8fe78  EFLAGS: 00000282
kernel: RAX: 00000000000061f4 RBX: ffff8800b8713c00 RCX: 0000000000000000
kernel: RDX: 00000000000000e5 RSI: ffff88007fbbb900 RDI: ffffffffa080c000
kernel: RBP: ffff8800acb8fe78 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: ffff88007fbbb910 R11: 0000000000000246 R12: ffff88013a33202e
kernel: R13: 0000000478863266 R14: ffff8800aad44000 R15: ffff88013aacbce0
kernel: FS:  00007f09e72ec700(0000) GS:ffff88013fa40000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00000031b7072d14 CR3: 00000000ad33a000 CR4: 00000000001407e0
kernel: Stack:
kernel:  ffff8800acb8fe98 ffffffffa07fda92 ffff88007f93c2a0 ffff88007fbbb900
kernel:  ffff8800acb8fee8 ffffffff811bc42c ffff8800acb8fef8 ffff88007fbbb910
kernel:  ffff8800ad3ad8e0 0000000000000000 ffffffff81a3b660 ffff8800ad3ae018
kernel: Call Trace:
kernel:  [<ffffffffa07fda92>] fuse_dev_release+0x22/0x80 [fuse]
kernel:  [<ffffffff811bc42c>] __fput+0x9c/0x200
kernel:  [<ffffffff811bc5de>] ____fput+0xe/0x10
kernel:  [<ffffffff810860df>] task_work_run+0x9f/0xe0
kernel:  [<ffffffff81014e55>] do_notify_resume+0x95/0xa0
kernel:  [<ffffffff815197e0>] int_signal+0x12/0x17
kernel: Code: ff 04 25 20 c8 00 00 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 cc 38 c1 75 06 5d c3 0f 1f 40 00 b8 00 80 00 00

Another occurence of it but in a different place in gvfsd-fuse while I
was bisecting:

kernel: NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [gvfsd-fuse:5992]
kernel: Modules linked in: fuse bluetooth videodev media msr nls_iso8859_1 nls_cp437 vfat fat joydev mousedev ppdev hp_wmi spars
kernel:  jbd2 algif_skcipher af_alg dm_crypt dm_mod sr_mod cdrom sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni
kernel: CPU: 1 PID: 5992 Comm: gvfsd-fuse Not tainted 3.18.0-rc3-00017-g32eca22 #44
kernel: Hardware name: Hewlett-Packard HP ProBook 4540s/17F6, BIOS 68IRR Ver. F.32 11/06/2012
kernel: task: ffff8800b3961da0 ti: ffff8800b5ee8000 task.ti: ffff8800b5ee8000
kernel: RIP: 0010:[<ffffffff81518a32>]  [<ffffffff81518a32>] _raw_spin_lock+0x32/0x40
kernel: RSP: 0018:ffff8800b5eebe78  EFLAGS: 00000282
kernel: RAX: 000000000000316a RBX: ffff8800b8741600 RCX: 0000000000000000
kernel: RDX: 00000000000000e5 RSI: ffff880135e67f00 RDI: ffffffffa05a6000
kernel: RBP: ffff8800b5eebe78 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: ffff880135e67f10 R11: 0000000000000246 R12: ffff8800b29aa02e
kernel: R13: 0000000478863266 R14: ffff8800ad7d5780 R15: ffff88013aacab60
kernel: FS:  00007f70d3cd6700(0000) GS:ffff88013fa40000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00007f6f7c001598 CR3: 00000000b4925000 CR4: 00000000001407e0
kernel: Stack:
kernel:  ffff8800b5eebe98 ffffffffa0597a92 ffff88013a60cca0 ffff880135e67f00
kernel:  ffff8800b5eebee8 ffffffff811bc42c ffff8800b5eebef8 ffff880135e67f10
kernel:  ffff8800b3961da0 0000000000000000 ffffffff81a3b660 ffff8800b39624d8
kernel: Call Trace:
kernel:  [<ffffffffa0597a92>] fuse_dev_release+0x22/0x80 [fuse]
kernel:  [<ffffffff811bc42c>] __fput+0x9c/0x200
kernel:  [<ffffffff811bc5de>] ____fput+0xe/0x10
kernel:  [<ffffffff810860df>] task_work_run+0x9f/0xe0
kernel:  [<ffffffff81014e55>] do_notify_resume+0x95/0xa0
kernel:  [<ffffffff815197e0>] int_signal+0x12/0x17
kernel: Code: ff 04 25 20 c8 00 00 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 cc 38 c1 75 06 5d c3 0f 1f 40 00 b8 00 80 00 00

Another:

kernel: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [gvfsd-fuse:5969]
kernel: Modules linked in: pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) fuse bluetooth videodev media msr nls_iso8
kernel:  soundcore intel_gtt input_polldev mfd_core ac ext4 crc16 mbcache jbd2 algif_skcipher af_alg dm_crypt dm_mod sr_mod cdro
kernel: CPU: 0 PID: 5969 Comm: gvfsd-fuse Tainted: G           O   3.18.0-rc3-00017-g32eca22 #46
kernel: Hardware name: Hewlett-Packard HP ProBook 4540s/17F6, BIOS 68IRR Ver. F.32 11/06/2012
kernel: task: ffff880139eacf00 ti: ffff8800ad024000 task.ti: ffff8800ad024000
kernel: RIP: 0010:[<ffffffff81518a3a>]  [<ffffffff81518a3a>] _raw_spin_lock+0x3a/0x40
kernel: RSP: 0018:ffff8800ad027e78  EFLAGS: 00000202
kernel: RAX: 0000000000006546 RBX: ffff8800b78aa780 RCX: 0000000000000000
kernel: RDX: 00000000000000e5 RSI: ffff8800b74d8600 RDI: ffffffffa0786000
kernel: RBP: ffff8800ad027e78 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: ffff8800b74d8610 R11: 0000000000000246 R12: ffff8800b701002e
kernel: R13: 0000000478863266 R14: ffff8800aa4bf480 R15: ffff88007fa7e160
kernel: FS:  00007f1a479a0700(0000) GS:ffff88013fa00000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00007f59036a00a8 CR3: 00000000abcfb000 CR4: 00000000001407f0
kernel: Stack:
kernel:  ffff8800ad027e98 ffffffffa0777a92 ffff88013a60cca0 ffff8800b74d8600
kernel:  ffff8800ad027ee8 ffffffff811bc42c ffff8800ad027ef8 ffff8800b74d8610
kernel:  ffff880139eacf00 0000000000000000 ffffffff81a3b660 ffff880139ead638
kernel: Call Trace:
kernel:  [<ffffffffa0777a92>] fuse_dev_release+0x22/0x80 [fuse]
kernel:  [<ffffffff811bc42c>] __fput+0x9c/0x200
kernel:  [<ffffffff811bc5de>] ____fput+0xe/0x10
kernel:  [<ffffffff810860df>] task_work_run+0x9f/0xe0
kernel:  [<ffffffff81014e55>] do_notify_resume+0x95/0xa0
kernel:  [<ffffffff815197e0>] int_signal+0x12/0x17
kernel: Code: 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 cc 38 c1 75 06 5d c3 0f 1f 40 00 b8 00 80 00 00 eb 08 90 f3 90 83 e8 01

Another one with more info (rcu_sched stuff):

kernel: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [gvfsd-fuse:5969]
kernel: Modules linked in: pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) fuse bluetooth videodev media msr nls_iso8
kernel:  soundcore intel_gtt input_polldev mfd_core ac ext4 crc16 mbcache jbd2 algif_skcipher af_alg dm_crypt dm_mod sr_mod cdro
kernel: CPU: 0 PID: 5969 Comm: gvfsd-fuse Tainted: G           O L 3.18.0-rc3-00017-g32eca22 #46
kernel: Hardware name: Hewlett-Packard HP ProBook 4540s/17F6, BIOS 68IRR Ver. F.32 11/06/2012
kernel: task: ffff880139eacf00 ti: ffff8800ad024000 task.ti: ffff8800ad024000
kernel: RIP: 0010:[<ffffffff81518a37>]  [<ffffffff81518a37>] _raw_spin_lock+0x37/0x40
kernel: RSP: 0018:ffff8800ad027e78  EFLAGS: 00000202
kernel: RAX: 0000000000004a29 RBX: ffff8800b78aa780 RCX: 0000000000000000
kernel: RDX: 00000000000000e5 RSI: ffff8800b74d8600 RDI: ffffffffa0786000
kernel: RBP: ffff8800ad027e78 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: ffff8800b74d8610 R11: 0000000000000246 R12: ffff8800b701002e
kernel: R13: 0000000478863266 R14: ffff8800aa4bf480 R15: ffff88007fa7e160
kernel: FS:  00007f1a479a0700(0000) GS:ffff88013fa00000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00007f59036a00a8 CR3: 00000000abcfb000 CR4: 00000000001407f0
kernel: Stack:
kernel:  ffff8800ad027e98 ffffffffa0777a92 ffff88013a60cca0 ffff8800b74d8600
kernel:  ffff8800ad027ee8 ffffffff811bc42c ffff8800ad027ef8 ffff8800b74d8610
kernel:  ffff880139eacf00 0000000000000000 ffffffff81a3b660 ffff880139ead638
kernel: Call Trace:
kernel:  [<ffffffffa0777a92>] fuse_dev_release+0x22/0x80 [fuse]
kernel:  [<ffffffff811bc42c>] __fput+0x9c/0x200
kernel:  [<ffffffff811bc5de>] ____fput+0xe/0x10
kernel:  [<ffffffff810860df>] task_work_run+0x9f/0xe0
kernel:  [<ffffffff81014e55>] do_notify_resume+0x95/0xa0
kernel:  [<ffffffff815197e0>] int_signal+0x12/0x17
kernel: Code: 00 00 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 cc 38 c1 75 06 5d c3 0f 1f 40 00 b8 00 80 00 00 eb 08 90 f3 90 
kernel: INFO: rcu_sched self-detected stall on CPU { 0}  (t=18003 jiffies g=-257 c=-258 q=16)
kernel: Task dump for CPU 0:
kernel: gvfsd-fuse      R  running task        0  5969      1 0x00000008
kernel:  ffff880139eacf00 00000000d1d57710 ffff88013fa03d58 ffffffff81094fb6
kernel:  0000000000000000 ffffffff8184bf40 ffff88013fa03d78 ffffffff810984fd
kernel:  ffff88013fa03d78 0000000000000001 ffff88013fa03da8 ffffffff810c8d11
kernel: Call Trace:
kernel:  <IRQ>  [<ffffffff81094fb6>] sched_show_task+0xb6/0x120
kernel:  [<ffffffff810984fd>] dump_cpu_task+0x3d/0x50
kernel:  [<ffffffff810c8d11>] rcu_dump_cpu_stacks+0x91/0xd0
kernel:  [<ffffffff810ccec1>] rcu_check_callbacks+0x4f1/0x7d0
kernel:  [<ffffffff810d211b>] update_process_times+0x4b/0x80
kernel:  [<ffffffff810e2125>] tick_sched_handle.isra.16+0x25/0x60
kernel:  [<ffffffff810e21a5>] tick_sched_timer+0x45/0x80
kernel:  [<ffffffff810d26e7>] __run_hrtimer+0x77/0x250
kernel:  [<ffffffff810e2160>] ? tick_sched_handle.isra.16+0x60/0x60
kernel:  [<ffffffff810d32cf>] hrtimer_interrupt+0x10f/0x260
kernel:  [<ffffffff8104360e>] local_apic_timer_interrupt+0x3e/0x70
kernel:  [<ffffffff8151c0e3>] smp_apic_timer_interrupt+0x43/0x60
kernel:  [<ffffffff8151a3cd>] apic_timer_interrupt+0x6d/0x80
kernel:  <EOI>  [<ffffffff81518a37>] ? _raw_spin_lock+0x37/0x40
kernel:  [<ffffffffa0777a92>] fuse_dev_release+0x22/0x80 [fuse]
kernel:  [<ffffffff811bc42c>] __fput+0x9c/0x200
kernel:  [<ffffffff811bc5de>] ____fput+0xe/0x10
kernel:  [<ffffffff810860df>] task_work_run+0x9f/0xe0
kernel:  [<ffffffff81014e55>] do_notify_resume+0x95/0xa0
kernel:  [<ffffffff815197e0>] int_signal+0x12/0x17

I'm attaching my .config. I think I triggered  this just by logging into
my user account through gdm on gnome 3.14 and then after a few moments
computer freezes and I can't do anything. 

Thanks,
Giedrius

View attachment ".config" of type "text/plain" (108014 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ