INFO: task kworker/0:3:4067 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:3 state:D stack:18944 pid: 4067 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x931/0x2360 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 unregister_netdev+0xe/0x20 net/core/dev.c:10467 usbnet_disconnect+0x139/0x270 drivers/net/usb/usbnet.c:1623 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 __device_release_driver+0x5d7/0x700 drivers/base/dd.c:1206 device_release_driver_internal drivers/base/dd.c:1237 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1260 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529 device_del+0x502/0xd50 drivers/base/core.c:3596 usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x27a/0x78e drivers/usb/core/hub.c:2228 hub_port_connect drivers/usb/core/hub.c:5202 [inline] hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] port_event drivers/usb/core/hub.c:5660 [inline] hub_event+0x1e39/0x44d0 drivers/usb/core/hub.c:5742 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x40b/0x500 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task kworker/0:8:14558 blocked for more than 144 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:23704 pid:14558 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x931/0x2360 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 r871xu_dev_remove+0x6e/0x2c0 drivers/staging/rtl8712/usb_intf.c:597 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 __device_release_driver+0x5d7/0x700 drivers/base/dd.c:1206 device_release_driver_internal drivers/base/dd.c:1237 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1260 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529 device_del+0x502/0xd50 drivers/base/core.c:3596 usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x27a/0x78e drivers/usb/core/hub.c:2228 hub_port_connect drivers/usb/core/hub.c:5202 [inline] hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] port_event drivers/usb/core/hub.c:5660 [inline] hub_event+0x1e39/0x44d0 drivers/usb/core/hub.c:5742 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 process_scheduled_works kernel/workqueue.c:2370 [inline] worker_thread+0x833/0x1110 kernel/workqueue.c:2456 kthread+0x40b/0x500 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/25: #0: ffffffff878923c0 (rcu_read_lock){....}-{1:2} , at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 3 locks held by kworker/0:2/69: #0: ffff888100065d38 ((wq_completion)events_power_efficient ){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:631 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] , at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90000e6fdb0 ((reg_check_chans).work){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x83/0xe20 net/wireless/reg.c:2451 4 locks held by dhcpcd/1207: 2 locks held by getty/1231: #0: ffff88810ea42098 (&tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900000432e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 6 locks held by kworker/0:3/4067: #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90001b17db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf05220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff888116ecd220 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:760 [inline] , at: usb_disconnect.cold+0x43/0x78e drivers/usb/core/hub.c:2219 #4: ffff8881319e11a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff8881319e11a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1033 [inline] #4: ffff8881319e11a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal drivers/base/dd.c:1234 [inline] #4: ffff8881319e11a8 (&dev->mutex){....}-{3:3}, at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1260 #5: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10467 6 locks held by kworker/0:5/4165: #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:631 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] , at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900028d7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810d03b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] ffff88810d03b220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88811503f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #4: ffff888112fa71a8 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:760 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #5: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3} , at: wpan_phy_register+0x23/0x150 net/ieee802154/core.c:142 3 locks held by kworker/0:6/4669: #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90008ff7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810ce0c220 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:760 [inline] , at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 6 locks held by kworker/1:8/5739: #0: ffff888103b88d38 ( (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90002897db0 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf8d220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88810cf8d220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88813ba34220 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:760 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #4: ffff88811882b1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] ffff88811882b1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #5: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9783 3 locks held by kworker/1:0/11243: #0: ffff88810dbe9938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:631 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] , at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000afd7db0 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4595 3 locks held by kworker/0:0/14549: #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900080a7db0 ((work_completion)(&fw_work->work)){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88877368 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9783 6 locks held by kworker/0:7/14554: #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:631 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] , at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000909fdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf02220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88810cf02220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88810a573220 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] ){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #4: ffff88813ba361a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff88813ba361a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945 #5: ffffffff88877368 (rtnl_mutex ){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9783 5 locks held by kworker/0:8/14558: #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888103b88d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90005617db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810ce5c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88810ce5c220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88813a664220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x78e drivers/usb/core/hub.c:2219 #4: ffff88811297b1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1033 [inline] (&dev->mutex){....}-{3:3}, at: device_release_driver_internal drivers/base/dd.c:1234 [inline] (&dev->mutex){....}-{3:3}, at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1260 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 25 Comm: khungtaskd Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x40b/0x500 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1152 Comm: syslogd Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x5f/0x180 mm/kasan/generic.c:189 Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da 48 29 ea <48> 83 fa 10 7e 63 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07 48 85 d2 RSP: 0018:ffffc900009876f0 EFLAGS: 00000002 RAX: fffffbfff14faf0e RBX: fffffbfff14faf0f RCX: ffffffff8128c49f RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8a7d7870 RBP: fffffbfff14faf0e R08: 0000000000000000 R09: ffffffff8a7d7877 R10: fffffbfff14faf0e R11: 0000000000000000 R12: 0000000000000003 R13: ffff8881104fa5f8 R14: 000000000000038b R15: ffff8881104fa618 FS: 00007f8d9c21c800(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007febad6a13a5 CR3: 000000010de0c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] mark_lock+0xef/0x17b0 kernel/locking/lockdep.c:4583 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4206 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4224 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4244 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1514 [inline] pagevec_lru_move_fn+0x3de/0x670 mm/swap.c:214 folio_activate mm/swap.c:357 [inline] folio_mark_accessed mm/swap.c:438 [inline] folio_mark_accessed+0xa96/0xd40 mm/swap.c:420 shmem_getpage_gfp.constprop.0+0x1215/0x1c00 mm/shmem.c:1844 shmem_getpage mm/shmem.c:150 [inline] shmem_write_begin+0xfd/0x1d0 mm/shmem.c:2452 generic_perform_write+0x205/0x510 mm/filemap.c:3687 __generic_file_write_iter+0x306/0x4b0 mm/filemap.c:3814 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3846 call_write_iter include/linux/fs.h:2086 [inline] new_sync_write+0x431/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 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:0x7f8d9c3a89a3 Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 002b:00007ffc03ddfa28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8d9c3a89a3 RDX: 0000000000000093 RSI: 0000565422158c50 RDI: 0000000000000003 RBP: 0000565422158c50 R08: 00007f8d9c438040 R09: 00007f8d9c4380c0 R10: 00007f8d9c437fc0 R11: 0000000000000246 R12: 0000000000000093 R13: 00007f8d9c21c788 R14: 0000000000000004 R15: 0000565422158a60 ---------------- Code disassembly (best guess): 0: 89 fd mov %edi,%ebp 2: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 9: fc ff df c: 4d 89 ca mov %r9,%r10 f: 48 c1 ed 03 shr $0x3,%rbp 13: 49 c1 ea 03 shr $0x3,%r10 17: 48 01 c5 add %rax,%rbp 1a: 49 01 c2 add %rax,%r10 1d: 48 89 e8 mov %rbp,%rax 20: 49 8d 5a 01 lea 0x1(%r10),%rbx 24: 48 89 da mov %rbx,%rdx 27: 48 29 ea sub %rbp,%rdx * 2a: 48 83 fa 10 cmp $0x10,%rdx <-- trapping instruction 2e: 7e 63 jle 0x93 30: 41 89 eb mov %ebp,%r11d 33: 41 83 e3 07 and $0x7,%r11d 37: 75 74 jne 0xad 39: 4c 8d 5a 07 lea 0x7(%rdx),%r11 3d: 48 85 d2 test %rdx,%rdx