audit: type=1400 audit(2000000306.590:50969): avc: denied { map } for pid=28921 comm="blkid" path="/lib/x86_64-linux-gnu/libblkid.so.1.1.0" dev="sda1" ino=2825 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 audit: type=1400 audit(2000000306.590:50970): avc: denied { map } for pid=28919 comm="blkid" path="/lib/x86_64-linux-gnu/libblkid.so.1.1.0" dev="sda1" ino=2825 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 ================================================================== BUG: KASAN: use-after-free in ext4_data_block_valid+0x279/0x2d0 fs/ext4/block_validity.c:211 Read of size 8 at addr ffff8881d5febbb0 by task modprobe/28944 CPU: 1 PID: 28944 Comm: modprobe Not tainted 4.14.94+ #10 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 print_address_description+0x60/0x226 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x88/0x2a5 mm/kasan/report.c:393 audit: type=1400 audit(2000000306.590:50971): avc: denied { map } for pid=28926 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(2000000306.590:50972): avc: denied { map } for pid=28926 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(2000000306.600:50973): avc: denied { map } for pid=28925 comm="modprobe" path="/etc/ld.so.cache" dev="sda1" ino=2503 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex Allocated by task 1: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc.part.0+0x4f/0xd0 mm/kasan/kasan.c:551 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc_node mm/slub.c:2723 [inline] slab_alloc mm/slub.c:2731 [inline] kmem_cache_alloc+0xd2/0x2d0 mm/slub.c:2736 add_system_zone+0x29b/0x530 fs/ext4/block_validity.c:85 ext4_setup_system_zone+0x2e2/0x470 fs/ext4/block_validity.c:169 Freed by task 28936: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xb0/0x190 mm/kasan/kasan.c:524 slab_free_hook mm/slub.c:1389 [inline] slab_free_freelist_hook mm/slub.c:1410 [inline] slab_free mm/slub.c:2966 [inline] kmem_cache_free+0xc4/0x330 mm/slub.c:2988 ext4_release_system_zone+0x68/0xe0 fs/ext4/block_validity.c:187 ext4_setup_system_zone+0x3a3/0x470 fs/ext4/block_validity.c:151 ext4_remount+0xf14/0x1d30 fs/ext4/super.c:5292 audit: type=1400 audit(2000000306.620:50974): avc: denied { map } for pid=28919 comm="blkid" path="/lib/x86_64-linux-gnu/libc-2.13.so" dev="sda1" ino=2784 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 do_remount_sb2+0x35a/0x5e0 fs/super.c:878 do_remount fs/namespace.c:2388 [inline] do_mount+0x1305/0x26a0 fs/namespace.c:2894 SYSC_mount fs/namespace.c:3119 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3096 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 The buggy address belongs to the object at ffff8881d5febb98 which belongs to the cache ext4_system_zone of size 40 The buggy address is located 24 bytes inside of 40-byte region [ffff8881d5febb98, ffff8881d5febbc0) The buggy address belongs to the page: page:ffffea000757fac0 count:1 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000100(slab) raw: 4000000000000100 0000000000000000 0000000000000000 0000000180490049 raw: dead000000000100 dead000000000200 ffff8881d9020200 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881d5feba80: fb fb fb fb fb fc fc fb fb fb fb fb fc fc fb fb EXT4-fs (sda1): re-mounted. Opts: noblock_validity, ffff8881d5febb00: fb fb fb fc fc fb fb fb fb fb fc fc fb fb fb fb >ffff8881d5febb80: fb fc fc fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ffff8881d5febc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881d5febc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================