Warning: Permanently added '10.128.0.114' (ECDSA) to the list of known hosts. executing program [ 33.453065] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2020/09/19 18:44 (1000) [ 33.481357] ================================================================== [ 33.488812] BUG: KASAN: use-after-free in udf_get_fileident+0x233/0x250 [ 33.495553] Read of size 2 at addr ffff8880a086273c by task syz-executor347/8084 [ 33.503073] [ 33.504702] CPU: 1 PID: 8084 Comm: syz-executor347 Not tainted 4.19.211-syzkaller #0 [ 33.512574] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.521908] Call Trace: [ 33.524483] dump_stack+0x1fc/0x2ef [ 33.528095] print_address_description.cold+0x54/0x219 [ 33.533353] kasan_report_error.cold+0x8a/0x1b9 [ 33.538000] ? udf_get_fileident+0x233/0x250 [ 33.542389] __asan_report_load_n_noabort+0x8b/0xa0 [ 33.547388] ? unwind_get_return_address+0x70/0x90 [ 33.552308] ? udf_get_fileident+0x233/0x250 [ 33.556693] udf_get_fileident+0x233/0x250 [ 33.560905] udf_fileident_read+0x550/0x1930 [ 33.565297] ? deref_stack_reg+0x1d0/0x1d0 [ 33.569511] ? __unwind_start+0x5b8/0x960 [ 33.573640] ? udf_get_fileident+0x250/0x250 [ 33.578026] ? is_bpf_text_address+0xfc/0x1b0 [ 33.582517] ? kernel_text_address+0xbd/0xf0 [ 33.586910] ? check_preemption_disabled+0x41/0x280 [ 33.591908] ? udf_readdir+0x376/0x1350 [ 33.595874] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.600875] udf_readdir+0x559/0x1350 [ 33.604681] ? udf_new_block+0x490/0x490 [ 33.608724] ? aa_path_link+0x410/0x410 [ 33.612687] ? mark_held_locks+0xa6/0xf0 [ 33.616736] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 33.621308] ? 0xffffffff81000000 [ 33.624747] ? rcu_nmi_exit+0xb3/0x180 [ 33.628618] ? retint_kernel+0x2d/0x2d [ 33.632509] ? __lock_acquire+0x2853/0x3ff0 [ 33.636809] ? lock_acquire+0x1ec/0x3c0 [ 33.640773] iterate_dir+0x473/0x5c0 [ 33.644479] ksys_getdents64+0x175/0x2b0 [ 33.648538] ? __ia32_sys_getdents+0xa0/0xa0 [ 33.652926] ? filldir+0x400/0x400 [ 33.656445] ? do_raw_spin_unlock+0x171/0x230 [ 33.660921] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 33.666268] ? trace_hardirqs_off_caller+0x6e/0x210 [ 33.671264] __x64_sys_getdents64+0x6f/0xb0 [ 33.675565] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 33.680124] do_syscall_64+0xf9/0x620 [ 33.683923] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.689110] RIP: 0033:0x7f9deb5dd389 [ 33.692819] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 33.711713] RSP: 002b:00007ffd82ec5758 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 33.719438] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f9deb5dd389 [ 33.726708] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 33.733959] RBP: 00007f9deb59cc20 R08: 0000000000000000 R09: 0000000000000000 [ 33.741206] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9deb59ccb0 [ 33.748456] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 33.755710] [ 33.757317] Allocated by task 8070: [ 33.760925] __kmalloc_node_track_caller+0x4c/0x70 [ 33.765833] __alloc_skb+0xae/0x560 [ 33.769438] __napi_alloc_skb+0x74/0x300 [ 33.773492] page_to_skb+0x76/0xa70 [ 33.777097] receive_buf+0x2ab4/0x6780 [ 33.780963] virtnet_poll+0x568/0xe00 [ 33.784743] net_rx_action+0x4ac/0xfb0 [ 33.788609] __do_softirq+0x265/0x980 [ 33.792381] [ 33.793983] Freed by task 8068: [ 33.797247] kfree+0xcc/0x210 [ 33.800348] skb_release_data+0x6de/0x920 [ 33.804475] kfree_skb_partial+0x7e/0xa0 [ 33.808516] tcp_rcv_established+0x1b89/0x1ef0 [ 33.813075] tcp_v4_do_rcv+0x5d6/0x870 [ 33.816942] __release_sock+0x134/0x3a0 [ 33.820894] release_sock+0x54/0x1b0 [ 33.824585] tcp_recvmsg+0xa94/0x2a90 [ 33.828379] inet_recvmsg+0x124/0x5c0 [ 33.832156] sock_read_iter+0x339/0x470 [ 33.836110] __vfs_read+0x518/0x750 [ 33.839713] vfs_read+0x194/0x3c0 [ 33.843145] ksys_read+0x12b/0x2a0 [ 33.846663] do_syscall_64+0xf9/0x620 [ 33.850454] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.855625] [ 33.857230] The buggy address belongs to the object at ffff8880a0862580 [ 33.857230] which belongs to the cache kmalloc-512 of size 512 [ 33.869878] The buggy address is located 444 bytes inside of [ 33.869878] 512-byte region [ffff8880a0862580, ffff8880a0862780) [ 33.881725] The buggy address belongs to the page: [ 33.886641] page:ffffea0002821880 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 33.894769] flags: 0xfff00000000100(slab) [ 33.898898] raw: 00fff00000000100 ffffea0002aa7e08 ffffea000265aac8 ffff88813bff0940 [ 33.906767] raw: 0000000000000000 ffff8880a0862080 0000000100000006 0000000000000000 [ 33.914624] page dumped because: kasan: bad access detected [ 33.920305] [ 33.921905] Memory state around the buggy address: [ 33.926819] ffff8880a0862600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.934161] ffff8880a0862680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.941499] >ffff8880a0862700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.948834] ^ [ 33.954003] ffff8880a0862780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.961347] ffff8880a0862800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.968687] ================================================================== [ 33.976023] Disabling lock debugging due to kernel taint [ 33.981616] Kernel panic - not syncing: panic_on_warn set ... [ 33.981616] [ 33.988982] CPU: 1 PID: 8084 Comm: syz-executor347 Tainted: G B 4.19.211-syzkaller #0 [ 33.998239] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.007584] Call Trace: [ 34.010169] dump_stack+0x1fc/0x2ef [ 34.013797] panic+0x26a/0x50e [ 34.016984] ? __warn_printk+0xf3/0xf3 [ 34.020854] ? preempt_schedule_common+0x45/0xc0 [ 34.025592] ? ___preempt_schedule+0x16/0x18 [ 34.029993] ? trace_hardirqs_on+0x55/0x210 [ 34.034303] kasan_end_report+0x43/0x49 [ 34.038259] kasan_report_error.cold+0xa7/0x1b9 [ 34.042906] ? udf_get_fileident+0x233/0x250 [ 34.047294] __asan_report_load_n_noabort+0x8b/0xa0 [ 34.052290] ? unwind_get_return_address+0x70/0x90 [ 34.057200] ? udf_get_fileident+0x233/0x250 [ 34.061590] udf_get_fileident+0x233/0x250 [ 34.065806] udf_fileident_read+0x550/0x1930 [ 34.070201] ? deref_stack_reg+0x1d0/0x1d0 [ 34.074413] ? __unwind_start+0x5b8/0x960 [ 34.078548] ? udf_get_fileident+0x250/0x250 [ 34.082941] ? is_bpf_text_address+0xfc/0x1b0 [ 34.087462] ? kernel_text_address+0xbd/0xf0 [ 34.091850] ? check_preemption_disabled+0x41/0x280 [ 34.096852] ? udf_readdir+0x376/0x1350 [ 34.100804] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 34.105799] udf_readdir+0x559/0x1350 [ 34.109579] ? udf_new_block+0x490/0x490 [ 34.113617] ? aa_path_link+0x410/0x410 [ 34.117589] ? mark_held_locks+0xa6/0xf0 [ 34.121636] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 34.126193] ? 0xffffffff81000000 [ 34.129636] ? rcu_nmi_exit+0xb3/0x180 [ 34.133505] ? retint_kernel+0x2d/0x2d [ 34.137372] ? __lock_acquire+0x2853/0x3ff0 [ 34.141678] ? lock_acquire+0x1ec/0x3c0 [ 34.145633] iterate_dir+0x473/0x5c0 [ 34.149326] ksys_getdents64+0x175/0x2b0 [ 34.153363] ? __ia32_sys_getdents+0xa0/0xa0 [ 34.157747] ? filldir+0x400/0x400 [ 34.161264] ? do_raw_spin_unlock+0x171/0x230 [ 34.165735] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.171075] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.176068] __x64_sys_getdents64+0x6f/0xb0 [ 34.180367] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 34.184924] do_syscall_64+0xf9/0x620 [ 34.188701] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.193865] RIP: 0033:0x7f9deb5dd389 [ 34.197555] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 34.216435] RSP: 002b:00007ffd82ec5758 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 34.224119] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f9deb5dd389 [ 34.231393] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 34.238660] RBP: 00007f9deb59cc20 R08: 0000000000000000 R09: 0000000000000000 [ 34.245910] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9deb59ccb0 [ 34.253155] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.260613] Kernel Offset: disabled [ 34.264221] Rebooting in 86400 seconds..