audit: type=1400 audit(1565257288.679:81416): avc: denied { map } for pid=21006 comm="blkid" path="/lib/x86_64-linux-gnu/libuuid.so.1.3.0" dev="sda1" ino=2819 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem ================================================================== BUG: KASAN: use-after-free in _copy_to_user+0x9d/0xd0 lib/usercopy.c:27 Read of size 943 at addr ffff888197fffff3 by task syz-executor.0/21000 CPU: 1 PID: 21000 Comm: syz-executor.0 Not tainted 4.14.137+ #29 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 print_address_description+0x60/0x226 mm/kasan/report.c:187 __kasan_report.cold+0x1a/0x41 mm/kasan/report.c:316 _copy_to_user+0x9d/0xd0 lib/usercopy.c:27 copy_to_user include/linux/uaccess.h:155 [inline] bpf_test_finish.isra.0+0xa7/0x160 net/bpf/test_run.c:59 bpf_prog_test_run_skb+0x528/0x8c0 net/bpf/test_run.c:144 bpf_prog_test_run kernel/bpf/syscall.c:1346 [inline] SYSC_bpf kernel/bpf/syscall.c:1618 [inline] SyS_bpf+0xa3b/0x3830 kernel/bpf/syscall.c:1563 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007f603e845c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000028 RSI: 00000000200000c0 RDI: 000000000000000a RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f603e8466d4 R13: 00000000004bfb92 R14: 00000000004d1778 R15: 00000000ffffffff The buggy address belongs to the page: page:ffffea00065fffc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000000() raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff raw: ffffea00065fffe0 ffffea00065fffe0 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888197fffe80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888197ffff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888197ffff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888198000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888198000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== audit: type=1400 audit(1565257288.769:81417): avc: denied { map } for pid=21010 comm="blkid" path="/lib/x86_64-linux-gnu/libuuid.so.1.3.0" dev="sda1" ino=2819 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(1565257288.779:81418): avc: denied { map } for pid=21010 comm="blkid" path="/lib/x86_64-linux-gnu/libuuid.so.1.3.0" dev="sda1" ino=2819 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(1565257288.849:81419): avc: denied { prog_load } for pid=20997 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1565257288.849:81420): avc: denied { prog_run } for pid=20997 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1565257289.239:81421): avc: denied { map } for pid=21021 comm="blkid" path="/sbin/blkid" dev="sda1" ino=16128 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(1565257289.239:81422): avc: denied { map } for pid=21021 comm="blkid" path="/sbin/blkid" dev="sda1" ino=16128 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(1565257289.249:81423): avc: denied { map } for pid=21021 comm="blkid" path="/lib/x86_64-linux-gnu/ld-2.13.so" dev="sda1" ino=2668 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1