syzbot


BUG: stack guard page was hit in sys_removexattr

Status: closed as dup on 2022/04/18 14:30
Reported-by: syzbot+50eed940c2c8e6bef08b@syzkaller.appspotmail.com
First crash: 958d, last: 953d
Cause bisection: failed (error log, bisect log)
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: stack guard page was hit in file_open C error 25 995d 1073d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: stack guard page was hit in sys_removexattr (2) C error 2 935d 935d 0/2 closed as dup on 2022/05/05 21:18
android-5-10 BUG: stack guard page was hit in sys_removexattr (3) C error 2 930d 930d 0/2 closed as dup on 2022/05/11 00:33

Sample crash report:
BUG: stack guard page was hit at ffffc90000287ff8 (stack is ffffc90000288000..ffffc9000028ffff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 365 Comm: syz-executor304 Not tainted 5.10.109-syzkaller-00693-g414e6c8e941c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kasan_check_range+0xa/0x2e0 mm/kasan/generic.c:185
Code: 6c 00 ea 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 54 <53> b0 01 48 85 f6 0f 84 e8 01 00 00 48 89 fb 48 01 f3 0f 82 80 02
RSP: 0018:ffffc90000288000 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff82246ca8 RCX: ffffffff82246ca8
RDX: 0000000000000000 RSI: 0000000000000014 RDI: ffff8881190db41c
RBP: ffffc90000288018 R08: ffffffff82246b10 R09: ffffc900002880c0
R10: fffff5200005101f R11: 1ffff92000051018 R12: 0000000000000014
R13: 0000000000000000 R14: ffff8881190db41c R15: ffffc900002881e0
FS:  0000555556c83300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000287ff8 CR3: 00000001075e1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy+0x2d/0x70 mm/kasan/shadow.c:65
 avc_has_perm_noaudit+0x358/0x4c0 security/selinux/avc.c:1165
 avc_has_perm+0xd2/0x260 security/selinux/avc.c:1198
 inode_has_perm security/selinux/hooks.c:1657 [inline]
 dentry_has_perm security/selinux/hooks.c:1674 [inline]
 selinux_inode_setxattr+0x617/0xce0 security/selinux/hooks.c:3201
 security_inode_setxattr+0xce/0x180 security/security.c:1268
 __vfs_setxattr_locked+0x96/0x210 fs/xattr.c:258
 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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+0x436/0x490 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_removexattr+0x401/0x450 fs/xattr.c:441
 __vfs_removexattr_locked+0x1f9/0x380 fs/xattr.c:473
 vfs_removexattr+0xef/0x260 fs/xattr.c:494
 removexattr fs/xattr.c:788 [inline]
 path_removexattr+0x202/0x300 fs/xattr.c:802
 __do_sys_removexattr fs/xattr.c:816 [inline]
 __se_sys_removexattr fs/xattr.c:813 [inline]
 __x64_sys_removexattr+0x60/0x70 fs/xattr.c:813
 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f4a39eaf069
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffdd171a38 EFLAGS: 00000246 ORIG_RAX: 00000000000000c5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a39eaf069
RDX: 00007f4a39eaf069 RSI: 0000000020000140 RDI: 0000000020000080
RBP: 00007f4a39e73050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4a39e730e0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 53c1dc21e50563bc ]---
RIP: 0010:kasan_check_range+0xa/0x2e0 mm/kasan/generic.c:185
Code: 6c 00 ea 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 54 <53> b0 01 48 85 f6 0f 84 e8 01 00 00 48 89 fb 48 01 f3 0f 82 80 02
RSP: 0018:ffffc90000288000 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff82246ca8 RCX: ffffffff82246ca8
RDX: 0000000000000000 RSI: 0000000000000014 RDI: ffff8881190db41c
RBP: ffffc90000288018 R08: ffffffff82246b10 R09: ffffc900002880c0
R10: fffff5200005101f R11: 1ffff92000051018 R12: 0000000000000014
R13: 0000000000000000 R14: ffff8881190db41c R15: ffffc900002881e0
FS:  0000555556c83300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000287ff8 CR3: 00000001075e1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	6c                   	insb   (%dx),%es:(%rdi)
   1:	00 ea                	add    %ch,%dl
   3:	02 31                	add    (%rcx),%dh
   5:	c0 5d c3 0f          	rcrb   $0xf,-0x3d(%rbp)
   9:	0b eb                	or     %ebx,%ebp
   b:	02 0f                	add    (%rdi),%cl
   d:	0b b8 ea ff ff ff    	or     -0x16(%rax),%edi
  13:	5d                   	pop    %rbp
  14:	c3                   	retq
  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:	cc                   	int3
  1f:	cc                   	int3
  20:	55                   	push   %rbp
  21:	48 89 e5             	mov    %rsp,%rbp
  24:	41 57                	push   %r15
  26:	41 56                	push   %r14
  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 e8 01 00 00    	je     0x21e
  36:	48 89 fb             	mov    %rdi,%rbx
  39:	48 01 f3             	add    %rsi,%rbx
  3c:	0f                   	.byte 0xf
  3d:	82                   	(bad)
  3e:	80                   	.byte 0x80
  3f:	02                   	.byte 0x2

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/16 06:23 android12-5.10-lts 414e6c8e941c 8bcc32a6 .config console log report syz C ci2-android-5-10 BUG: stack guard page was hit in sys_removexattr
2022/04/16 06:11 android12-5.10-lts 414e6c8e941c 8bcc32a6 .config console log report info ci2-android-5-10 BUG: stack guard page was hit in sys_removexattr
2022/04/15 05:04 android12-5.10-lts 414e6c8e941c b17b2923 .config console log report info ci2-android-5-10 BUG: stack guard page was hit in sys_removexattr
2022/04/11 23:13 android12-5.10-lts 414e6c8e941c af01ee7d .config console log report info ci2-android-5-10 BUG: stack guard page was hit in sys_removexattr
* Struck through repros no longer work on HEAD.