SELinux: policydb string SE LinuΠdoes not match my string SE Linux SELinux: failed to load policy WARNING: can't dereference registers at 000000008ea09452 for ip apic_timer_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:792 ================================================================== BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x169f/0x1810 arch/x86/kernel/unwind_orc.c:470 Read of size 8 at addr ffff88819deef5c0 by task syz-executor.1/9668 CPU: 0 PID: 9668 Comm: syz-executor.1 Not tainted 4.14.149+ #0 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 unwind_next_frame+0x169f/0x1810 arch/x86/kernel/unwind_orc.c:470 perf_callchain_kernel+0x3a0/0x540 arch/x86/events/core.c:2338 get_perf_callchain+0x2f5/0x770 kernel/events/callchain.c:217 perf_callchain+0x147/0x190 kernel/events/callchain.c:190 perf_prepare_sample+0x6a8/0x1360 kernel/events/core.c:6148 __perf_event_output kernel/events/core.c:6264 [inline] perf_event_output_forward+0xdc/0x220 kernel/events/core.c:6282 __perf_event_overflow+0x12d/0x340 kernel/events/core.c:7520 perf_swevent_overflow+0x7a/0xf0 kernel/events/core.c:7596 perf_swevent_event+0x19c/0x270 kernel/events/core.c:7629 perf_tp_event+0x633/0x7f0 kernel/events/core.c:8058 perf_trace_run_bpf_submit kernel/events/core.c:8028 [inline] perf_trace_run_bpf_submit+0x113/0x170 kernel/events/core.c:8014 perf_trace_lock_acquire+0x341/0x4e0 include/trace/events/lock.h:13 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x279/0x360 kernel/locking/lockdep.c:3993 fs_reclaim_acquire.part.0+0x20/0x30 mm/page_alloc.c:3627 slab_pre_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2712 [inline] slab_alloc mm/slub.c:2800 [inline] kmem_cache_alloc_trace+0x2b/0x3b0 mm/slub.c:2817 hashtab_create+0x4a/0x200 include/linux/slab.h:488 symtab_init+0x28/0xb0 security/selinux/ss/symtab.c:38 policydb_init security/selinux/ss/policydb.c:290 [inline] policydb_read+0x11e/0x2290 security/selinux/ss/policydb.c:2307 security_load_policy+0x230/0x960 security/selinux/ss/services.c:2106 sel_write_load+0x1e3/0xfb0 security/selinux/selinuxfs.c:503 __vfs_write+0xf9/0x5a0 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:546 SYSC_write fs/read_write.c:594 [inline] SyS_write+0x102/0x250 fs/read_write.c:586 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a59 RSP: 002b:00007fbbb61e4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a59 RDX: 0000000000000038 RSI: 00000000200001c0 RDI: 000000000000000c RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbbb61e56d4 R13: 00000000004c9f83 R14: 00000000004e1c10 R15: 00000000ffffffff The buggy address belongs to the page: page:ffffea000677bbc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000000() raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 ffffea000677bbe0 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88819deef480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88819deef500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 >ffff88819deef580: f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00 00 00 00 00 ^ ffff88819deef600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88819deef680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================