===================================================== BUG: KMSAN: uninit-value in variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] BUG: KMSAN: uninit-value in test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] BUG: KMSAN: uninit-value in n_tty_receive_buf_standard drivers/tty/n_tty.c:1542 [inline] BUG: KMSAN: uninit-value in __receive_buf drivers/tty/n_tty.c:1562 [inline] BUG: KMSAN: uninit-value in n_tty_receive_buf_common+0x1d9d/0xc950 drivers/tty/n_tty.c:1658 variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] n_tty_receive_buf_standard drivers/tty/n_tty.c:1542 [inline] __receive_buf drivers/tty/n_tty.c:1562 [inline] n_tty_receive_buf_common+0x1d9d/0xc950 drivers/tty/n_tty.c:1658 n_tty_receive_buf2+0x47/0x60 drivers/tty/n_tty.c:1693 tty_ldisc_receive_buf+0xc8/0x260 drivers/tty/tty_buffer.c:452 tty_port_default_receive_buf+0xdb/0x180 drivers/tty/tty_port.c:39 receive_buf drivers/tty/tty_buffer.c:472 [inline] flush_to_ldisc+0x449/0x8a0 drivers/tty/tty_buffer.c:522 process_one_work+0xb27/0x13e0 kernel/workqueue.c:2289 worker_thread+0x1076/0x1d60 kernel/workqueue.c:2436 kthread+0x31b/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Uninit was created at: slab_post_alloc_hook mm/slab.h:755 [inline] slab_alloc_node mm/slub.c:3229 [inline] slab_alloc mm/slub.c:3237 [inline] __kmalloc+0x7bd/0x10d0 mm/slub.c:4429 kmalloc include/linux/slab.h:605 [inline] tty_buffer_alloc drivers/tty/tty_buffer.c:178 [inline] __tty_buffer_request_room+0x3d8/0x710 drivers/tty/tty_buffer.c:275 __tty_insert_flip_char+0x5e/0x2f0 drivers/tty/tty_buffer.c:393 tty_insert_flip_char include/linux/tty_flip.h:35 [inline] uart_insert_char+0x385/0x960 drivers/tty/serial/serial_core.c:3210 serial8250_read_char+0x194/0x5c0 drivers/tty/serial/8250/8250_port.c:1790 serial8250_rx_chars drivers/tty/serial/8250/8250_port.c:1805 [inline] serial8250_handle_irq+0x3c1/0x710 drivers/tty/serial/8250/8250_port.c:1946 serial8250_default_handle_irq+0x116/0x2a0 drivers/tty/serial/8250/8250_port.c:1971 serial8250_interrupt+0xbc/0x350 drivers/tty/serial/8250/8250_core.c:125 __handle_irq_event_percpu+0x11c/0xb40 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0xeb/0x2b0 kernel/irq/handle.c:210 handle_edge_irq+0x355/0xfa0 kernel/irq/chip.c:817 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:231 [inline] __common_interrupt+0x94/0x250 arch/x86/kernel/irq.c:250 common_interrupt+0xaf/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x2c/0x40 CPU: 0 PID: 7241 Comm: kworker/u4:8 Not tainted 5.19.0-rc3-syzkaller-30868-g4b28366af7d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc =====================================================