syzbot


INFO: task can't die in show_free_areas

Status: upstream: reported C repro on 2022/01/24 13:23
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+8f41dccfb6c03cc36fd6@syzkaller.appspotmail.com
First crash: 905d, last: 7h48m
Cause bisection: failed (error log, bisect log)
  
Discussions (7)
Title Replies (including bot) Last reply
[syzbot] Monthly serial report (May 2024) 0 (1) 2024/05/06 13:18
[syzbot] Monthly serial report (Apr 2024) 0 (1) 2024/04/05 12:46
[syzbot] Monthly serial report (Mar 2024) 0 (1) 2024/03/05 11:10
[syzbot] Monthly serial report (Feb 2024) 1 (2) 2024/02/05 08:09
[syzbot] Monthly serial report (Nov 2023) 0 (1) 2023/11/29 13:03
[syzbot] Monthly serial report (Oct 2023) 0 (1) 2023/10/30 09:14
[syzbot] INFO: task can't die in show_free_areas 0 (2) 2022/02/03 00:14
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in do_exit syz done error 125 841d 1864d 0/26 closed as invalid on 2022/02/08 10:54
linux-4.14 INFO: task hung in do_exit syz inconclusive 8 837d 1852d 0/1 upstream: reported syz repro on 2019/04/25 02:28
linux-4.19 INFO: task hung in do_exit C error 58 469d 1857d 0/1 upstream: reported C repro on 2019/04/19 20:32
upstream INFO: task can't die in irqentry_exit (2) kernel C error 22 838d 1254d 0/26 auto-obsoleted due to no activity on 2022/10/23 05:49
upstream INFO: task hung in tty_open serial 1 959d 959d 0/26 auto-closed as invalid on 2022/01/02 10:09
linux-4.14 INFO: task hung in tty_open (2) 1 492d 492d 0/1 upstream: reported on 2023/01/13 14:16
upstream INFO: task hung in tty_open (2) serial C error error 19 297d 833d 0/26 auto-obsoleted due to no activity on 2023/11/04 13:34
android-414 INFO: task hung in do_exit syz 19 1632d 1864d 0/1 public: reported syz repro on 2019/04/13 00:01
android-49 INFO: task hung in do_exit syz 18 1679d 1863d 0/3 public: reported syz repro on 2019/04/14 09:28
android-44 INFO: task hung in tty_open C 132 1648d 1864d 0/2 public: reported C repro on 2019/04/13 00:00
linux-4.14 INFO: task hung in tty_open 2 1400d 1452d 0/1 auto-closed as invalid on 2020/11/17 06:29
android-414 INFO: task hung in tty_open C 152 1844d 1866d 0/1 public: reported C repro on 2019/04/11 00:00
android-49 INFO: task hung in tty_open C 447 1629d 1865d 0/3 public: reported C repro on 2019/04/12 00:00
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/11/18 13:32 23m retest repro linux-next report log
2023/08/31 01:30 2h08m retest repro linux-next report log
2023/06/06 06:38 21m retest repro linux-next error OK
2022/10/23 06:30 19m retest repro linux-next report log

Sample crash report:
INFO: task syz-executor372:3664 can't die for more than 143 seconds.
task:syz-executor372 state:R  running task     stack:26120 pid: 3664 ppid:  3651 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6475
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35
 vprintk_emit+0x1c9/0x4f0 kernel/printk/printk.c:2249
 vprintk+0x80/0x90 kernel/printk/printk_safe.c:50
 _printk+0xba/0xed kernel/printk/printk.c:2269
 show_free_areas.cold+0x4aa/0x961 mm/page_alloc.c:6052
 show_mem+0x31/0x191 lib/show_mem.c:17
 warn_alloc_show_mem mm/page_alloc.c:4268 [inline]
 warn_alloc.cold+0x121/0x189 mm/page_alloc.c:4293
 __vmalloc_area_node mm/vmalloc.c:3003 [inline]
 __vmalloc_node_range+0xeb5/0x1130 mm/vmalloc.c:3157
 __vmalloc_node mm/vmalloc.c:3222 [inline]
 vzalloc+0x67/0x80 mm/vmalloc.c:3292
 n_tty_open+0x16/0x170 drivers/tty/n_tty.c:1813
 tty_ldisc_open+0x9b/0x110 drivers/tty/tty_ldisc.c:433
 tty_ldisc_setup+0x43/0x100 drivers/tty/tty_ldisc.c:740
 tty_init_dev.part.0+0x1f4/0x610 drivers/tty/tty_io.c:1443
 tty_init_dev include/linux/err.h:36 [inline]
 tty_open_by_driver drivers/tty/tty_io.c:2086 [inline]
 tty_open+0xb16/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000000
 </TASK>
