Warning: Permanently added '10.128.1.152' (ED25519) to the list of known hosts. 2023/12/13 20:04:04 ignoring optional flag "sandboxArg"="0" 2023/12/13 20:04:04 parsed 1 programs 2023/12/13 20:04:04 executed programs: 0 [ 45.880457][ T1403] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 49.076410][ T1864] ================================================================== [ 49.084631][ T1864] BUG: KASAN: slab-out-of-bounds in dns_resolver_preparse+0xa12/0xb50 [ 49.092954][ T1864] Read of size 1 at addr ffff88810329270c by task syz-executor.0/1864 [ 49.101459][ T1864] [ 49.104214][ T1864] CPU: 1 PID: 1864 Comm: syz-executor.0 Not tainted 6.7.0-rc5-syzkaller #0 [ 49.113209][ T1864] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 49.123332][ T1864] Call Trace: [ 49.126597][ T1864] [ 49.129542][ T1864] dump_stack_lvl+0x3d/0x60 [ 49.134356][ T1864] print_report+0xc4/0x620 [ 49.138877][ T1864] kasan_report+0xda/0x110 [ 49.143284][ T1864] ? dns_resolver_preparse+0xa12/0xb50 [ 49.148904][ T1864] ? dns_resolver_preparse+0xa12/0xb50 [ 49.154340][ T1864] dns_resolver_preparse+0xa12/0xb50 [ 49.159596][ T1864] ? dns_resolver_free_preparse+0x40/0x40 [ 49.165286][ T1864] ? lock_acquire+0x12a/0x2b0 [ 49.170137][ T1864] ? down_read+0x12d/0x340 [ 49.174621][ T1864] ? rwsem_down_read_slowpath+0xd00/0xd00 [ 49.180513][ T1864] ? reacquire_held_locks+0x380/0x380 [ 49.185856][ T1864] ? keyring_search_rcu+0x1d3/0x280 [ 49.191487][ T1864] ? key_put+0x17/0x80 [ 49.195547][ T1864] ? search_cred_keyrings_rcu+0x15f/0x210 [ 49.201270][ T1864] __key_create_or_update+0x3c4/0xa90 [ 49.207606][ T1864] ? key_alloc+0x1160/0x1160 [ 49.212264][ T1864] ? join_session_keyring+0x2a0/0x2a0 [ 49.217921][ T1864] ? kasan_set_track+0x25/0x30 [ 49.223344][ T1864] key_create_or_update+0xf/0x20 [ 49.228617][ T1864] __do_sys_add_key+0x1be/0x310 [ 49.233548][ T1864] ? get_instantiation_keyring+0x170/0x170 [ 49.239438][ T1864] ? set_compat_user_sigmask+0x250/0x250 [ 49.245665][ T1864] ? fpregs_restore_userregs+0x121/0x220 [ 49.251465][ T1864] do_syscall_64+0x40/0xe0 [ 49.256580][ T1864] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 49.262952][ T1864] RIP: 0033:0x7f1e2ecd4ba9 [ 49.267798][ T1864] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 [ 49.287387][ T1864] RSP: 002b:00007f1e2e8570c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000f8 [ 49.295801][ T1864] RAX: ffffffffffffffda RBX: 00007f1e2edf3f80 RCX: 00007f1e2ecd4ba9 [ 49.303759][ T1864] RDX: 0000000020000080 RSI: 0000000000000000 RDI: 00000000200003c0 [ 49.311825][ T1864] RBP: 00007f1e2ed2047a R08: 0000000006b67e5a R09: 0000000000000000 [ 49.321007][ T1864] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 49.329307][ T1864] R13: 0000000000000006 R14: 00007f1e2edf3f80 R15: 00007ffc2bd66178 [ 49.337701][ T1864] [ 49.340803][ T1864] [ 49.343560][ T1864] Allocated by task 1864: [ 49.348047][ T1864] kasan_save_stack+0x33/0x50 [ 49.352715][ T1864] kasan_set_track+0x25/0x30 [ 49.357299][ T1864] __kasan_kmalloc+0xa2/0xb0 [ 49.361875][ T1864] __kmalloc_node+0x63/0x160 [ 49.366641][ T1864] __do_sys_add_key+0x149/0x310 [ 49.371544][ T1864] do_syscall_64+0x40/0xe0 [ 49.376182][ T1864] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 49.382587][ T1864] [ 49.384897][ T1864] The buggy address belongs to the object at ffff888103292708 [ 49.384897][ T1864] which belongs to the cache kmalloc-8 of size 8 [ 49.399040][ T1864] The buggy address is located 0 bytes to the right of [ 49.399040][ T1864] allocated 4-byte region [ffff888103292708, ffff88810329270c) [ 49.413703][ T1864] [ 49.416213][ T1864] The buggy address belongs to the physical page: [ 49.423000][ T1864] page:ffffea00040ca480 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888103292fc8 pfn:0x103292 [ 49.435226][ T1864] flags: 0x200000000000800(slab|node=0|zone=2) [ 49.441871][ T1864] page_type: 0xffffffff() [ 49.446188][ T1864] raw: 0200000000000800 ffff888100041280 ffffea00042d9440 0000000000000002 [ 49.454979][ T1864] raw: ffff888103292fc8 0000000080660065 00000001ffffffff 0000000000000000 [ 49.464168][ T1864] page dumped because: kasan: bad access detected [ 49.471192][ T1864] page_owner tracks the page as allocated [ 49.476974][ T1864] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 731, tgid 731 (udevadm), ts 4287116703, free_ts 3320237610 [ 49.495091][ T1864] post_alloc_hook+0x27f/0x2f0 [ 49.500091][ T1864] get_page_from_freelist+0xeb8/0x36a0 [ 49.505629][ T1864] __alloc_pages+0x342/0x5e0 [ 49.510383][ T1864] alloc_pages_mpol+0xbf/0x370 [ 49.515324][ T1864] allocate_slab+0x24b/0x360 [ 49.519901][ T1864] ___slab_alloc+0x8ce/0x10e0 [ 49.524578][ T1864] __slab_alloc.constprop.0+0x4d/0x90 [ 49.529943][ T1864] __kmem_cache_alloc_node+0x150/0x350 [ 49.535581][ T1864] __kmalloc+0x4f/0x160 [ 49.539713][ T1864] kernfs_fop_write_iter+0x1bd/0x510 [ 49.544972][ T1864] vfs_write+0x51f/0xc70 [ 49.549340][ T1864] ksys_write+0xf6/0x1d0 [ 49.553864][ T1864] do_syscall_64+0x40/0xe0 [ 49.558473][ T1864] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 49.564551][ T1864] page last free stack trace: [ 49.569466][ T1864] free_unref_page_prepare+0x562/0xbd0 [ 49.575125][ T1864] free_unref_page+0x33/0x2a0 [ 49.579804][ T1864] vfree+0x27c/0x9c0 [ 49.583753][ T1864] delayed_vfree_work+0x4a/0x70 [ 49.588751][ T1864] process_one_work+0x72e/0x11b0 [ 49.593847][ T1864] worker_thread+0x6b3/0x1080 [ 49.598961][ T1864] kthread+0x278/0x330 [ 49.603131][ T1864] ret_from_fork+0x2c/0x70 [ 49.607524][ T1864] ret_from_fork_asm+0x11/0x20 [ 49.612435][ T1864] [ 49.614750][ T1864] Memory state around the buggy address: [ 49.620470][ T1864] ffff888103292600: fc fc fc fb fc fc fc fc fb fc fc fc fc fb fc fc [ 49.628894][ T1864] ffff888103292680: fc fc fb fc fc fc fc fb fc fc fc fc fb fc fc fc [ 49.637377][ T1864] >ffff888103292700: fc 04 fc fc fc fc 05 fc fc fc fc fa fc fc fc fc [ 49.645607][ T1864] ^ [ 49.649922][ T1864] ffff888103292780: fa fc fc fc fc fa fc fc fc fc fa fc fc fc fc fa [ 49.658604][ T1864] ffff888103292800: fc fc fc fc fa fc fc fc fc fa fc fc fc fc fa fc [ 49.667331][ T1864] ================================================================== [ 49.675750][ T1864] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 49.683513][ T1864] Kernel Offset: disabled [ 49.687830][ T1864] Rebooting in 86400 seconds..