[ 58.750302] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) show-all-locks(d) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) replay-kernel-logs(R) [ 58.750681] ------------[ cut here ]------------ [ 58.750690] netpoll_send_skb_on_dev(): eth0 enabled interrupts in poll (macb_start_xmit+0x0/0xd30) [ 58.750730] WARNING: CPU: 0 PID: 0 at net/core/netpoll.c:359 netpoll_send_skb+0x46c/0x4b0 [ 58.816326] Modules linked in: netconsole quota_v2 quota_tree rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device algif_hash algif_skcipher af_alg bnep snd_soc_pcm512x_i2c snd_soc_pcm512x spidev regmap_i2c binfmt_misc hci_uart aes_ce_blk btbcm bluetooth ecdh_generic ecc aes_ce_cipher ghash_ce brcmfmac_cyw gf128mul snd_soc_hifiberry_dacplus sg raspberrypi_hwmon brcmfmac brcmutil i2c_brcmstb cfg80211 vc4 rfkill spi_bcm2835 rpi_hevc_dec snd_soc_hdmi_codec gpio_keys drm_exec drm_display_helper clk_hifiberry_dacpro cec pisp_be v4l2_mem2mem v3d videobuf2_dma_contig drm_dma_helper gpu_sched drm_shmem_helper drm_client_lib rp1_pci videobuf2_memops videobuf2_v4l2 videodev designware_i2s drm_kms_helper videobuf2_common mc snd_soc_core snd_compress i2c_designware_platform rp1_pio snd_pcm_dmaengine rp1_fw i2c_designware_core snd_pcm rp1_mailbox raspberrypi_gpiomem snd_timer rp1_adc snd nvmem_rmem uio_pdrv_genirq uio i2c_dev ledtrig_pattern drm fuse drm_panel_orientation_quirks backlight dm_mod nfsd auth_rpcgss ip_tables [ 58.816415] x_tables ipv6 [ 58.909197] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.17.0-rc2-v8-lockdep #532 PREEMPTLAZY [ 58.918365] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 58.924216] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 58.931202] pc : netpoll_send_skb+0x46c/0x4b0 [ 58.935571] lr : netpoll_send_skb+0x46c/0x4b0 [ 58.939939] sp : ffffffc080003690 [ 58.943258] x29: ffffffc080003690 x28: 0000000000000000 x27: ffffff8101151800 [ 58.950421] x26: ffffff8137fb6268 x25: 0000000000000080 x24: ffffff8137fb6200 [ 58.957583] x23: ffffff8102d58000 x22: 00000000000000c0 x21: ffffff8104f7e100 [ 58.964745] x20: ffffffd08de9c3c8 x19: ffffff8137f2d148 x18: 00000000ffffffff [ 58.971907] x17: ffffffb1714fe000 x16: ffffffd08d124020 x15: 00000000fffffffd [ 58.979069] x14: 0000000000000001 x13: 000000000002a000 x12: 0000000000008000 [ 58.986231] x11: fffffffffffe0000 x10: ffffffd08e78f000 x9 : ffffffd08c5596f0 [ 58.993393] x8 : ffffffffffffffff x7 : ffffffd08de07ef8 x6 : 0000000000000001 [ 59.000555] x5 : ffffffd08de07000 x4 : 0000000000000001 x3 : 0000000000000001 [ 59.007717] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffd08de0dd40 [ 59.014879] Call trace: [ 59.017326] netpoll_send_skb+0x46c/0x4b0 (P) [ 59.021695] netpoll_send_udp+0x2ac/0x418 [ 59.025715] write_msg+0x124/0x1b0 [netconsole] [ 59.030262] console_flush_all+0x2e4/0x4a8 [ 59.034371] console_unlock+0x84/0x188 [ 59.038128] vprintk_emit+0x24c/0x450 [ 59.041798] vprintk_default+0x40/0x58 [ 59.045555] vprintk+0x3c/0x80 [ 59.048615] _printk+0x64/0x98 [ 59.051674] __handle_sysrq+0x1ec/0x308 [ 59.055519] sysrq_filter+0xcc/0x518 [ 59.059101] input_handle_events_filter+0x58/0xc0 [ 59.063818] input_pass_values+0x1fc/0x2e8 [ 59.067924] input_handle_event+0x450/0x558 [ 59.072118] input_event+0x6c/0xb8 [ 59.075525] hidinput_report_event+0x4c/0x78 [ 59.079806] hid_report_raw_event+0xb4/0x418 [ 59.084086] hid_input_report+0x138/0x1a0 [ 59.088104] hid_irq_in+0x180/0x308 [ 59.091600] __usb_hcd_giveback_urb+0x98/0x160 [ 59.096055] usb_giveback_urb_bh+0xb0/0x150 [ 59.100248] process_one_work+0x20c/0x5e8 [ 59.104269] bh_worker+0x1b0/0x218 [ 59.107677] workqueue_softirq_action+0x80/0x98 [ 59.112220] tasklet_hi_action+0x20/0x60 [ 59.116153] handle_softirqs+0x144/0x528 [ 59.120085] __do_softirq+0x1c/0x28 [ 59.123581] ____do_softirq+0x18/0x30 [ 59.127250] call_on_irq_stack+0x30/0x70 [ 59.131181] do_softirq_own_stack+0x24/0x38 [ 59.135374] __irq_exit_rcu+0x100/0x1f8 [ 59.139219] irq_exit_rcu+0x18/0x58 [ 59.142714] el1_interrupt+0x38/0x68 [ 59.146297] el1h_64_irq_handler+0x18/0x28 [ 59.150402] el1h_64_irq+0x6c/0x70 [ 59.153809] default_idle_call+0x84/0x140 (P) [ 59.158177] do_idle+0x22c/0x298 [ 59.161412] cpu_startup_entry+0x40/0x50 [ 59.165344] rest_init+0x108/0x1a0 [ 59.168752] start_kernel+0x760/0x8c8 [ 59.172424] __primary_switched+0x88/0x98 [ 59.176444] irq event stamp: 279989 [ 59.179938] hardirqs last enabled at (279988): [] el1_interrupt+0x54/0x68 [ 59.188408] hardirqs last disabled at (279989): [] el1_brk64+0x1c/0x50 [ 59.196530] softirqs last enabled at (279934): [] handle_softirqs+0x508/0x528 [ 59.205349] softirqs last disabled at (279959): [] __do_softirq+0x1c/0x28 [ 59.213731] ---[ end trace 0000000000000000 ]--- [ 59.218386] ------------[ cut here ]------------ [ 59.218388] WARNING: CPU: 0 PID: 0 at mm/slub.c:735 get_freelist+0x160/0x1d8 [ 59.230093] Modules linked in: netconsole quota_v2 quota_tree rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device algif_hash algif_skcipher af_alg bnep snd_soc_pcm512x_i2c snd_soc_pcm512x spidev regmap_i2c binfmt_misc hci_uart aes_ce_blk btbcm bluetooth ecdh_generic ecc aes_ce_cipher ghash_ce brcmfmac_cyw gf128mul snd_soc_hifiberry_dacplus sg raspberrypi_hwmon brcmfmac brcmutil i2c_brcmstb cfg80211 vc4 rfkill spi_bcm2835 rpi_hevc_dec snd_soc_hdmi_codec gpio_keys drm_exec drm_display_helper clk_hifiberry_dacpro cec pisp_be v4l2_mem2mem v3d videobuf2_dma_contig drm_dma_helper gpu_sched drm_shmem_helper drm_client_lib rp1_pci videobuf2_memops videobuf2_v4l2 videodev designware_i2s drm_kms_helper videobuf2_common mc snd_soc_core snd_compress i2c_designware_platform rp1_pio snd_pcm_dmaengine rp1_fw i2c_designware_core snd_pcm rp1_mailbox raspberrypi_gpiomem snd_timer rp1_adc snd nvmem_rmem uio_pdrv_genirq uio i2c_dev ledtrig_pattern drm fuse drm_panel_orientation_quirks backlight dm_mod nfsd auth_rpcgss ip_tables [ 59.230172] x_tables ipv6 [ 59.322954] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.17.0-rc2-v8-lockdep #532 PREEMPTLAZY [ 59.333694] Tainted: [W]=WARN [ 59.336664] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 59.342514] pstate: a04000c9 (NzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 59.349500] pc : get_freelist+0x160/0x1d8 [ 59.353519] lr : get_freelist+0x1c0/0x1d8 [ 59.357538] sp : ffffffc080003470 [ 59.360857] x29: ffffffc080003470 x28: 0000000000000001 x27: ffffffd08de07000 [ 59.368019] x26: ffffffd08d9ef508 x25: ffffff8100a3c240 x24: ffffffd08de0dd40 [ 59.375181] x23: fffffffec413dfa0 x22: 0000000080100010 x21: fffffffec413df80 [ 59.382343] x20: ffffff8104f7ef00 x19: 000000008010000e x18: 00000000ffffffff [ 59.389504] x17: ffffffb1714fe000 x16: ffffffd08d124020 x15: 0000000000000006 [ 59.396666] x14: 0000000000000000 x13: 00000000000c2000 x12: 0000000000000000 [ 59.403828] x11: 656820747563205b x10: ffffffd08e760810 x9 : ffffffd08e079000 [ 59.410990] x8 : ffffffd08de0dd40 x7 : 00000000eb9a37bf x6 : 0000000000000190 [ 59.418152] x5 : 00000000000000c8 x4 : 0000000000040000 x3 : 0000000000000001 [ 59.425314] x2 : ffffffb1714fe000 x1 : ffffffd08de0dd40 x0 : 0000000000000107 [ 59.432476] Call trace: [ 59.434923] get_freelist+0x160/0x1d8 (P) [ 59.438942] ___slab_alloc+0xf8/0x1178 [ 59.442699] __slab_alloc.constprop.0+0x6c/0xc8 [ 59.447242] kmem_cache_alloc_node_noprof+0x2c4/0x328 [ 59.452309] __alloc_skb+0x154/0x188 [ 59.455893] netpoll_send_udp+0xac/0x418 [ 59.459826] write_msg+0x124/0x1b0 [netconsole] [ 59.464370] console_flush_all+0x2e4/0x4a8 [ 59.468476] console_unlock+0x84/0x188 [ 59.472233] vprintk_emit+0x24c/0x450 [ 59.475903] vprintk_default+0x40/0x58 [ 59.479661] vprintk+0x3c/0x80 [ 59.482719] _printk+0x64/0x98 [ 59.485778] __handle_sysrq+0x1ec/0x308 [ 59.489622] sysrq_filter+0xcc/0x518 [ 59.493204] input_handle_events_filter+0x58/0xc0 [ 59.497921] input_pass_values+0x1fc/0x2e8 [ 59.502027] input_handle_event+0x450/0x558 [ 59.506220] input_event+0x6c/0xb8 [ 59.509627] hidinput_report_event+0x4c/0x78 [ 59.513907] hid_report_raw_event+0xb4/0x418 [ 59.518188] hid_input_report+0x138/0x1a0 [ 59.522206] hid_irq_in+0x180/0x308 [ 59.525700] __usb_hcd_giveback_urb+0x98/0x160 [ 59.530155] usb_giveback_urb_bh+0xb0/0x150 [ 59.534348] process_one_work+0x20c/0x5e8 [ 59.538368] bh_worker+0x1b0/0x218 [ 59.541776] workqueue_softirq_action+0x80/0x98 [ 59.546319] tasklet_hi_action+0x20/0x60 [ 59.550251] handle_softirqs+0x144/0x528 [ 59.554183] __do_softirq+0x1c/0x28 [ 59.557677] ____do_softirq+0x18/0x30 [ 59.561347] call_on_irq_stack+0x30/0x70 [ 59.565278] do_softirq_own_stack+0x24/0x38 [ 59.569471] __irq_exit_rcu+0x100/0x1f8 [ 59.573316] irq_exit_rcu+0x18/0x58 [ 59.576811] el1_interrupt+0x38/0x68 [ 59.580393] el1h_64_irq_handler+0x18/0x28 [ 59.584498] el1h_64_irq+0x6c/0x70 [ 59.587905] default_idle_call+0x84/0x140 (P) [ 59.592273] do_idle+0x22c/0x298 [ 59.595507] cpu_startup_entry+0x40/0x50 [ 59.599438] rest_init+0x108/0x1a0 [ 59.602846] start_kernel+0x760/0x8c8 [ 59.606517] __primary_switched+0x88/0x98 [ 59.610536] irq event stamp: 279993 [ 59.614030] hardirqs last enabled at (279992): [] el1_interrupt+0x54/0x68 [ 59.622499] hardirqs last disabled at (279993): [] el1_brk64+0x1c/0x50 [ 59.630620] softirqs last enabled at (279934): [] handle_softirqs+0x508/0x528 [ 59.639440] softirqs last disabled at (279959): [] __do_softirq+0x1c/0x28 [ 59.647822] ---[ end trace 0000000000000000 ]--- [ 59.652452] [ 59.653938] ================================ [ 59.658217] WARNING: inconsistent lock state [ 59.662496] 6.17.0-rc2-v8-lockdep #532 Tainted: G W [ 59.668869] -------------------------------- [ 59.673148] inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. [ 59.679172] swapper/0/0 [HC0[0]:SC1[1]:HE0:SE0] takes: [ 59.684325] ffffff81fef08f80 (&c->lock){?.-.}-{3:3}, at: ___slab_alloc+0x7c/0x1178 [ 59.691926] {IN-HARDIRQ-W} state was registered at: [ 59.696815] lock_acquire+0x1d4/0x368 [ 59.700573] put_cpu_partial+0x88/0x258 [ 59.704504] __slab_free+0x250/0x420 [ 59.708173] kmem_cache_free+0x288/0x3e8 [ 59.712192] mempool_free_slab+0x24/0x38 [ 59.716211] mempool_free+0x4c/0x120 [ 59.719881] bio_free+0x70/0x90 [ 59.723114] bio_put+0x120/0x278 [ 59.726433] end_bio_bh_io_sync+0x44/0x88 [ 59.730538] bio_endio+0x19c/0x280 [ 59.734032] blk_mq_end_request_batch+0x250/0x4c0 [ 59.738837] nvme_pci_complete_batch+0xdc/0x138 [ 59.743467] nvme_irq+0x7c/0x90 [ 59.746700] __handle_irq_event_percpu+0x94/0x318 [ 59.751503] handle_irq_event+0x54/0xb8 [ 59.755433] handle_fasteoi_irq+0x12c/0x270 [ 59.759714] handle_irq_desc+0x48/0x68 [ 59.763557] generic_handle_domain_irq+0x24/0x38 [ 59.768274] gic_handle_irq+0x48/0xd8 [ 59.772031] call_on_irq_stack+0x30/0x70 [ 59.776051] do_interrupt_handler+0xdc/0xe8 [ 59.780333] el1_interrupt+0x34/0x68 [ 59.784002] el1h_64_irq_handler+0x18/0x28 [ 59.788195] el1h_64_irq+0x6c/0x70 [ 59.791690] default_idle_call+0x84/0x140 [ 59.795796] do_idle+0x22c/0x298 [ 59.799119] cpu_startup_entry+0x3c/0x50 [ 59.803139] secondary_start_kernel+0x12c/0x158 [ 59.807772] __secondary_switched+0xc0/0xc8 [ 59.812054] irq event stamp: 279993 [ 59.815548] hardirqs last enabled at (279992): [] el1_interrupt+0x54/0x68 [ 59.824018] hardirqs last disabled at (279993): [] el1_brk64+0x1c/0x50 [ 59.832141] softirqs last enabled at (279934): [] handle_softirqs+0x508/0x528 [ 59.840963] softirqs last disabled at (279959): [] __do_softirq+0x1c/0x28 [ 59.849345] [ 59.849345] other info that might help us debug this: [ 59.855894] Possible unsafe locking scenario: [ 59.855894] [ 59.861831] CPU0 [ 59.864278] ---- [ 59.866724] lock(&c->lock); [ 59.869696] [ 59.872317] lock(&c->lock); [ 59.875464] [ 59.875464] *** DEADLOCK *** [ 59.875464] [ 59.881402] 11 locks held by swapper/0/0: [ 59.885420] #0: ffffff8100049948 ((wq_completion)events_bh_highpri){+.-.}-{0:0}, at: process_one_work+0x190/0x5e8 [ 59.895818] #1: ffffffc080003e60 ((work_completion)(&bh->bh)){+.-.}-{0:0}, at: process_one_work+0x1b8/0x5e8 [ 59.905691] #2: ffffff81034d3a30 (&dev->event_lock){+.-.}-{3:3}, at: input_event+0x50/0xb8 [ 59.914080] #3: ffffffd08de9c3c8 (rcu_read_lock){....}-{1:3}, at: input_pass_values+0x38/0x2e8 [ 59.922818] #4: ffffffd08de9c3c8 (rcu_read_lock){....}-{1:3}, at: __handle_sysrq+0x8/0x308 [ 59.931206] #5: ffffffd08de2a8e8 (console_lock){+.+.}-{0:0}, at: vprintk_default+0x40/0x58 [ 59.939596] #6: ffffffd08de2a940 (console_srcu){....}-{0:0}, at: console_flush_all+0x88/0x4a8 [ 59.948247] #7: ffffffd08de2ab00 (console_owner){+.-.}-{0:0}, at: console_lock_spinning_enable+0x50/0x90 [ 59.957858] #8: ffffffd08de2ab28 (printk_legacy_map-wait-type-override){+...}-{4:4}, at: console_flush_all+0x2a0/0x4a8 [ 59.968691] #9: ffffffd02c28e298 (target_list_lock){+.-.}-{3:3}, at: write_msg+0x60/0x1b0 [netconsole] [ 59.978128] #10: ffffff81fef08f80 (&c->lock){?.-.}-{3:3}, at: ___slab_alloc+0x7c/0x1178 [ 59.986256] [ 59.986256] stack backtrace: [ 59.990624] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.17.0-rc2-v8-lockdep #532 PREEMPTLAZY [ 60.001364] Tainted: [W]=WARN [ 60.004334] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 60.010185] Call trace: [ 60.012631] show_stack+0x20/0x38 (C) [ 60.016302] dump_stack_lvl+0x90/0xd0 [ 60.019974] dump_stack+0x18/0x28 [ 60.023297] print_usage_bug.part.0+0x29c/0x368 [ 60.027841] mark_lock+0x724/0x928 [ 60.031251] mark_held_locks+0x54/0x90 [ 60.035010] lockdep_hardirqs_on_prepare+0x108/0x228 [ 60.039992] arm64_exit_el1_dbg.isra.0+0x30/0x58 [ 60.044624] el1_brk64+0x40/0x50 [ 60.047859] el1h_64_sync_handler+0x68/0xb0 [ 60.052053] el1h_64_sync+0x6c/0x70 [ 60.055548] get_freelist+0x164/0x1d8 (P) [ 60.059569] ___slab_alloc+0xf8/0x1178 [ 60.063328] __slab_alloc.constprop.0+0x6c/0xc8 [ 60.067873] kmem_cache_alloc_node_noprof+0x2c4/0x328 [ 60.072941] __alloc_skb+0x154/0x188 [ 60.076526] netpoll_send_udp+0xac/0x418 [ 60.080460] write_msg+0x124/0x1b0 [netconsole] [ 60.085004] console_flush_all+0x2e4/0x4a8 [ 60.089112] console_unlock+0x84/0x188 [ 60.092871] vprintk_emit+0x24c/0x450 [ 60.096543] vprintk_default+0x40/0x58 [ 60.100301] vprintk+0x3c/0x80 [ 60.103362] _printk+0x64/0x98 [ 60.106422] __handle_sysrq+0x1ec/0x308 [ 60.110267] sysrq_filter+0xcc/0x518 [ 60.113850] input_handle_events_filter+0x58/0xc0 [ 60.118567] input_pass_values+0x1fc/0x2e8 [ 60.122674] input_handle_event+0x450/0x558 [ 60.126868] input_event+0x6c/0xb8 [ 60.130277] hidinput_report_event+0x4c/0x78 [ 60.134558] hid_report_raw_event+0xb4/0x418 [ 60.138838] hid_input_report+0x138/0x1a0 [ 60.142857] hid_irq_in+0x180/0x308 [ 60.146354] __usb_hcd_giveback_urb+0x98/0x160 [ 60.150810] usb_giveback_urb_bh+0xb0/0x150 [ 60.155004] process_one_work+0x20c/0x5e8 [ 60.159024] bh_worker+0x1b0/0x218 [ 60.162434] workqueue_softirq_action+0x80/0x98 [ 60.166979] tasklet_hi_action+0x20/0x60 [ 60.170913] handle_softirqs+0x144/0x528 [ 60.174846] __do_softirq+0x1c/0x28 [ 60.178342] ____do_softirq+0x18/0x30 [ 60.182012] call_on_irq_stack+0x30/0x70 [ 60.185944] do_softirq_own_stack+0x24/0x38 [ 60.190139] __irq_exit_rcu+0x100/0x1f8 [ 60.193985] irq_exit_rcu+0x18/0x58 [ 60.197482] el1_interrupt+0x38/0x68 [ 60.201064] el1h_64_irq_handler+0x18/0x28 [ 60.205171] el1h_64_irq+0x6c/0x70 [ 60.208579] default_idle_call+0x84/0x140 (P) [ 60.212947] do_idle+0x22c/0x298 [ 60.216183] cpu_startup_entry+0x40/0x50 [ 60.220117] rest_init+0x108/0x1a0 [ 60.223526] start_kernel+0x760/0x8c8 [ 60.227198] __primary_switched+0x88/0x98 [ 68.638857] sysrq: Trigger a crash [ 68.638885] Kernel panic - not syncing: sysrq triggered crash [ 68.648062] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.17.0-rc2-v8-lockdep #532 PREEMPTLAZY [ 68.658803] Tainted: [W]=WARN [ 68.661774] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 68.667626] Call trace: [ 68.670073] show_stack+0x20/0x38 (C) [ 68.673749] dump_stack_lvl+0x38/0xd0 [ 68.677423] dump_stack+0x18/0x28 [ 68.680745] vpanic+0x340/0x398 [ 68.683893] panic+0x64/0x70