INFO: task syz-executor372:3665 can't die for more than 143 seconds.
task:syz-executor372 state:D stack:28112 pid: 3665 ppid:  3654 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000000
 </TASK>
INFO: task syz-executor372:3665 blocked for more than 144 seconds.
      Not tainted 5.17.0-rc2-next-20220202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor372 state:D stack:28112 pid: 3665 ppid:  3654 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000000
 </TASK>
INFO: task syz-executor372:3666 can't die for more than 144 seconds.
task:syz-executor372 state:D stack:27696 pid: 3666 ppid:  3653 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000000
 </TASK>
INFO: task syz-executor372:3666 blocked for more than 144 seconds.
      Not tainted 5.17.0-rc2-next-20220202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor372 state:D stack:27696 pid: 3666 ppid:  3653 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000000
 </TASK>
INFO: task syz-executor372:3671 can't die for more than 144 seconds.
task:syz-executor372 state:D stack:28112 pid: 3671 ppid:  3652 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000001
 </TASK>
INFO: task syz-executor372:3671 blocked for more than 145 seconds.
      Not tainted 5.17.0-rc2-next-20220202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor372 state:D stack:28112 pid: 3671 ppid:  3652 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x260 kernel/sched/core.c:6382
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441
 __mutex_lock_common kernel/locking/mutex.c:673 [inline]
 __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4b9/0x1240 fs/open.c:957
 do_open fs/namei.c:3476 [inline]
 path_openat+0x1c9e/0x2940 fs/namei.c:3609
 do_filp_open+0x1aa/0x400 fs/namei.c:3636
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347
 do_sys_open fs/open.c:1363 [inline]
 __do_sys_openat fs/open.c:1379 [inline]
 __se_sys_openat fs/open.c:1374 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f16eac9d7
RSP: 002b:00007ffe798c0ac0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5f16eac9d7
RDX: 0000000000000002 RSI: 00007ffe798c0b50 RDI: 00000000ffffff9c
RBP: 00007ffe798c0b50 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe798c0c10 R14: 00007ffe798c0c50 R15: 0000000000000001
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463
2 locks held by getty/3274:
 #0: ffff88814abb0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
 #1: ffffc90002b562e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
3 locks held by syz-executor372/3664:
1 lock held by syz-executor372/3665:
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
1 lock held by syz-executor372/3666:
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
1 lock held by syz-executor372/3671:
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
1 lock held by syz-executor372/3680:
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
1 lock held by syz-executor372/3683:
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
 #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline]
 watchdog+0xcb7/0xed0 kernel/hung_task.c:413
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3668 Comm: kworker/u4:6 Not tainted 5.17.0-rc2-next-20220202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__lock_release kernel/locking/lockdep.c:5323 [inline]
RIP: 0010:lock_release+0x217/0x720 kernel/locking/lockdep.c:5659
Code: e8 6e 08 ff ff 48 85 c0 48 89 c3 0f 84 85 03 00 00 48 8d 78 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 94 04 00 00 8b
RSP: 0018:ffffc900028bf920 EFLAGS: 00000807
RAX: dffffc0000000000 RBX: ffff88801f760b30 RCX: ffffc900028bf970
RDX: 0000000000000000 RSI: ffff888010db6138 RDI: ffff88801f760b54
RBP: 1ffff92000517f26 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000000003f R12: ffff888010db6138
R13: 0000000000000006 R14: ffff88801f760a60 R15: ffff88801f760000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80cab3f680 CR3: 000000000b88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
 _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:394 [inline]
 __text_poke+0x5d4/0x8c0 arch/x86/kernel/alternative.c:1059
 text_poke_bp_batch+0x2c3/0x4e0 arch/x86/kernel/alternative.c:1313
 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:1467 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1da/0x400 kernel/jump_label.c:830
 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207
 static_key_disable+0x16/0x20 kernel/jump_label.c:215
 toggle_allocation_gate mm/kfence/core.c:748 [inline]
 toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:726
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.308 msecs
----------------
Code disassembly (best guess):
   0:	e8 6e 08 ff ff       	callq  0xffff0873
   5:	48 85 c0             	test   %rax,%rax
   8:	48 89 c3             	mov    %rax,%rbx
   b:	0f 84 85 03 00 00    	je     0x396
  11:	48 8d 78 24          	lea    0x24(%rax),%rdi
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 fa             	mov    %rdi,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 f8             	mov    %rdi,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 08                	jl     0x3f
  37:	84 d2                	test   %dl,%dl
  39:	0f 85 94 04 00 00    	jne    0x4d3
  3f:	8b                   	.byte 0x8b

