================================================================== BUG: KCSAN: data-race in __wb_writeout_add / writeout_period write to 0xffffffff86efcd90 of 8 bytes by interrupt on cpu 0: writeout_period+0xa6/0xe0 mm/page-writeback.c:614 call_timer_fn+0x37/0x2f0 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x448/0x630 kernel/time/timer.c:2038 run_timer_softirq+0x31/0x40 kernel/time/timer.c:2053 __do_softirq+0xc4/0x279 kernel/softirq.c:553 do_softirq+0x5e/0x90 kernel/softirq.c:454 __local_bh_enable_ip+0x64/0x70 kernel/softirq.c:381 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] del_nbp+0xd8/0x780 net/bridge/br_if.c:344 br_del_if+0xa0/0x1e0 net/bridge/br_if.c:739 br_del_slave+0x24/0x30 net/bridge/br_device.c:390 do_set_master net/core/rtnetlink.c:2696 [inline] do_setlink+0x90a/0x2430 net/core/rtnetlink.c:2909 __rtnl_newlink net/core/rtnetlink.c:3707 [inline] rtnl_newlink+0x1183/0x1670 net/core/rtnetlink.c:3754 rtnetlink_rcv_msg+0x807/0x8c0 net/core/rtnetlink.c:6558 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2545 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6576 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x589/0x650 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2667 __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff86efcd90 of 8 bytes by task 1810 on cpu 1: wb_domain_writeout_add mm/page-writeback.c:563 [inline] __wb_writeout_add+0x8a/0x1d0 mm/page-writeback.c:584 __folio_end_writeback+0x21b/0x4a0 mm/page-writeback.c:2963 folio_end_writeback+0x74/0x1f0 mm/filemap.c:1598 ext4_finish_bio+0x45c/0x8c0 fs/ext4/page-io.c:145 ext4_release_io_end+0x8c/0x1e0 fs/ext4/page-io.c:160 ext4_end_io_end fs/ext4/page-io.c:194 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:259 [inline] ext4_end_io_rsv_work+0x2d3/0x360 fs/ext4/page-io.c:273 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2706 worker_thread+0x525/0x730 kernel/workqueue.c:2787 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 value changed: 0x0000000100024a14 -> 0x0000000100024b40 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1810 Comm: kworker/u4:8 Not tainted 6.7.0-syzkaller-01367-g35f11a3710cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work ==================================================================