Warning: Permanently added '10.128.0.52' (ED25519) to the list of known hosts. executing program [ 65.951499][ T5825] ================================================================== [ 65.959666][ T5825] BUG: KASAN: slab-out-of-bounds in afs_proc_addr_prefs_write+0x123b/0x14e0 [ 65.968350][ T5825] Read of size 1 at addr ffff88802c5e972c by task syz-executor372/5825 [ 65.976674][ T5825] [ 65.979023][ T5825] CPU: 0 UID: 0 PID: 5825 Comm: syz-executor372 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 65.990387][ T5825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 66.000466][ T5825] Call Trace: [ 66.003736][ T5825] [ 66.006678][ T5825] dump_stack_lvl+0x116/0x1f0 [ 66.011381][ T5825] print_report+0xc3/0x620 [ 66.015789][ T5825] ? __virt_addr_valid+0x5e/0x590 [ 66.020805][ T5825] ? __phys_addr+0xc6/0x150 [ 66.025296][ T5825] kasan_report+0xd9/0x110 [ 66.029708][ T5825] ? afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.035676][ T5825] ? afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.041648][ T5825] afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.047465][ T5825] ? find_held_lock+0x2d/0x110 [ 66.052222][ T5825] ? __pfx_afs_proc_addr_prefs_write+0x10/0x10 [ 66.058456][ T5825] ? __might_fault+0x13b/0x190 [ 66.063215][ T5825] ? __pfx_lock_release+0x10/0x10 [ 66.068241][ T5825] ? trace_lock_acquire+0x14e/0x1f0 [ 66.073457][ T5825] ? lock_acquire+0x2f/0xb0 [ 66.077965][ T5825] ? proc_simple_write+0x114/0x1b0 [ 66.083098][ T5825] proc_simple_write+0x114/0x1b0 [ 66.088066][ T5825] ? __pfx_proc_simple_write+0x10/0x10 [ 66.093518][ T5825] proc_reg_write+0x23d/0x330 [ 66.098197][ T5825] ? __pfx_proc_reg_write+0x10/0x10 [ 66.103404][ T5825] vfs_write+0x24c/0x1150 [ 66.107729][ T5825] ? reacquire_held_locks+0x20b/0x4c0 [ 66.113093][ T5825] ? do_user_addr_fault+0xdc7/0x13f0 [ 66.118369][ T5825] ? __pfx_vfs_write+0x10/0x10 [ 66.123122][ T5825] ? find_held_lock+0x59/0x110 [ 66.127879][ T5825] ? find_held_lock+0x2d/0x110 [ 66.132642][ T5825] ? do_user_addr_fault+0xe50/0x13f0 [ 66.137933][ T5825] ? __pfx_lock_release+0x10/0x10 [ 66.142954][ T5825] ksys_write+0x12b/0x250 [ 66.147287][ T5825] ? __pfx_ksys_write+0x10/0x10 [ 66.152131][ T5825] ? do_user_addr_fault+0x83d/0x13f0 [ 66.157410][ T5825] do_syscall_64+0xcd/0x250 [ 66.161912][ T5825] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 66.167803][ T5825] RIP: 0033:0x7f25d54d3a39 [ 66.172248][ T5825] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 66.192556][ T5825] RSP: 002b:00007ffdf1f03728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.201229][ T5825] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f25d54d3a39 [ 66.209467][ T5825] RDX: 000000000000002b RSI: 0000000020000080 RDI: 0000000000000003 [ 66.217435][ T5825] RBP: 00007f25d55465f0 R08: 0000000000000006 R09: 0000000000000006 [ 66.225400][ T5825] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 66.233366][ T5825] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 66.241337][ T5825] [ 66.244377][ T5825] [ 66.246686][ T5825] Allocated by task 5825: [ 66.250994][ T5825] kasan_save_stack+0x33/0x60 [ 66.255670][ T5825] kasan_save_track+0x14/0x30 [ 66.260359][ T5825] __kasan_kmalloc+0xaa/0xb0 [ 66.264946][ T5825] __kmalloc_node_track_caller_noprof+0x21d/0x520 [ 66.271386][ T5825] memdup_user_nul+0x2b/0x110 [ 66.276059][ T5825] proc_simple_write+0xc7/0x1b0 [ 66.280916][ T5825] proc_reg_write+0x23d/0x330 [ 66.285585][ T5825] vfs_write+0x24c/0x1150 [ 66.289905][ T5825] ksys_write+0x12b/0x250 [ 66.294416][ T5825] do_syscall_64+0xcd/0x250 [ 66.299000][ T5825] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 66.305243][ T5825] [ 66.307554][ T5825] The buggy address belongs to the object at ffff88802c5e9700 [ 66.307554][ T5825] which belongs to the cache kmalloc-64 of size 64 [ 66.321422][ T5825] The buggy address is located 0 bytes to the right of [ 66.321422][ T5825] allocated 44-byte region [ffff88802c5e9700, ffff88802c5e972c) [ 66.335820][ T5825] [ 66.338154][ T5825] The buggy address belongs to the physical page: [ 66.344553][ T5825] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2c5e9 [ 66.353309][ T5825] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 66.360403][ T5825] page_type: f5(slab) [ 66.364370][ T5825] raw: 00fff00000000000 ffff88801ac418c0 ffffea0000a51740 dead000000000004 [ 66.372954][ T5825] raw: 0000000000000000 0000000080200020 00000001f5000000 0000000000000000 [ 66.381619][ T5825] page dumped because: kasan: bad access detected [ 66.388030][ T5825] page_owner tracks the page as allocated [ 66.393729][ T5825] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 54, tgid 54 (kworker/u8:3), ts 14686971507, free_ts 0 [ 66.411872][ T5825] post_alloc_hook+0x2d1/0x350 [ 66.416665][ T5825] get_page_from_freelist+0xfce/0x2f80 [ 66.422301][ T5825] __alloc_pages_noprof+0x223/0x25b0 [ 66.427603][ T5825] alloc_pages_mpol_noprof+0x2c9/0x610 [ 66.433059][ T5825] new_slab+0x2c9/0x410 [ 66.437223][ T5825] ___slab_alloc+0xce2/0x1650 [ 66.441940][ T5825] __slab_alloc.constprop.0+0x56/0xb0 [ 66.447342][ T5825] __kmalloc_noprof+0x2de/0x4f0 [ 66.452226][ T5825] lsm_blob_alloc+0x68/0x90 [ 66.456740][ T5825] security_task_alloc+0x2d/0x260 [ 66.461769][ T5825] copy_process+0x211f/0x6f20 [ 66.466454][ T5825] kernel_clone+0xfd/0x960 [ 66.470958][ T5825] user_mode_thread+0xb4/0xf0 [ 66.475646][ T5825] call_usermodehelper_exec_work+0xcb/0x170 [ 66.481546][ T5825] process_one_work+0x958/0x1b30 [ 66.486490][ T5825] worker_thread+0x6c8/0xf00 [ 66.491172][ T5825] page_owner free stack trace missing [ 66.496967][ T5825] [ 66.499277][ T5825] Memory state around the buggy address: [ 66.504887][ T5825] ffff88802c5e9600: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 66.512965][ T5825] ffff88802c5e9680: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 66.521032][ T5825] >ffff88802c5e9700: 00 00 00 00 00 04 fc fc fc fc fc fc fc fc fc fc [ 66.529144][ T5825] ^ [ 66.534530][ T5825] ffff88802c5e9780: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 66.542679][ T5825] ffff88802c5e9800: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 66.550731][ T5825] ================================================================== [ 66.560031][ T5825] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 66.567258][ T5825] CPU: 0 UID: 0 PID: 5825 Comm: syz-executor372 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 66.578386][ T5825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 66.588452][ T5825] Call Trace: [ 66.591752][ T5825] [ 66.594758][ T5825] dump_stack_lvl+0x3d/0x1f0 [ 66.599390][ T5825] panic+0x71d/0x800 [ 66.603388][ T5825] ? __pfx_panic+0x10/0x10 [ 66.607796][ T5825] ? irqentry_exit+0x3b/0x90 [ 66.612815][ T5825] ? lockdep_hardirqs_on+0x7c/0x110 [ 66.618024][ T5825] ? preempt_schedule_thunk+0x1a/0x30 [ 66.623389][ T5825] ? preempt_schedule_common+0x44/0xc0 [ 66.628839][ T5825] ? check_panic_on_warn+0x1f/0xb0 [ 66.633947][ T5825] check_panic_on_warn+0xab/0xb0 [ 66.638882][ T5825] end_report+0x117/0x180 [ 66.643206][ T5825] kasan_report+0xe9/0x110 [ 66.647615][ T5825] ? afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.653585][ T5825] ? afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.659554][ T5825] afs_proc_addr_prefs_write+0x123b/0x14e0 [ 66.665376][ T5825] ? find_held_lock+0x2d/0x110 [ 66.670135][ T5825] ? __pfx_afs_proc_addr_prefs_write+0x10/0x10 [ 66.676275][ T5825] ? __might_fault+0x13b/0x190 [ 66.681036][ T5825] ? __pfx_lock_release+0x10/0x10 [ 66.686052][ T5825] ? trace_lock_acquire+0x14e/0x1f0 [ 66.691254][ T5825] ? lock_acquire+0x2f/0xb0 [ 66.695753][ T5825] ? proc_simple_write+0x114/0x1b0 [ 66.700858][ T5825] proc_simple_write+0x114/0x1b0 [ 66.705802][ T5825] ? __pfx_proc_simple_write+0x10/0x10 [ 66.711350][ T5825] proc_reg_write+0x23d/0x330 [ 66.716045][ T5825] ? __pfx_proc_reg_write+0x10/0x10 [ 66.721241][ T5825] vfs_write+0x24c/0x1150 [ 66.725567][ T5825] ? reacquire_held_locks+0x20b/0x4c0 [ 66.730931][ T5825] ? do_user_addr_fault+0xdc7/0x13f0 [ 66.736206][ T5825] ? __pfx_vfs_write+0x10/0x10 [ 66.740972][ T5825] ? find_held_lock+0x59/0x110 [ 66.745729][ T5825] ? find_held_lock+0x2d/0x110 [ 66.750489][ T5825] ? do_user_addr_fault+0xe50/0x13f0 [ 66.755762][ T5825] ? __pfx_lock_release+0x10/0x10 [ 66.760779][ T5825] ksys_write+0x12b/0x250 [ 66.765102][ T5825] ? __pfx_ksys_write+0x10/0x10 [ 66.769943][ T5825] ? do_user_addr_fault+0x83d/0x13f0 [ 66.775223][ T5825] do_syscall_64+0xcd/0x250 [ 66.779730][ T5825] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 66.785807][ T5825] RIP: 0033:0x7f25d54d3a39 [ 66.790216][ T5825] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 66.809923][ T5825] RSP: 002b:00007ffdf1f03728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.818422][ T5825] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f25d54d3a39 [ 66.826455][ T5825] RDX: 000000000000002b RSI: 0000000020000080 RDI: 0000000000000003 [ 66.834451][ T5825] RBP: 00007f25d55465f0 R08: 0000000000000006 R09: 0000000000000006 [ 66.842424][ T5825] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 66.850496][ T5825] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 66.858475][ T5825] [ 66.861638][ T5825] Kernel Offset: disabled [ 66.865960][ T5825] Rebooting in 86400 seconds..