[ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.219' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 31.115038] ================================================================== [ 31.122483] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 31.128952] Read of size 8 at addr ffff888093e96698 by task syz-executor229/10921 [ 31.136565] [ 31.138172] CPU: 0 PID: 10921 Comm: syz-executor229 Not tainted 4.14.292-syzkaller #0 [ 31.146118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 31.155504] Call Trace: [ 31.158082] dump_stack+0x1b2/0x281 [ 31.161697] print_address_description.cold+0x54/0x1d3 [ 31.166955] kasan_report_error.cold+0x8a/0x191 [ 31.171610] ? __list_add_valid+0x93/0xa0 [ 31.175740] __asan_report_load8_noabort+0x68/0x70 [ 31.180655] ? __list_add_valid+0x93/0xa0 [ 31.184783] __list_add_valid+0x93/0xa0 [ 31.188749] rdma_listen+0x656/0x9b0 [ 31.192444] ucma_listen+0x10b/0x170 [ 31.196137] ? ucma_bind_ip+0x150/0x150 [ 31.200096] ? _copy_from_user+0x96/0x100 [ 31.204221] ? ucma_bind_ip+0x150/0x150 [ 31.208174] ucma_write+0x206/0x2c0 [ 31.211778] ? ucma_set_ib_path+0x510/0x510 [ 31.216083] __vfs_write+0xe4/0x630 [ 31.219688] ? ucma_set_ib_path+0x510/0x510 [ 31.224041] ? kernel_read+0x110/0x110 [ 31.227908] ? common_file_perm+0x3ee/0x580 [ 31.232212] ? security_file_permission+0x82/0x1e0 [ 31.237116] ? rw_verify_area+0xe1/0x2a0 [ 31.241159] vfs_write+0x17f/0x4d0 [ 31.244702] SyS_write+0xf2/0x210 [ 31.248134] ? SyS_read+0x210/0x210 [ 31.251752] ? do_syscall_64+0x4c/0x640 [ 31.255708] ? SyS_read+0x210/0x210 [ 31.259386] do_syscall_64+0x1d5/0x640 [ 31.263260] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.268436] RIP: 0033:0x7f6fa282ca69 [ 31.272125] RSP: 002b:00007f6fa27bd308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.279813] RAX: ffffffffffffffda RBX: 00007f6fa28b4418 RCX: 00007f6fa282ca69 [ 31.287059] RDX: 0000000000000010 RSI: 0000000020000280 RDI: 0000000000000003 [ 31.294303] RBP: 00007f6fa28b4410 R08: 00007f6fa27bd700 R09: 0000000000000000 [ 31.301549] R10: 00007f6fa27bd700 R11: 0000000000000246 R12: 00007f6fa28b441c [ 31.308813] R13: 00007f6fa2882074 R14: 006d635f616d6472 R15: 0000000000022000 [ 31.316066] [ 31.317673] Allocated by task 10915: [ 31.321365] kasan_kmalloc+0xeb/0x160 [ 31.325142] kmem_cache_alloc_trace+0x131/0x3d0 [ 31.329786] rdma_create_id+0x57/0x4c0 [ 31.333665] ucma_create_id+0x18b/0x500 [ 31.337619] ucma_write+0x206/0x2c0 [ 31.341236] __vfs_write+0xe4/0x630 [ 31.344838] vfs_write+0x17f/0x4d0 [ 31.348353] SyS_write+0xf2/0x210 [ 31.351791] do_syscall_64+0x1d5/0x640 [ 31.355662] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.360825] [ 31.362446] Freed by task 10917: [ 31.365806] kasan_slab_free+0xc3/0x1a0 [ 31.369757] kfree+0xc9/0x250 [ 31.372838] ucma_close+0x11a/0x340 [ 31.376441] __fput+0x25f/0x7a0 [ 31.379694] task_work_run+0x11f/0x190 [ 31.383557] do_exit+0xa44/0x2850 [ 31.387001] do_group_exit+0x100/0x2e0 [ 31.390879] get_signal+0x38d/0x1ca0 [ 31.394581] do_signal+0x7c/0x1550 [ 31.398101] exit_to_usermode_loop+0x160/0x200 [ 31.402665] do_syscall_64+0x4a3/0x640 [ 31.406532] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.411694] [ 31.413301] The buggy address belongs to the object at ffff888093e964c0 [ 31.413301] which belongs to the cache kmalloc-1024 of size 1024 [ 31.426111] The buggy address is located 472 bytes inside of [ 31.426111] 1024-byte region [ffff888093e964c0, ffff888093e968c0) [ 31.438051] The buggy address belongs to the page: [ 31.443030] page:ffffea00024fa580 count:1 mapcount:0 mapping:ffff888093e96040 index:0x0 compound_mapcount: 0 [ 31.453018] flags: 0xfff00000008100(slab|head) [ 31.457866] raw: 00fff00000008100 ffff888093e96040 0000000000000000 0000000100000007 [ 31.465727] raw: ffffea0002ab4da0 ffffea0002ab1b20 ffff88813fe74ac0 0000000000000000 [ 31.473585] page dumped because: kasan: bad access detected [ 31.479282] [ 31.480898] Memory state around the buggy address: [ 31.485801] ffff888093e96580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.493143] ffff888093e96600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.500482] >ffff888093e96680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.507816] ^ [ 31.511938] ffff888093e96700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.519268] ffff888093e96780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.526597] ================================================================== [ 31.533935] Disabling lock debugging due to kernel taint [ 31.542321] Kernel panic - not syncing: panic_on_warn set ... [ 31.542321] [ 31.549693] CPU: 1 PID: 10921 Comm: syz-executor229 Tainted: G B 4.14.292-syzkaller #0 [ 31.558863] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 31.568200] Call Trace: [ 31.570772] dump_stack+0x1b2/0x281 [ 31.574375] panic+0x1f9/0x42d [ 31.577543] ? add_taint.cold+0x16/0x16 [ 31.581491] ? ___preempt_schedule+0x16/0x18 [ 31.585874] kasan_end_report+0x43/0x49 [ 31.589823] kasan_report_error.cold+0xa7/0x191 [ 31.594465] ? __list_add_valid+0x93/0xa0 [ 31.598585] __asan_report_load8_noabort+0x68/0x70 [ 31.603489] ? __list_add_valid+0x93/0xa0 [ 31.607609] __list_add_valid+0x93/0xa0 [ 31.611576] rdma_listen+0x656/0x9b0 [ 31.615269] ucma_listen+0x10b/0x170 [ 31.618958] ? ucma_bind_ip+0x150/0x150 [ 31.622908] ? _copy_from_user+0x96/0x100 [ 31.627028] ? ucma_bind_ip+0x150/0x150 [ 31.630997] ucma_write+0x206/0x2c0 [ 31.634599] ? ucma_set_ib_path+0x510/0x510 [ 31.638898] __vfs_write+0xe4/0x630 [ 31.642513] ? ucma_set_ib_path+0x510/0x510 [ 31.646807] ? kernel_read+0x110/0x110 [ 31.650673] ? common_file_perm+0x3ee/0x580 [ 31.654976] ? security_file_permission+0x82/0x1e0 [ 31.659878] ? rw_verify_area+0xe1/0x2a0 [ 31.663912] vfs_write+0x17f/0x4d0 [ 31.667427] SyS_write+0xf2/0x210 [ 31.670860] ? SyS_read+0x210/0x210 [ 31.674461] ? do_syscall_64+0x4c/0x640 [ 31.678409] ? SyS_read+0x210/0x210 [ 31.682010] do_syscall_64+0x1d5/0x640 [ 31.685873] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.691050] RIP: 0033:0x7f6fa282ca69 [ 31.694748] RSP: 002b:00007f6fa27bd308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.702430] RAX: ffffffffffffffda RBX: 00007f6fa28b4418 RCX: 00007f6fa282ca69 [ 31.709688] RDX: 0000000000000010 RSI: 0000000020000280 RDI: 0000000000000003 [ 31.716931] RBP: 00007f6fa28b4410 R08: 00007f6fa27bd700 R09: 0000000000000000 [ 31.724175] R10: 00007f6fa27bd700 R11: 0000000000000246 R12: 00007f6fa28b441c [ 31.731424] R13: 00007f6fa2882074 R14: 006d635f616d6472 R15: 0000000000022000 [ 31.738913] Kernel Offset: disabled [ 31.742520] Rebooting in 86400 seconds..