audit: type=1400 audit(1571876503.533:35): avc: denied { map } for pid=7862 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(1571876513.283:36): avc: denied { map } for pid=7874 comm="syz-executor165" path="/root/syz-executor165645079" 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: unable to handle kernel NULL pointer dereference at 0000000000000000 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 PGD 7bef1067 Read of size 1 at addr 0000000000000000 by task syz-executor165/7882 P4D 7bef1067 PUD a1155067 CPU: 1 PID: 7882 Comm: syz-executor165 Not tainted 4.19.80 #0 PMD 0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: Oops: 0000 [#1] PREEMPT SMP KASAN __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 CPU: 0 PID: 7883 Comm: syz-executor165 Not tainted 4.19.80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x123/0x190 mm/kasan/kasan.c:267 Code: 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe memcpy+0x24/0x50 mm/kasan/kasan.c:302 RSP: 0018:ffff88808e397d50 EFLAGS: 00010246 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 RAX: ffff88808e397e12 RBX: ffff88808e397e00 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88808e397e12 RBP: ffff88808e397d70 R08: 1ffff11011c72fc2 R09: ffffed1011c72fc3 R10: ffffed1011c72fc2 R11: ffff88808e397e12 R12: 0000000000000001 R13: ffff88808e397e12 R14: 0000000000000000 R15: ffffffff87fbf4a0 FS: 0000000001f95940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 __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 CR2: 0000000000000000 CR3: 000000009985d000 CR4: 00000000001406f0 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x49/0xbe DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RIP: 0033:0x441789 Call Trace: Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffeaec00be8 EFLAGS: 00000246 memcpy include/linux/string.h:348 [inline] llcp_sock_getname+0x358/0x460 net/nfc/llcp_sock.c:531 ORIG_RAX: 0000000000000034 __sys_getpeername+0x12b/0x290 net/socket.c:1735 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441789 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000402590 R09: 0000000000402590 R10: 0000000000402590 R11: 0000000000000246 R12: 0000000000402500 R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000 ================================================================== __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:0x441789 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffeaec00be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441789 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000402590 R09: 0000000000402590 R10: 0000000000402590 R11: 0000000000000246 R12: 0000000000402500 R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 79dfd067 P4D 79dfd067 PUD 8fe7d067 PMD 0 Oops: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 7885 Comm: syz-executor165 Tainted: G B D 4.19.80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Code: 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe RSP: 0018:ffff88808d7dfd50 EFLAGS: 00010246 RAX: ffff88808d7dfe12 RBX: ffff88808d7dfe00 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88808d7dfe12 RBP: ffff88808d7dfd70 R08: 1ffff11011afbfc2 R09: ffffed1011afbfc3 R10: ffffed1011afbfc2 R11: ffff88808d7dfe12 R12: 0000000000000001 R13: ffff88808d7dfe12 R14: 0000000000000000 R15: ffffffff87fbf4a0 FS: 0000000001f95940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a50a9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:0x441789 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffeaec00be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441789 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000402590 R09: 0000000000402590 R10: 0000000000402590 R11: 0000000000000246 R12: 0000000000402500 R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 ---[ end trace 2fe4cf11cba1849a ]--- PGD 8200b067 P4D 8200b067 PUD 93690067 PMD 0 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Oops: 0000 [#3] PREEMPT SMP KASAN CPU: 0 PID: 7887 Comm: syz-executor165 Tainted: G B D 4.19.80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Code: 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe Code: 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe RSP: 0018:ffff888090dd7d50 EFLAGS: 00010246 RAX: ffff888090dd7e12 RBX: ffff888090dd7e00 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888090dd7e12