================================================================== BUG: KCSAN: data-race in process_scheduled_works / queue_work_on read-write (marked) to 0xffff8881024044c0 of 8 bytes by interrupt on cpu 0: instrument_atomic_read_write include/linux/instrumented.h:113 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] queue_work_on+0x42/0x150 kernel/workqueue.c:2597 queue_work include/linux/workqueue.h:700 [inline] tty_buffer_queue_work drivers/tty/tty_buffer.c:66 [inline] tty_flip_buffer_push+0x82/0x90 drivers/tty/tty_buffer.c:540 serial8250_rx_chars drivers/tty/serial/8250/8250_port.c:1704 [inline] serial8250_handle_irq_locked+0x40a/0x500 drivers/tty/serial/8250/8250_port.c:1868 serial8250_handle_irq+0xb5/0x260 drivers/tty/serial/8250/8250_port.c:1889 serial8250_default_handle_irq+0x65/0xd0 drivers/tty/serial/8250/8250_port.c:1907 serial8250_interrupt+0x63/0x110 drivers/tty/serial/8250/8250_core.c:87 __handle_irq_event_percpu+0x92/0x4a0 kernel/irq/handle.c:209 handle_irq_event_percpu kernel/irq/handle.c:246 [inline] handle_irq_event+0x64/0xf0 kernel/irq/handle.c:263 handle_edge_irq+0x155/0x440 kernel/irq/chip.c:859 generic_handle_irq_desc include/linux/irqdesc.h:188 [inline] handle_irq arch/x86/kernel/irq.c:209 [inline] call_irq_handler arch/x86/kernel/irq.c:-1 [inline] __common_interrupt+0x60/0xb0 arch/x86/kernel/irq.c:280 common_interrupt+0x7e/0x90 arch/x86/kernel/irq.c:273 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:665 check_access kernel/kcsan/core.c:796 [inline] __tsan_unaligned_volatile_read8+0x194/0x1c0 kernel/kcsan/core.c:1095 _compound_head include/linux/page-flags.h:221 [inline] free_pages_and_swap_cache+0xd8/0x270 mm/swap_state.c:645 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:399 [inline] tlb_flush_mmu+0x56f/0x6d0 mm/mmu_gather.c:406 zap_pte_range mm/memory.c:2085 [inline] zap_pmd_range mm/memory.c:2134 [inline] zap_pud_range mm/memory.c:2162 [inline] zap_p4d_range mm/memory.c:2183 [inline] __zap_vma_range+0x2765/0x2ed0 mm/memory.c:2223 unmap_vmas+0x216/0x310 mm/memory.c:2292 exit_mmap+0x1a2/0x650 mm/mmap.c:1315 __mmput+0x28/0x1f0 kernel/fork.c:1192 mmput+0x51/0x60 kernel/fork.c:1215 exit_mm+0x12d/0x1d0 kernel/exit.c:586 do_exit+0x44a/0x1530 kernel/exit.c:967 do_group_exit+0xfe/0x140 kernel/exit.c:1123 get_signal+0xc49/0xd30 kernel/signal.c:3113 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x161/0x940 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x23b/0x3a0 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881024044c0 of 8 bytes by task 367 on cpu 1: process_one_work kernel/workqueue.c:3419 [inline] process_scheduled_works+0x2fd/0xab0 kernel/workqueue.c:3578 worker_thread+0x56c/0x770 kernel/workqueue.c:3659 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 367 Comm: kworker/u8:6 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: ttyS-serial_8250 flush_to_ldisc ==================================================================