audit: type=1400 audit(1575835857.214:35): avc: denied { map } for pid=7641 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(1575835863.834:36): avc: denied { map } for pid=7656 comm="syz-executor943" path="/root/syz-executor943995212" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 ================================================================== BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:348 [inline] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x358/0x460 net/nfc/llcp_sock.c:531 Read of size 43 at addr 0000000000000000 by task syz-executor943/7656 CPU: 1 PID: 7656 Comm: syz-executor943 Not tainted 4.19.88-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 kasan_report_error mm/kasan/report.c:352 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x199/0x2ba mm/kasan/report.c:396 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x123/0x190 mm/kasan/kasan.c:267 memcpy+0x24/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:348 [inline] llcp_sock_getname+0x358/0x460 net/nfc/llcp_sock.c:531 __sys_getpeername+0x12b/0x290 net/socket.c:1735 __do_sys_getpeername net/socket.c:1748 [inline] __se_sys_getpeername net/socket.c:1745 [inline] __x64_sys_getpeername+0x73/0xb0 net/socket.c:1745 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x440349 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fff33e94a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: fe7f62c7329d9aaa RCX: 0000000000440349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 65e500001d7ef6cc R08: 00007fff33e94b88 R09: 00007fff33e94b88 R10: 00007fff33e94b88 R11: 0000000000000246 R12: 211e267fffffffff R13: ffff000000004d02 R14: aac8030fa4d62b9c R15: d303a55487e71188 ==================================================================