================================================================== BUG: KCSAN: data-race in serial8250_do_startup / serial8250_modem_status write to 0xffffffff898c1216 of 1 bytes by task 11482 on cpu 1: serial8250_do_startup+0x11ef/0x19a0 drivers/tty/serial/8250/8250_port.c:2391 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-write to 0xffffffff898c1216 of 1 bytes by interrupt on cpu 0: serial8250_modem_status+0x43/0x1e0 drivers/tty/serial/8250/8250_port.c:1779 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+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:756 [inline] __tsan_read4+0xb7/0x190 kernel/kcsan/core.c:1033 in_32bit_syscall arch/x86/include/asm/compat.h:94 [inline] in_compat_syscall arch/x86/include/asm/compat.h:100 [inline] import_iovec+0x37/0x80 lib/iov_iter.c:1461 copy_msghdr_from_user net/socket.c:2652 [inline] recvmsg_copy_msghdr net/socket.c:2902 [inline] ___sys_recvmsg+0x38b/0x3a0 net/socket.c:2974 do_recvmmsg+0x1e4/0x550 net/socket.c:3073 __sys_recvmmsg net/socket.c:3147 [inline] __do_sys_recvmmsg net/socket.c:3170 [inline] __se_sys_recvmmsg net/socket.c:3163 [inline] __x64_sys_recvmmsg+0xe5/0x170 net/socket.c:3163 x64_sys_call+0x77f/0x2550 arch/x86/include/generated/asm/syscalls_64.h:300 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 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11477 Comm: syz.5.2123 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 ==================================================================