program:
r0 = socket$netlink(0x10, 0x3, 0x0)
madvise(&(0x7f0000000000/0xc00000)=nil, 0xc00003, 0x8)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
sendmsg$nl_generic(r0, &(0x7f0000000100)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000180)=ANY=[@ANYBLOB="140000003a00290200000000faf7df2502"], 0x14}}, 0x8000)
r1 = openat$tun(0xffffffffffffff9c, &(0x7f00000000c0), 0x381, 0x0)
ioctl$TUNSETIFF(r1, 0x400454ca, &(0x7f0000000340)={'syzkaller0\x00', 0x5032})
add_key$user(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x0}, &(0x7f0000000080)="0400000000", 0x5, 0xfffffffffffffffd)
mkdirat(0xffffffffffffff9c, &(0x7f00000001c0)='./lower\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./mnt\x00', 0x1ff)
mount(&(0x7f0000000240)=@filename='./lower\x00', &(0x7f0000000280)='./mnt\x00', &(0x7f00000002c0)='ecryptfs\x00', 0x0, &(0x7f0000000380)='ecryptfs_sig=syz ,ecryptfs_fnek_sig=syz ,ecryptfs_cipher=aes,ecryptfs_key_bytes=16\x00')
r2 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./mnt\x00', 0x0, 0x0)
r3 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, &(0x7f0000000440)={0x1, &(0x7f0000000480)=[{0x6, 0x72, 0x0, 0x7fff0000}]})
mknodat(r2, &(0x7f00000004c0)='./lower\x00', 0x20, 0x4)
fspick(r2, &(0x7f0000000300)='./lower\x00', 0x1)
close_range(r3, 0xffffffffffffffff, 0x0)
syz_genetlink_get_family_id$tipc2(&(0x7f0000000500), r0)
[ 123.983710][ T49] Bluetooth: hci0: command tx timeout
[ 124.192563][ T5347] ==================================================================
[ 124.192578][ T5347] BUG: KASAN: slab-out-of-bounds in ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.192711][ T5347] Read of size 4 at addr ffff888030fe4698 by task syz.0.0/5347
[ 124.192721][ T5347]
[ 124.192728][ T5347] CPU: 0 UID: 0 PID: 5347 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 124.192741][ T5347] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 124.192757][ T5347] Call Trace:
[ 124.192763][ T5347]
[ 124.192769][ T5347] dump_stack_lvl+0xe8/0x150
[ 124.192814][ T5347] print_address_description+0x55/0x1e0
[ 124.192834][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.192852][ T5347] print_report+0x58/0x70
[ 124.192868][ T5347] kasan_report+0x117/0x150
[ 124.192884][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.192904][ T5347] ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.192929][ T5347] ecryptfs_encrypt_and_encode_filename+0x576/0x1580
[ 124.192950][ T5347] ? __pfx_ecryptfs_encrypt_and_encode_filename+0x10/0x10
[ 124.192969][ T5347] ? irqentry_exit+0x2a0/0x9b0
[ 124.193019][ T5347] ? irqentry_exit+0x2a0/0x9b0
[ 124.193035][ T5347] ecryptfs_lookup+0x20e/0x780
[ 124.193050][ T5347] ? __pfx_ecryptfs_lookup+0x10/0x10
[ 124.193067][ T5347] ? _raw_spin_unlock+0x28/0x50
[ 124.193079][ T5347] ? d_alloc+0x144/0x190
[ 124.193092][ T5347] lookup_one_qstr_excl+0x12d/0x360
[ 124.193107][ T5347] filename_create+0x20e/0x370
[ 124.193123][ T5347] ? __pfx_filename_create+0x10/0x10
[ 124.193139][ T5347] filename_mknodat+0x18c/0x680
[ 124.193155][ T5347] ? __pfx_filename_mknodat+0x10/0x10
[ 124.193170][ T5347] ? do_getname+0x151/0x250
[ 124.193187][ T5347] __se_sys_mknodat+0x3b/0x150
[ 124.193202][ T5347] do_syscall_64+0x166/0x520
[ 124.193215][ T5347] ? trace_irq_disable+0x3b/0x140
[ 124.193231][ T5347] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 124.193243][ T5347] ? clear_bhb_loop+0x70/0xc0
[ 124.193257][ T5347] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 124.193269][ T5347] RIP: 0033:0x7fb3b759f559
[ 124.193280][ T5347] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
[ 124.193289][ T5347] RSP: 002b:00007fb3b83d6fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000103
[ 124.193303][ T5347] RAX: ffffffffffffffda RBX: 00007fb3b7825fa0 RCX: 00007fb3b759f559
[ 124.193312][ T5347] RDX: 0000000000000020 RSI: 00002000000004c0 RDI: 0000000000000005
[ 124.193320][ T5347] RBP: 00007fb3b7636b50 R08: 0000000000000000 R09: 0000000000000000
[ 124.193326][ T5347] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 124.193333][ T5347] R13: 00007fb3b7826038 R14: 00007fb3b7825fa0 R15: 00007ffef0fd65c8
[ 124.193346][ T5347]
[ 124.193351][ T5347]
[ 124.193354][ T5347] Allocated by task 1:
[ 124.193369][ T5347] kasan_save_track+0x3e/0x80
[ 124.193383][ T5347] __kasan_kmalloc+0x93/0xb0
[ 124.193396][ T5347] __kmalloc_node_track_caller_noprof+0x4af/0x720
[ 124.193411][ T5347] kvasprintf+0xeb/0x1a0
[ 124.193423][ T5347] kasprintf+0xe2/0x140
[ 124.193433][ T5347] alloc_workqueue_noprof+0x12e/0x210
[ 124.193446][ T5347] dm_multipath_init+0x19/0xf0
[ 124.193501][ T5347] do_one_initcall+0x250/0x870
[ 124.193512][ T5347] do_initcall_level+0x10a/0x1a0
[ 124.193529][ T5347] do_initcalls+0x59/0xa0
[ 124.193542][ T5347] kernel_init_freeable+0x29d/0x3e0
[ 124.193558][ T5347] kernel_init+0x22/0x1d0
[ 124.193567][ T5347] ret_from_fork+0x514/0xb70
[ 124.193578][ T5347] ret_from_fork_asm+0x1a/0x30
[ 124.193589][ T5347]
[ 124.193592][ T5347] The buggy address belongs to the object at ffff888030fe4680
[ 124.193592][ T5347] which belongs to the cache kmalloc-32 of size 32
[ 124.193601][ T5347] The buggy address is located 1 bytes to the right of
[ 124.193601][ T5347] allocated 23-byte region [ffff888030fe4680, ffff888030fe4697)
[ 124.193613][ T5347]
[ 124.193616][ T5347] The buggy address belongs to the physical page:
[ 124.193633][ T5347] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x30fe4
[ 124.193645][ T5347] flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
[ 124.193655][ T5347] page_type: f5(slab)
[ 124.193666][ T5347] raw: 04fff00000000000 ffff88801c841780 dead000000000100 dead000000000122
[ 124.193676][ T5347] raw: 0000000000000000 0000000000400040 00000000f5000000 0000000000000000
[ 124.193683][ T5347] page dumped because: kasan: bad access detected
[ 124.193697][ T5347] page_owner tracks the page as allocated
[ 124.193701][ T5347] page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3835682717
[ 124.193720][ T5347] post_alloc_hook+0x1f9/0x250
[ 124.193731][ T5347] get_page_from_freelist+0x220f/0x2280
[ 124.193745][ T5347] __alloc_frozen_pages_noprof+0x1fe/0x410
[ 124.193757][ T5347] allocate_slab+0x7d/0x5e0
[ 124.193772][ T5347] refill_objects+0x2d5/0x350
[ 124.193787][ T5347] __pcs_replace_empty_main+0x2c8/0x6c0
[ 124.193800][ T5347] __kmalloc_noprof+0x476/0x710
[ 124.193818][ T5347] acpi_ns_get_normalized_pathname+0x86/0x230
[ 124.193835][ T5347] acpi_ns_evaluate+0x38f/0x1320
[ 124.193848][ T5347] acpi_ut_evaluate_object+0xe1/0x560
[ 124.193864][ T5347] acpi_ut_execute_HID+0xb8/0x3c0
[ 124.193878][ T5347] acpi_ns_get_device_callback+0x1c5/0x4c0
[ 124.193888][ T5347] acpi_ns_walk_namespace+0x273/0x700
[ 124.193898][ T5347] acpi_get_devices+0x14b/0x1e0
[ 124.193908][ T5347] acpi_ec_dsdt_probe+0x43/0xf0
[ 124.193921][ T5347] acpi_bus_init+0x27c/0x360
[ 124.193931][ T5347] page last free pid 1 tgid 1 ts 3815705907 stack trace:
[ 124.193939][ T5347] __free_frozen_pages+0xc97/0xd90
[ 124.193949][ T5347] __slab_free+0x269/0x2c0
[ 124.193960][ T5347] qlist_free_all+0x99/0x100
[ 124.193970][ T5347] kasan_quarantine_remove_cache+0x35d/0x380
[ 124.193982][ T5347] kmem_cache_shrink+0xd/0x20
[ 124.193994][ T5347] acpi_os_purge_cache+0x15/0x20
[ 124.194009][ T5347] acpi_purge_cached_objects+0xd5/0x100
[ 124.194022][ T5347] acpi_initialize_objects+0x2e/0xb0
[ 124.194035][ T5347] acpi_bus_init+0xa8/0x360
[ 124.194045][ T5347] acpi_init+0xa1/0x1f0
[ 124.194055][ T5347] do_one_initcall+0x250/0x870
[ 124.194064][ T5347] do_initcall_level+0x10a/0x1a0
[ 124.194079][ T5347] do_initcalls+0x59/0xa0
[ 124.194092][ T5347] kernel_init_freeable+0x29d/0x3e0
[ 124.194106][ T5347] kernel_init+0x22/0x1d0
[ 124.194114][ T5347] ret_from_fork+0x514/0xb70
[ 124.194125][ T5347]
[ 124.194128][ T5347] Memory state around the buggy address:
[ 124.194134][ T5347] ffff888030fe4580: fa fb fb fb fc fc fc fc 00 00 00 02 fc fc fc fc
[ 124.194142][ T5347] ffff888030fe4600: 00 00 00 fc fc fc fc fc 00 00 00 00 fc fc fc fc
[ 124.194150][ T5347] >ffff888030fe4680: 00 00 07 fc fc fc fc fc 00 00 07 fc fc fc fc fc
[ 124.194156][ T5347] ^
[ 124.194162][ T5347] ffff888030fe4700: fa fb fb fb fc fc fc fc 00 00 00 03 fc fc fc fc
[ 124.194169][ T5347] ffff888030fe4780: 00 00 06 fc fc fc fc fc 00 00 00 fc fc fc fc fc
[ 124.194174][ T5347] ==================================================================
[ 124.194253][ T5347] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 124.498393][ T5347] CPU: 0 UID: 0 PID: 5347 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 124.502152][ T5347] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 124.506414][ T5347] Call Trace:
[ 124.507937][ T5347]
[ 124.509300][ T5347] vpanic+0x26f/0x710
[ 124.511035][ T5347] panic+0xc5/0xd0
[ 124.512658][ T5347] ? __pfx_panic+0x10/0x10
[ 124.514554][ T5347] ? preempt_schedule_thunk+0x16/0x40
[ 124.516810][ T5347] ? preempt_schedule_thunk+0x16/0x40
[ 124.519133][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.521892][ T5347] check_panic_on_warn+0x89/0xb0
[ 124.524113][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.526882][ T5347] end_report+0x73/0x170
[ 124.528807][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.531512][ T5347] kasan_report+0x128/0x150
[ 124.533546][ T5347] ? ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.536296][ T5347] ecryptfs_write_tag_70_packet+0x1241/0x12e0
[ 124.538961][ T5347] ecryptfs_encrypt_and_encode_filename+0x576/0x1580
[ 124.541822][ T5347] ? __pfx_ecryptfs_encrypt_and_encode_filename+0x10/0x10
[ 124.544904][ T5347] ? irqentry_exit+0x2a0/0x9b0
[ 124.547024][ T5347] ? irqentry_exit+0x2a0/0x9b0
[ 124.549198][ T5347] ecryptfs_lookup+0x20e/0x780
[ 124.551330][ T5347] ? __pfx_ecryptfs_lookup+0x10/0x10
[ 124.553566][ T5347] ? _raw_spin_unlock+0x28/0x50
[ 124.555796][ T5347] ? d_alloc+0x144/0x190
[ 124.557604][ T5347] lookup_one_qstr_excl+0x12d/0x360
[ 124.559925][ T5347] filename_create+0x20e/0x370
[ 124.562045][ T5347] ? __pfx_filename_create+0x10/0x10
[ 124.564407][ T5347] filename_mknodat+0x18c/0x680
[ 124.566552][ T5347] ? __pfx_filename_mknodat+0x10/0x10
[ 124.569085][ T5347] ? do_getname+0x151/0x250
[ 124.571112][ T5347] __se_sys_mknodat+0x3b/0x150
[ 124.573253][ T5347] do_syscall_64+0x166/0x520
[ 124.575379][ T5347] ? trace_irq_disable+0x3b/0x140
[ 124.577535][ T5347] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 124.580198][ T5347] ? clear_bhb_loop+0x70/0xc0
[ 124.582305][ T5347] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 124.584891][ T5347] RIP: 0033:0x7fb3b759f559
[ 124.586897][ T5347] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
[ 124.595129][ T5347] RSP: 002b:00007fb3b83d6fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000103
[ 124.598758][ T5347] RAX: ffffffffffffffda RBX: 00007fb3b7825fa0 RCX: 00007fb3b759f559
[ 124.602218][ T5347] RDX: 0000000000000020 RSI: 00002000000004c0 RDI: 0000000000000005
[ 124.605463][ T5347] RBP: 00007fb3b7636b50 R08: 0000000000000000 R09: 0000000000000000
[ 124.608724][ T5347] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 124.612176][ T5347] R13: 00007fb3b7826038 R14: 00007fb3b7825fa0 R15: 00007ffef0fd65c8
[ 124.615550][ T5347]
[ 124.617371][ T5347] Kernel Offset: disabled
[ 124.619312][ T5347] Rebooting in 86400 seconds..