================================================================== BUG: KCSAN: data-race in serial8250_do_startup / serial8250_modem_status write to 0xffffffff898ca1f6 of 1 bytes by task 13516 on cpu 1: serial8250_do_startup+0x12f5/0x19a0 drivers/tty/serial/8250/8250_port.c:2414 serial8250_startup+0x41/0x50 drivers/tty/serial/8250/8250_port.c:2434 uart_port_startup drivers/tty/serial/serial_core.c:326 [inline] uart_startup+0x49c/0xc00 drivers/tty/serial/serial_core.c:370 uart_port_activate+0x67/0xd0 drivers/tty/serial/serial_core.c:1979 tty_port_open+0x189/0x240 drivers/tty/tty_port.c:798 uart_open+0x30/0x40 drivers/tty/serial/serial_core.c:1959 tty_open+0x3ed/0xc30 drivers/tty/tty_io.c:2112 chrdev_open+0x2eb/0x3a0 fs/char_dev.c:413 do_dentry_open+0x4e0/0xab0 fs/open.c:1000 vfs_open_consume+0x47/0x210 fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0xc16/0x11e0 fs/namei.c:5016 do_file_open+0x16c/0x290 fs/namei.c:5045 do_sys_openat2+0xa1/0x140 fs/open.c:1443 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1460 x64_sys_call+0x1f72/0x2550 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x11e/0x3a0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff898ca1f6 of 1 bytes by interrupt on cpu 0: serial8250_modem_status+0x6a/0x1e0 drivers/tty/serial/8250/8250_port.c:1780 serial8250_handle_irq_locked+0x412/0x500 drivers/tty/serial/8250/8250_port.c:1870 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+0x3e/0x90 arch/x86/kernel/irq.c:273 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:665 native_irq_enable arch/x86/include/asm/irqflags.h:-1 [inline] arch_local_irq_enable arch/x86/include/asm/irqflags.h:119 [inline] handle_softirqs+0xbc/0x310 kernel/softirq.c:653 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x40/0xf0 kernel/softirq.c:786 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0x74/0x80 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 arch_atomic_sub_and_test arch/x86/include/asm/atomic.h:47 [inline] raw_atomic_sub_and_test include/linux/atomic/atomic-arch-fallback.h:2258 [inline] atomic_sub_and_test include/linux/atomic/atomic-instrumented.h:1366 [inline] page_ref_sub_and_test include/linux/page_ref.h:195 [inline] folio_ref_sub_and_test include/linux/page_ref.h:204 [inline] folios_put_refs+0xcc/0x320 mm/folio.c:1035 free_pages_and_swap_cache+0x1a4/0x270 mm/swap_state.c:654 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [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+0x2734/0x2ea0 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 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 13512 Comm: syz.1.2974 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 ==================================================================