program:
mkdirat(0xffffffffffffff9c, &(0x7f00000027c0)='./lower\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000002800)='./mnt\x00', 0x1ff)
add_key$user(&(0x7f0000002840), &(0x7f0000002880)={'syz', 0x0}, &(0x7f00000028c0)="040000", 0x3, 0xfffffffffffffffd)
mount(&(0x7f0000002c00)=@filename='./lower\x00', &(0x7f0000002c40)='./mnt\x00', &(0x7f0000002c80)='ecryptfs\x00', 0x0, &(0x7f0000002cc0)='ecryptfs_sig=syz ,ecryptfs_cipher=aes,ecryptfs_key_bytes=16\x00')
r0 = syz_open_procfs(0xffffffffffffffff, &(0x7f0000000040)='mountinfo\x00')
read$FUSE(r0, &(0x7f0000000440)={0x2020}, 0x2020)
[ 102.676864][ T5278] Bluetooth: hci0: command tx timeout
[ 102.813092][ T5324] ==================================================================
[ 102.813111][ T5324] BUG: KASAN: slab-out-of-bounds in ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 102.813373][ T5324] Read of size 2 at addr ffff8880333c1b9b by task syz.0.0/5324
[ 102.813384][ T5324]
[ 102.813433][ T5324] CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 102.813446][ T5324] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 102.813454][ T5324] Call Trace:
[ 102.813468][ T5324]
[ 102.813475][ T5324] dump_stack_lvl+0xe8/0x150
[ 102.813522][ T5324] print_address_description+0x55/0x1e0
[ 102.813537][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 102.813551][ T5324] print_report+0x58/0x70
[ 102.813564][ T5324] kasan_report+0x117/0x150
[ 102.813580][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 102.813599][ T5324] ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 102.813616][ T5324] ecryptfs_keyring_auth_tok_for_sig+0xec/0x250
[ 102.813628][ T5324] ecryptfs_get_tree+0x563/0x1370
[ 102.813637][ T5324] ? __pfx_ecryptfs_get_tree+0x10/0x10
[ 102.813647][ T5324] vfs_get_tree+0x92/0x2a0
[ 102.813655][ T5324] do_new_mount+0x325/0xb00
[ 102.813665][ T5324] ? __pfx_do_new_mount+0x10/0x10
[ 102.813673][ T5324] ? ns_capable+0x89/0xe0
[ 102.813707][ T5324] ? path_mount+0x647/0x1050
[ 102.813744][ T5324] ? user_path_at+0xd4/0x160
[ 102.813762][ T5324] __se_sys_mount+0x31d/0x420
[ 102.813777][ T5324] ? __pfx___se_sys_mount+0x10/0x10
[ 102.813791][ T5324] ? __x64_sys_mount+0x20/0xc0
[ 102.813805][ T5324] do_syscall_64+0x166/0x520
[ 102.813912][ T5324] ? trace_irq_disable+0x3b/0x140
[ 102.813963][ T5324] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 102.813976][ T5324] ? clear_bhb_loop+0x70/0xc0
[ 102.813989][ T5324] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 102.814002][ T5324] RIP: 0033:0x7f26f839e559
[ 102.814023][ T5324] 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
[ 102.814032][ T5324] RSP: 002b:00007f26f91f7fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[ 102.814046][ T5324] RAX: ffffffffffffffda RBX: 00007f26f8625fa0 RCX: 00007f26f839e559
[ 102.814056][ T5324] RDX: 0000200000002c80 RSI: 0000200000002c40 RDI: 0000200000002c00
[ 102.814064][ T5324] RBP: 00007f26f84358b0 R08: 0000200000002cc0 R09: 0000000000000000
[ 102.814073][ T5324] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 102.814086][ T5324] R13: 00007f26f8626038 R14: 00007f26f8625fa0 R15: 00007ffc6c09eca8
[ 102.814099][ T5324]
[ 102.814104][ T5324]
[ 102.814106][ T5324] Allocated by task 5324:
[ 102.814112][ T5324] kasan_save_track+0x3e/0x80
[ 102.814124][ T5324] __kasan_kmalloc+0x93/0xb0
[ 102.814136][ T5324] __kmalloc_noprof+0x36b/0x720
[ 102.814146][ T5324] user_preparse+0x9e/0x160
[ 102.814201][ T5324] __key_create_or_update+0x354/0xa70
[ 102.814216][ T5324] key_create_or_update+0x42/0x60
[ 102.814228][ T5324] __se_sys_add_key+0x349/0x420
[ 102.814235][ T5324] do_syscall_64+0x166/0x520
[ 102.814242][ T5324] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 102.814251][ T5324]
[ 102.814253][ T5324] The buggy address belongs to the object at ffff8880333c1b80
[ 102.814253][ T5324] which belongs to the cache kmalloc-32 of size 32
[ 102.814262][ T5324] The buggy address is located 0 bytes to the right of
[ 102.814262][ T5324] allocated 27-byte region [ffff8880333c1b80, ffff8880333c1b9b)
[ 102.814272][ T5324]
[ 102.814275][ T5324] The buggy address belongs to the physical page:
[ 102.814282][ T5324] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x333c1
[ 102.814311][ T5324] flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
[ 102.814321][ T5324] page_type: f5(slab)
[ 102.814333][ T5324] raw: 04fff00000000000 ffff88801c041780 dead000000000100 dead000000000122
[ 102.814342][ T5324] raw: 0000000000000000 0000000000400040 00000000f5000000 0000000000000000
[ 102.814348][ T5324] page dumped because: kasan: bad access detected
[ 102.814354][ T5324] page_owner tracks the page as allocated
[ 102.814359][ T5324] 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 8709103716
[ 102.814390][ T5324] post_alloc_hook+0x1f9/0x250
[ 102.814407][ T5324] get_page_from_freelist+0x2209/0x2280
[ 102.814419][ T5324] __alloc_frozen_pages_noprof+0x217/0x5a0
[ 102.814429][ T5324] allocate_slab+0x7d/0x620
[ 102.814441][ T5324] refill_objects+0x2d5/0x350
[ 102.814453][ T5324] __pcs_replace_empty_main+0x2c8/0x6c0
[ 102.814465][ T5324] __kmalloc_cache_noprof+0x39b/0x600
[ 102.814474][ T5324] iommu_setup_dma_ops+0x1222/0x1820
[ 102.814522][ T5324] bus_iommu_probe+0x296/0x470
[ 102.814534][ T5324] iommu_device_register+0x1af/0x210
[ 102.814547][ T5324] intel_iommu_init+0x6dc/0x8a0
[ 102.814771][ T5324] pci_iommu_init+0x38/0x70
[ 102.814798][ T5324] do_one_initcall+0x250/0x870
[ 102.814813][ T5324] do_initcall_level+0x10a/0x1a0
[ 102.814824][ T5324] do_initcalls+0x59/0xa0
[ 102.814834][ T5324] kernel_init_freeable+0x29d/0x3e0
[ 102.814843][ T5324] page_owner free stack trace missing
[ 102.814847][ T5324]
[ 102.814850][ T5324] Memory state around the buggy address:
[ 102.814856][ T5324] ffff8880333c1a80: 00 00 00 00 fc fc fc fc 00 00 00 00 fc fc fc fc
[ 102.814863][ T5324] ffff8880333c1b00: 00 00 00 fc fc fc fc fc 00 00 06 fc fc fc fc fc
[ 102.814870][ T5324] >ffff8880333c1b80: 00 00 00 03 fc fc fc fc 00 00 00 00 fc fc fc fc
[ 102.814876][ T5324] ^
[ 102.814881][ T5324] ffff8880333c1c00: 00 00 06 fc fc fc fc fc 00 00 00 00 fc fc fc fc
[ 102.814888][ T5324] ffff8880333c1c80: 00 00 00 00 fc fc fc fc 00 00 00 06 fc fc fc fc
[ 102.814894][ T5324] ==================================================================
[ 102.815140][ T5324] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 103.071328][ T5324] CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 103.075201][ T5324] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 103.079221][ T5324] Call Trace:
[ 103.080726][ T5324]
[ 103.082111][ T5324] vpanic+0x56d/0xa60
[ 103.083893][ T5324] ? __pfx_vpanic+0x10/0x10
[ 103.085791][ T5324] ? __pfx___schedule+0x10/0x10
[ 103.087920][ T5324] panic+0xc5/0xd0
[ 103.089551][ T5324] ? __pfx_panic+0x10/0x10
[ 103.091525][ T5324] ? preempt_schedule_thunk+0x16/0x40
[ 103.093947][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 103.096675][ T5324] check_panic_on_warn+0x89/0xb0
[ 103.098832][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 103.101800][ T5324] end_report+0x73/0x170
[ 103.103667][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 103.106381][ T5324] kasan_report+0x128/0x150
[ 103.108243][ T5324] ? ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 103.112763][ T5324] ecryptfs_verify_auth_tok_from_key+0x38f/0x3a0
[ 103.115585][ T5324] ecryptfs_keyring_auth_tok_for_sig+0xec/0x250
[ 103.118281][ T5324] ecryptfs_get_tree+0x563/0x1370
[ 103.120505][ T5324] ? __pfx_ecryptfs_get_tree+0x10/0x10
[ 103.122890][ T5324] vfs_get_tree+0x92/0x2a0
[ 103.124763][ T5324] do_new_mount+0x325/0xb00
[ 103.126765][ T5324] ? __pfx_do_new_mount+0x10/0x10
[ 103.129047][ T5324] ? ns_capable+0x89/0xe0
[ 103.131065][ T5324] ? path_mount+0x647/0x1050
[ 103.133097][ T5324] ? user_path_at+0xd4/0x160
[ 103.135159][ T5324] __se_sys_mount+0x31d/0x420
[ 103.137260][ T5324] ? __pfx___se_sys_mount+0x10/0x10
[ 103.139506][ T5324] ? __x64_sys_mount+0x20/0xc0
[ 103.141555][ T5324] do_syscall_64+0x166/0x520
[ 103.143685][ T5324] ? trace_irq_disable+0x3b/0x140
[ 103.145844][ T5324] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 103.148504][ T5324] ? clear_bhb_loop+0x70/0xc0
[ 103.150552][ T5324] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 103.153183][ T5324] RIP: 0033:0x7f26f839e559
[ 103.155292][ T5324] 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
[ 103.163445][ T5324] RSP: 002b:00007f26f91f7fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[ 103.166995][ T5324] RAX: ffffffffffffffda RBX: 00007f26f8625fa0 RCX: 00007f26f839e559
[ 103.170279][ T5324] RDX: 0000200000002c80 RSI: 0000200000002c40 RDI: 0000200000002c00
[ 103.173616][ T5324] RBP: 00007f26f84358b0 R08: 0000200000002cc0 R09: 0000000000000000
[ 103.177054][ T5324] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 103.180547][ T5324] R13: 00007f26f8626038 R14: 00007f26f8625fa0 R15: 00007ffc6c09eca8
[ 103.184054][ T5324]
[ 103.185840][ T5324] Kernel Offset: disabled
[ 103.187927][ T5324] Rebooting in 86400 seconds..