syzbot


BUG: stack guard page was hit in sys_lsetxattr (2)

Status: fixed on 2022/05/12 07:47
Reported-by: syzbot+e7da1f821c43382676f1@syzkaller.appspotmail.com
Fix commit: 3e45af8a72c0 ANDROID: incremental-fs: limit mount stack depth
First crash: 842d, last: 840d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: stack guard page was hit in sys_lsetxattr C error inconclusive 2 878d 878d 0/2 closed as invalid on 2022/02/28 16:11

Sample crash report:
BUG: stack guard page was hit at ffffc90006cb7ff8 (stack is ffffc90006cb8000..ffffc90006cbffff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 28581 Comm: syz-executor.3 Tainted: G        W         5.10.102-syzkaller-00171-ge1b86e7f5cbb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kasan_check_range+0xc/0x2f0 mm/kasan/generic.c:185
Code: f5 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 09 02 00 00 48 89 fb 48 01 f3 0f 82 8a 02
RSP: 0018:ffffc90006cb8000 EFLAGS: 00010246
RAX: ffff888111762780 RBX: ffffc90006cb80e0 RCX: ffffffff813415a4
RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90006cb80e0
RBP: ffffc90006cb8020 R08: dffffc0000000000 R09: ffffc90006cb81c0
R10: fffff52000d9703b R11: 0000000000000000 R12: ffff888111762780
R13: ffffc90006cb80e0 R14: 0000000000000000 R15: 0000000000000060
FS:  00007f4616e05700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90006cb7ff8 CR3: 0000000111c95000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memset+0x23/0x40 mm/kasan/shadow.c:44
 __unwind_start+0x34/0x420 arch/x86/kernel/unwind_frame.c:368
 unwind_start arch/x86/include/asm/unwind.h:60 [inline]
 arch_stack_walk+0xdc/0x140 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:121
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track mm/kasan/common.c:46 [inline]
 set_alloc_info mm/kasan/common.c:428 [inline]
 __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:461
 kasan_slab_alloc include/linux/kasan.h:259 [inline]
 slab_post_alloc_hook mm/slab.h:583 [inline]
 slab_alloc_node mm/slub.c:2954 [inline]
 slab_alloc mm/slub.c:2962 [inline]
 kmem_cache_alloc+0x1a2/0x380 mm/slub.c:2967
 kmem_cache_zalloc include/linux/slab.h:654 [inline]
 jbd2_alloc_handle include/linux/jbd2.h:1554 [inline]
 new_handle fs/jbd2/transaction.c:464 [inline]
 jbd2__journal_start+0x14f/0x6f0 fs/jbd2/transaction.c:491
 __ext4_journal_start_sb+0x237/0x490 fs/ext4/ext4_jbd2.c:105
 __ext4_journal_start fs/ext4/ext4_jbd2.h:328 [inline]
 ext4_xattr_set+0x204/0x3b0 fs/ext4/xattr.c:2489
 ext4_xattr_trusted_set+0x3b/0x50 fs/ext4/xattr_trusted.c:37
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 incfs_setxattr fs/incfs/vfs.c:1702 [inline]
 incfs_handler_setxattr+0x101/0x330 fs/incfs/vfs.c:172
 __vfs_setxattr+0x3c6/0x420 fs/xattr.c:177
 __vfs_setxattr_noperm+0x11b/0x4e0 fs/xattr.c:208
 __vfs_setxattr_locked+0x1f9/0x210 fs/xattr.c:266
 vfs_setxattr+0x11e/0x2d0 fs/xattr.c:283
 setxattr+0x1ea/0x3f0 fs/xattr.c:548
 path_setxattr+0x164/0x240 fs/xattr.c:567
 __do_sys_lsetxattr fs/xattr.c:589 [inline]
 __se_sys_lsetxattr fs/xattr.c:585 [inline]
 __x64_sys_lsetxattr+0xc2/0xe0 fs/xattr.c:585
 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f4617cd1049
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4616e05168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f4617de4100 RCX: 00007f4617cd1049
RDX: 0000000020000180 RSI: 0000000020000140 RDI: 00000000200000c0
RBP: 00007f4617d2b08d R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd5e442acf R14: 00007f4616e05300 R15: 0000000000022000
Modules linked in:
---[ end trace efa9a03b45219743 ]---
RIP: 0010:kasan_check_range+0xc/0x2f0 mm/kasan/generic.c:185
Code: f5 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 09 02 00 00 48 89 fb 48 01 f3 0f 82 8a 02
RSP: 0018:ffffc90006cb8000 EFLAGS: 00010246
RAX: ffff888111762780 RBX: ffffc90006cb80e0 RCX: ffffffff813415a4
RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90006cb80e0
RBP: ffffc90006cb8020 R08: dffffc0000000000 R09: ffffc90006cb81c0
R10: fffff52000d9703b R11: 0000000000000000 R12: ffff888111762780
R13: ffffc90006cb80e0 R14: 0000000000000000 R15: 0000000000000060
FS:  00007f4616e05700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90006cb7ff8 CR3: 0000000111c95000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	f5                   	cmc
   1:	02 31                	add    (%rcx),%dh
   3:	c0 5d c3 0f          	rcrb   $0xf,-0x3d(%rbp)
   7:	0b eb                	or     %ebx,%ebp
   9:	02 0f                	add    (%rdi),%cl
   b:	0b b8 ea ff ff ff    	or     -0x16(%rax),%edi
  11:	5d                   	pop    %rbp
  12:	c3                   	retq
  13:	cc                   	int3
  14:	cc                   	int3
  15:	cc                   	int3
  16:	cc                   	int3
  17:	cc                   	int3
  18:	cc                   	int3
  19:	cc                   	int3
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	55                   	push   %rbp
  1f:	48 89 e5             	mov    %rsp,%rbp
  22:	41 57                	push   %r15
  24:	41 56                	push   %r14
  26:	41 55                	push   %r13
  28:	41 54                	push   %r12
* 2a:	53                   	push   %rbx <-- trapping instruction
  2b:	b0 01                	mov    $0x1,%al
  2d:	48 85 f6             	test   %rsi,%rsi
  30:	0f 84 09 02 00 00    	je     0x23f
  36:	48 89 fb             	mov    %rdi,%rbx
  39:	48 01 f3             	add    %rsi,%rbx
  3c:	0f                   	.byte 0xf
  3d:	82                   	(bad)
  3e:	8a 02                	mov    (%rdx),%al

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/03 18:30 android12-5.10-lts e1b86e7f5cbb 45a13a73 .config console log report info ci2-android-5-10 BUG: stack guard page was hit in sys_lsetxattr
2022/03/01 02:59 android12-5.10-lts e1b86e7f5cbb 45a13a73 .config console log report info ci2-android-5-10 BUG: stack guard page was hit in sys_lsetxattr
* Struck through repros no longer work on HEAD.