input: syz0 as /devices/virtual/input/input30 Not allocated shadow for addr ffff8801c0732000 (page ffffea000a82b2c0) Attempted to access 0 bytes ------------[ cut here ]------------ kernel BUG at mm/kmsan/kmsan.c:1140! invalid opcode: 0000 [#1] SMP PTI CPU: 1 PID: 22893 Comm: syz-executor6 Not tainted 4.18.0-rc8+ #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kmsan_get_shadow_address+0x306/0x3d0 mm/kmsan/kmsan.c:1139 Code: 89 31 c0 4c 89 ee 48 89 ca e8 76 15 81 ff 80 3c 25 38 f5 15 8a 00 75 12 48 c7 c7 31 98 49 89 31 c0 48 8b 75 d0 e8 5a 15 81 ff <0f> 0b 0f 1f 84 00 00 00 00 00 eb fe 48 3d ff ff ff 1f 0f 87 70 fd RSP: 0018:ffff88008d0af2b0 EFLAGS: 00010082 RAX: 000000000000001b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000271f RDI: 0000000000002720 RBP: ffff88008d0af2e0 R08: 0000000000000000 R09: ffff88021fd39090 R10: 0000000000000000 R11: ffffffff85031d70 R12: 0000000000000001 R13: ffff8801c0732000 R14: 0000000000000001 R15: ffff8801c0731fe8 FS: 00007f6b14018700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000728000 CR3: 000000008b85e000 CR4: 00000000001406e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: kmsan_memmove_shadow+0x87/0xe0 mm/kmsan/kmsan.c:332 __msan_memmove+0xaa/0x130 mm/kmsan/kmsan_instr.c:376 ext4_xattr_set_entry+0x32b3/0x6340 fs/ext4/xattr.c:1703 ext4_xattr_ibody_set fs/ext4/xattr.c:2238 [inline] ext4_xattr_set_handle+0x1105/0x2b40 fs/ext4/xattr.c:2376 ext4_xattr_set+0x3d7/0x560 fs/ext4/xattr.c:2502 ext4_xattr_security_set+0xf3/0x110 fs/ext4/xattr_security.c:30 __vfs_removexattr+0x759/0x7b0 fs/xattr.c:377 cap_inode_killpriv+0x50/0xb0 security/commoncap.c:323 security_inode_killpriv+0xcf/0x1a0 security/security.c:801 setattr_prepare+0x718/0xe30 fs/attr.c:110 ext4_setattr+0x222/0x3b00 fs/ext4/inode.c:5431 notify_change+0x16fb/0x1bc0 fs/attr.c:333 chown_common+0x5b3/0x950 fs/open.c:643 ksys_fchown+0x214/0x2f0 fs/open.c:714 __do_sys_fchown fs/open.c:724 [inline] __se_sys_fchown fs/open.c:722 [inline] __x64_sys_fchown+0xd8/0x120 fs/open.c:722 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6b14017c78 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f6b140186d4 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cb8f8 R14: 00000000004c32f1 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 032877e00d46888c ]--- RIP: 0010:kmsan_get_shadow_address+0x306/0x3d0 mm/kmsan/kmsan.c:1139 Code: 89 31 c0 4c 89 ee 48 89 ca e8 76 15 81 ff 80 3c 25 38 f5 15 8a 00 75 12 48 c7 c7 31 98 49 89 31 c0 48 8b 75 d0 e8 5a 15 81 ff <0f> 0b 0f 1f 84 00 00 00 00 00 eb fe 48 3d ff ff ff 1f 0f 87 70 fd RSP: 0018:ffff88008d0af2b0 EFLAGS: 00010082 RAX: 000000000000001b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000271f RDI: 0000000000002720 RBP: ffff88008d0af2e0 R08: 0000000000000000 R09: ffff88021fd39090 R10: 0000000000000000 R11: ffffffff85031d70 R12: 0000000000000001 R13: ffff8801c0732000 R14: 0000000000000001 R15: ffff8801c0731fe8 FS: 00007f6b14018700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000728000 CR3: 000000008b85e000 CR4: 00000000001406e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600