bridge0: received packet on veth0_to_bridge with own address as source address (addr:1e:7c:e1:22:e4:0c, vlan:0) rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P25060/1:b..l P18867/1:b..l rcu: (detected by 1, t=10503 jiffies, g=117105, q=522 ncpus=2) task:syz-executor state:R running task stack:21664 pid:18867 tgid:18867 ppid:18865 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:rcu_is_watching+0x0/0xb0 kernel/rcu/tree.c:733 Code: c7 e0 1f 94 8e e8 50 fe 73 03 eb cd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 57 41 56 53 65 ff 05 38 03 89 7e e8 1b 9b 46 0a 89 RSP: 0018:ffffc900051ff560 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888027459e00 RDX: ffff888027459e00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81a3f64a R09: 1ffffffff2856510 R10: dffffc0000000000 R11: fffffbfff2856511 R12: ffff888027459e00 R13: ffffffff81809d60 R14: 0000000000000001 R15: 00007f234437d02a rcu_read_lock include/linux/rcupdate.h:850 [inline] is_bpf_text_address+0x63/0x2a0 kernel/bpf/core.c:767 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free mm/slub.c:4579 [inline] kfree+0x1a0/0x440 mm/slub.c:4727 tomoyo_path_perm+0x59c/0x740 security/tomoyo/file.c:842 security_inode_getattr+0x130/0x330 security/security.c:2373 vfs_getattr+0x2a/0x3b0 fs/stat.c:243 vfs_fstat fs/stat.c:265 [inline] vfs_fstatat+0xa8/0x130 fs/stat.c:364 __do_sys_newfstatat fs/stat.c:530 [inline] __se_sys_newfstatat fs/stat.c:524 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:524 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f234437d02a RSP: 002b:00007ffdbd663a28 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f234437d02a RDX: 00007ffdbd663a30 RSI: 00007f23444276e2 RDI: 0000000000000003 RBP: 00007ffdbd663a30 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000001000 R11: 0000000000000206 R12: 00007ffdbd664c20 R13: 00007f23443f15fc R14: 00000000001e89e9 R15: 00007ffdbd664c60 task:syz-executor state:R running task stack:20400 pid:25060 tgid:25060 ppid:25048 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__page_table_check_zero+0x201/0x350 mm/page_table_check.c:160 Code: 7c b2 48 89 ef e8 4f 20 f3 ff eb a8 e8 98 38 8c ff be 01 00 00 00 48 c7 c7 a0 70 a7 8e 4c 89 f2 e8 c4 22 e6 02 e9 01 ff ff ff 7a 38 8c ff 4c 89 e7 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d RSP: 0018:ffffc9000d9171e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88802afc5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8208b025 R09: 1ffff11003dc889f R10: dffffc0000000000 R11: ffffed1003dc88a0 R12: ffff88801ee44500 R13: 1ffffffff34853e4 R14: 0000000000000003 R15: 0000000000000008 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1128 [inline] free_unref_page+0xe02/0x1130 mm/page_alloc.c:2657 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4264 [inline] __kmalloc_noprof+0x1fc/0x400 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:883 [inline] kzalloc_noprof include/linux/slab.h:1015 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x26f/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x59e/0x5e0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x258/0x4f0 security/tomoyo/file.c:771 security_file_open+0x777/0x990 security/security.c:3108 do_dentry_open+0x369/0x1460 fs/open.c:928 vfs_open+0x3e/0x330 fs/open.c:1071 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1398 do_sys_open fs/open.c:1413 [inline] __do_sys_openat fs/open.c:1429 [inline] __se_sys_openat fs/open.c:1424 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1424 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6c4657e111 RSP: 002b:00007ffd6b5277f0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000000d6 RCX: 00007f6c4657e111 RDX: 0000000000090800 RSI: 00007f6c465f1a7e RDI: 00000000ffffff9c RBP: 00007ffd6b52788c R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000001e8971 R14: 00000000001e85c6 R15: 00007ffd6b5278e0 rcu: rcu_preempt kthread starved for 8048 jiffies! g117105 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.12.0-syzkaller-01782-gbf9aa14fc523 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events switchdev_deferred_process_work RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:413 Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 3c f4 b7 fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c a7 RSP: 0018:ffffc90000006910 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffffffff9a6ff120 RCX: 0000000000000000 RDX: 00000000000003f9 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff8543dd0b R09: fffff52000000d04 R10: dffffc0000000000 R11: ffffffff8543dcc0 R12: dffffc0000000000 R13: 1ffff92000000d40 R14: 0000000000000000 R15: 00000000000003f9 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c29007d CR3: 0000000034d9a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial8250_console_write+0x54e/0x1ed0 drivers/tty/serial/8250/8250_port.c:3358 console_emit_next_record kernel/printk/printk.c:3093 [inline] console_flush_all+0x869/0xeb0 kernel/printk/printk.c:3181 __console_flush_and_unlock kernel/printk/printk.c:3240 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3280 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2408 _printk+0xd5/0x120 kernel/printk/printk.c:2433 br_fdb_update+0x6ce/0x740 net/bridge/br_fdb.c:904 br_handle_frame_finish+0x739/0x1fe0 net/bridge/br_input.c:141 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5564 __netif_receive_skb_one_core net/core/dev.c:5668 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5783 process_backlog+0x662/0x15b0 net/core/dev.c:6115 __napi_poll+0xcb/0x490 net/core/dev.c:6779 napi_poll net/core/dev.c:6848 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6970 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] switchdev_deferred_dequeue net/switchdev/switchdev.c:78 [inline] switchdev_deferred_process+0x156/0x2d0 net/switchdev/switchdev.c:94 switchdev_deferred_process_work+0x13/0x20 net/switchdev/switchdev.c:105 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) net_ratelimit: 21568 callbacks suppressed bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:1e:7c:e1:22:e4:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:1e:7c:e1:22:e4:0c, vlan:0)