Crashes (79):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/03 00:14 linux-next 6abab1b81b65 4ebb2798 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2024/04/01 05:30 upstream fe46a7dd189e 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/03/11 04:21 upstream 137e0ec05aeb 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/03/07 02:46 upstream 5847c9777c30 f39a7eed .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2022/02/04 05:59 linux-next ef6b35306dd8 30646bfe .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2022/02/03 08:11 linux-next 2d3d8c7643a5 4ebb2798 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2022/02/02 08:02 linux-next 6abab1b81b65 4ebb2798 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2022/02/02 04:38 linux-next 6abab1b81b65 4ebb2798 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2022/01/27 05:15 linux-next 0eb96e2c58c0 2cbffd88 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2022/01/24 13:23 linux-next 74e5dee6a5b9 214351e1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2021/12/10 20:33 linux-next 4eee8d0b64ec 49ca1f59 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2021/12/09 16:54 linux-next 4eee8d0b64ec b54aa474 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2021/12/06 12:45 linux-next 5d02ef4b57f6 579a8754 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2021/11/27 05:04 linux-next f81e94e91878 63eeac02 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in show_free_areas
2024/05/19 15:38 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/05/18 20:22 upstream 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_exit
2024/05/17 20:29 upstream ea5f6ad9ad96 a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_exit
2024/04/30 02:11 upstream b947cc5bf6d7 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/04/28 19:47 upstream 2c8159388952 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/04/28 08:50 upstream 5d12ed4bea43 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/04/26 18:37 upstream c942a0cd3603 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in tty_open
2024/04/26 14:07 upstream c942a0cd3603 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/04/25 17:05 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/04/24 05:55 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/04/13 20:55 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/04/09 20:36 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2024/04/01 15:27 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/03/31 17:10 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/03/29 04:52 upstream fe46a7dd189e 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/03/28 18:30 upstream 480e035fc4c7 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2024/03/27 17:45 upstream fe46a7dd189e 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/03/21 08:10 upstream fe46a7dd189e 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2024/03/13 01:08 upstream 855684c7d938 c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/03/07 06:28 upstream 67be068d31d4 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/02/28 09:08 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2024/02/27 01:04 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/02/18 16:20 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_exit
2024/02/11 22:32 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in tty_open
2024/01/27 09:33 upstream 168174d78157 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/01/21 04:21 upstream 125514880ddd 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/01/14 08:30 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/01/11 18:59 upstream acc657692aed 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2024/01/11 06:42 upstream acc657692aed 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/01/11 06:35 upstream acc657692aed 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2024/01/11 06:26 upstream acc657692aed 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_exit
2024/01/11 06:22 upstream acc657692aed 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2024/01/11 06:22 upstream acc657692aed 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/12/08 23:18 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/12/07 02:11 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_exit
2023/12/04 21:47 upstream 33cc938e65a9 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/11/04 13:02 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_exit
2023/09/15 09:26 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/08/04 16:15 upstream c1a515d3c027 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in do_exit
2023/07/13 15:33 upstream eb26cbb1a754 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/07/10 17:19 upstream 06c2afb862f9 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_exit
2023/07/10 14:19 upstream 06c2afb862f9 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/03/28 06:09 upstream 91fe204578ba 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/03/02 07:11 upstream ee3f96b16468 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_exit
2023/07/31 22:26 upstream 5d0c230f1de8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in do_exit
2024/05/20 03:50 linux-next c75962170e49 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/05/05 19:32 linux-next 9221b2819b8a 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/24 10:11 linux-next 7b4f2bc91c15 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/24 03:32 linux-next 7b4f2bc91c15 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/15 23:50 linux-next 6bd343537461 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/14 23:26 linux-next 9ed46da14b9b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/12 09:55 linux-next 4118d9533ff3 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/04/03 04:57 linux-next c0b832517f62 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/03/30 02:56 linux-next a6bd6c933339 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/03/30 01:22 linux-next a6bd6c933339 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/02/06 11:49 linux-next 23e11d031852 4e988e80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2024/01/01 04:13 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2023/10/21 10:56 linux-next 2030579113a1 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2023/08/07 01:56 linux-next bdffb18b5dd8 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
2023/01/09 11:39 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_exit
* Struck through repros no longer work on HEAD.