ci2 starts bisection 2025-06-30 23:02:01.257717115 +0000 UTC m=+21079.821269905 bisecting fixing commit since 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 building syzkaller on 16256247d9c41cf4980c36db3841ddd674a04b58 ensuring issue is reproducible on original commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53e7d1fadd61706cbd291ca40c4f4f2933db61a01fbf7f666c6a384f497a4ae9 all runs: crashed: general protection fault in n_tty_flush_buffer representative crash: general protection fault in n_tty_flush_buffer, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b1d9b58381aa86c3f7b9abc8aac0bce03e8d75512bfdd3495a3af9a4a7234538 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #4: ignore: lost connection to test machine run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4788 full=6023 leaves diff=246 split chunks (needed=false): <246> split chunk #0 of len 246 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f533b79554d8e1d85db40155168df0ca08ca2bf878638155ecc0d1550dd98d3f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 41dc27225ab0a4cd4071d763c0745cac6c46a4fb357fabdf4e323812e1f292a9 all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 68c1fdd14f0ee6f799ec3f3a415b9e587a687038b9817216dcbde3ae49b716d7 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2fd20eabbda67fa198a3b8ce0c322f690ed9dd1a0d3a4ac6b98f9f81f2c088bc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6e8009ee37940ba520ae7ad0fe11dcd343a9e0f0f35540635969f58ea6a6680 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] the chunk can be dropped minimized to 50 configs; suspects: [CFG80211 CPU_MITIGATIONS FB HID_HOLTEK HID_PANTHERLORD HID_PENMOUNT HID_PETALYNX HID_PICOLCD_FB HID_PICOLCD_LEDS HID_PID HID_PRIMAX HID_PRODIKEYS HID_RMI HID_SAITEK HID_SAMSUNG HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_HUB HID_SPEEDLINK HID_STEELSERIES HID_SUNPLUS HID_THINGM HID_TIVO HID_TOPSEED HID_TWINHAN HID_WALTOP HID_XINMO HID_ZYDACRON HOLTEK_FF HOTPLUG_PCI HWMON HW_CONSOLE I2C_MUX INPUT_JOYSTICK INPUT_LEDS INPUT_MOUSE INTEGRITY INTEGRITY_AUDIT JOYSTICK_XPAD JOYSTICK_XPAD_FF JOYSTICK_XPAD_LEDS KCOV KCOV_ENABLE_COMPARISONS KCOV_INSTRUMENT_ALL LCD_CLASS_DEVICE LD_IS_BFD LOGIG940_FF LOGIRUMBLEPAD2_FF LOGITECH_FF LOGIWHEELS_FF MAC80211 MAC80211_HAS_RC MAC80211_RC_DEFAULT_MINSTREL MAC80211_RC_MINSTREL MEDIA_ANALOG_TV_SUPPORT MEDIA_ATTACH MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_TUNER MFD_CORE MITIGATION_RFDS NL80211_TESTMODE NOP_USB_XCEIV PANTHERLORD_FF PROC_MEM_ALWAYS_FORCE RADIO_ADAPTERS REGMAP_SPI RFKILL SND SOUND VT WIRELESS] disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 59e9a72288571b476bbe39902c89aed0423905bf testing commit 59e9a72288571b476bbe39902c89aed0423905bf gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cdea69ca4e1d2b9aa2bf09d418381a6069f13d956d10be2d133c7d3ecdfad0e5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer representative crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 3h43m56.796387813s (build: 1h57m27.857586979s, test: 1h44m53.49335249s) crash still not fixed or there were kernel test errors commit msg: Merge android13-5.10 into android13-5.10-lts crash: BUG: unable to handle kernel NULL pointer dereference in n_tty_flush_buffer tty tty1: SAK: killed process 12894 (syz.0.6116): by fd#3 tty tty1: SAK: killed process 12899 (syz.0.6116): by fd#3 BUG: kernel NULL pointer dereference, address: 0000000000000010 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 11a22b067 P4D 11a22b067 PUD 0 Oops: 0002 [#1] PREEMPT SMP CPU: 0 PID: 1101 Comm: kworker/0:38 Not tainted 5.10.238-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events vc_SAK RIP: 0010:reset_buffer_flags drivers/tty/n_tty.c:332 [inline] RIP: 0010:n_tty_flush_buffer+0x36/0xa0 drivers/tty/n_tty.c:370 Code: 30 c3 7e ff 4d 8d ac 24 f0 00 00 00 4c 89 ef e8 90 ab b5 00 49 8b 94 24 b8 02 00 00 31 c0 b9 40 00 00 00 48 8d b2 60 10 00 00 <48> c7 42 10 00 00 00 00 48 89 f7 48 c7 02 00 00 00 00 48 c7 82 60 RSP: 0018:ffffc90001b0bd30 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff81ae6c40 RCX: 0000000000000040 RDX: 0000000000000000 RSI: 0000000000001060 RDI: ffff88811ca624f0 RBP: ffffc90001b0bd40 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88811ca62400 R13: ffff88811ca624f0 R14: ffff88811ca62560 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 000000011be05000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_buffer_flush+0x10f/0x140 drivers/tty/tty_buffer.c:239 tty_ldisc_flush+0x4c/0xa0 drivers/tty/tty_ldisc.c:415 __do_SAK.part.0+0x1e5/0x230 drivers/tty/tty_io.c:3001 __do_SAK+0x20/0x30 drivers/tty/tty_io.c:2994 vc_SAK+0x43/0xd0 drivers/tty/vt/vt_ioctl.c:994 process_one_work+0x23e/0x500 kernel/workqueue.c:2301 worker_thread+0x5c/0x530 kernel/workqueue.c:2447 kthread+0x196/0x1d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: CR2: 0000000000000010 ---[ end trace 490225fd5e0a6ffd ]--- RIP: 0010:reset_buffer_flags drivers/tty/n_tty.c:332 [inline] RIP: 0010:n_tty_flush_buffer+0x36/0xa0 drivers/tty/n_tty.c:370 Code: 30 c3 7e ff 4d 8d ac 24 f0 00 00 00 4c 89 ef e8 90 ab b5 00 49 8b 94 24 b8 02 00 00 31 c0 b9 40 00 00 00 48 8d b2 60 10 00 00 <48> c7 42 10 00 00 00 00 48 89 f7 48 c7 02 00 00 00 00 48 c7 82 60 RSP: 0018:ffffc90001b0bd30 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff81ae6c40 RCX: 0000000000000040 RDX: 0000000000000000 RSI: 0000000000001060 RDI: ffff88811ca624f0 RBP: ffffc90001b0bd40 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88811ca62400 R13: ffff88811ca624f0 R14: ffff88811ca62560 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 000000011be05000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 30 c3 xor %al,%bl 2: 7e ff jle 0x3 4: 4d 8d ac 24 f0 00 00 lea 0xf0(%r12),%r13 b: 00 c: 4c 89 ef mov %r13,%rdi f: e8 90 ab b5 00 call 0xb5aba4 14: 49 8b 94 24 b8 02 00 mov 0x2b8(%r12),%rdx 1b: 00 1c: 31 c0 xor %eax,%eax 1e: b9 40 00 00 00 mov $0x40,%ecx 23: 48 8d b2 60 10 00 00 lea 0x1060(%rdx),%rsi * 2a: 48 c7 42 10 00 00 00 movq $0x0,0x10(%rdx) <-- trapping instruction 31: 00 32: 48 89 f7 mov %rsi,%rdi 35: 48 c7 02 00 00 00 00 movq $0x0,(%rdx) 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: 82 (bad) 3f: 60 (bad)