RDX: 0000000020000040 RSI: 0000000020000180 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000035 R11: 0000000000000246 R12: 0000000000000015 R13: 0000000000000098 R14: 00000000006f3ee0 R15: 0000000000000002 ================================================================== BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:345 [inline] BUG: KASAN: null-ptr-deref in xattr_getsecurity+0x11d/0x1f0 fs/xattr.c:251 Read of size 20 at addr 0000000000000000 by task syz-executor4/19453 CPU: 1 PID: 19453 Comm: syz-executor4 Not tainted 4.16.0+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1a7/0x27d lib/dump_stack.c:53 kasan_report_error mm/kasan/report.c:352 [inline] kasan_report+0x140/0x360 mm/kasan/report.c:412 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x137/0x190 mm/kasan/kasan.c:267 memcpy+0x23/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:345 [inline] xattr_getsecurity+0x11d/0x1f0 fs/xattr.c:251 vfs_getxattr+0xc8/0x110 fs/xattr.c:333 getxattr+0x116/0x2a0 fs/xattr.c:540 SYSC_fgetxattr fs/xattr.c:598 [inline] SyS_fgetxattr+0xe2/0x150 fs/xattr.c:589 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4552d9 RSP: 002b:00007f6829175c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000c1 RAX: ffffffffffffffda RBX: 00007f68291766d4 RCX: 00000000004552d9 RDX: 0000000020000040 RSI: 0000000020000180 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000035 R11: 0000000000000246 R12: 0000000000000015 R13: 0000000000000098 R14: 00000000006f3ee0 R15: 0000000000000002 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 19453 Comm: syz-executor4 Tainted: G B 4.16.0+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1a7/0x27d lib/dump_stack.c:53 panic+0x1f8/0x42c kernel/panic.c:183 kasan_end_report+0x50/0x50 mm/kasan/report.c:180 kasan_report_error mm/kasan/report.c:359 [inline] kasan_report+0x149/0x360 mm/kasan/report.c:412 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x137/0x190 mm/kasan/kasan.c:267 memcpy+0x23/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:345 [inline] xattr_getsecurity+0x11d/0x1f0 fs/xattr.c:251 vfs_getxattr+0xc8/0x110 fs/xattr.c:333 getxattr+0x116/0x2a0 fs/xattr.c:540 SYSC_fgetxattr fs/xattr.c:598 [inline] SyS_fgetxattr+0xe2/0x150 fs/xattr.c:589 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4552d9 RSP: 002b:00007f6829175c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000c1 RAX: ffffffffffffffda RBX: 00007f68291766d4 RCX: 00000000004552d9 RDX: 0000000020000040 RSI: 0000000020000180 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000035 R11: 0000000000000246 R12: 0000000000000015 R13: 0000000000000098 R14: 00000000006f3ee0 R15: 0000000000000002 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..