Not allocated shadow for addr ffff880194d20000 (page ffffea00097cec00) Attempted to access 0 bytes ------------[ cut here ]------------ kernel BUG at mm/kmsan/kmsan.c:1140! invalid opcode: 0000 [#1] SMP PTI CPU: 0 PID: 10817 Comm: syz-executor0 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:ffff880125f9f220 EFLAGS: 00010082 RAX: 000000000000001b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000002173 RDI: 0000000000002174 RBP: ffff880125f9f250 R08: 0000000000000000 R09: ffff88021fc39090 R10: 0000000000000000 R11: ffffffff85031d70 R12: 0000000000000001 R13: ffff880194d20000 R14: 0000000000000001 R15: ffff880194d1ff3c FS: 00007fde89171700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff32eb20000 CR3: 000000011c208000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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 netlink: 'syz-executor6': attribute type 29 has an invalid length. ext4_xattr_block_set+0x18c5/0x6500 fs/ext4/xattr.c:1885 ext4_xattr_set_handle+0x167d/0x2b40 fs/ext4/xattr.c:2402 netlink: 188 bytes leftover after parsing attributes in process `syz-executor6'. ext4_xattr_set+0x3d7/0x560 fs/ext4/xattr.c:2502 ext4_xattr_user_set+0x19e/0x1d0 fs/ext4/xattr_user.c:40 __vfs_setxattr+0x7fa/0x850 fs/xattr.c:150 __vfs_setxattr_noperm+0x2fc/0x980 fs/xattr.c:181 vfs_setxattr fs/xattr.c:224 [inline] setxattr+0x81f/0x9b0 fs/xattr.c:451 __do_sys_fsetxattr fs/xattr.c:506 [inline] __se_sys_fsetxattr+0x2b0/0x3a0 fs/xattr.c:495 __x64_sys_fsetxattr+0x15d/0x1b0 fs/xattr.c:495 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:00007fde89170c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 00007fde891716d4 RCX: 0000000000457089 RDX: 0000000020000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cbb68 R14: 00000000004c345d R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace e9fad5d26d0e9e40 ]--- 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:ffff880125f9f220 EFLAGS: 00010082 RAX: 000000000000001b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000002173 RDI: 0000000000002174 RBP: ffff880125f9f250 R08: 0000000000000000 R09: ffff88021fc39090 R10: 0000000000000000 R11: ffffffff85031d70 R12: 0000000000000001 netlink: 'syz-executor6': attribute type 29 has an invalid length. R13: ffff880194d20000 R14: 0000000000000001 R15: ffff880194d1ff3c FS: 00007fde89171700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff32eb20000 CR3: 000000011c208000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600