SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy ============================= WARNING: suspicious RCU usage 4.14.151+ #0 Not tainted ----------------------------- syz-executor.3: ./include/linux/radix-tree.h:238 suspicious rcu_dereference_check() usage! vmalloc: allocation failure: 0 bytes other info that might help us debug this: , mode:0x14000c0(GFP_KERNEL), nodemask= rcu_scheduler_active = 2, debug_locks = 1 2 locks held by syz-executor.5/7804: #0: (&sb->s_type->i_mutex_key#10){+.+.}, at: [<00000000998b5dbd>] inode_lock include/linux/fs.h:724 [inline] #0: (&sb->s_type->i_mutex_key#10){+.+.}, at: [<00000000998b5dbd>] shmem_add_seals+0x12b/0xf80 mm/shmem.c:2831 #1: (null) (&(&mapping->tree_lock)->rlock){-.-.}, at: [<000000009de6b970>] spin_lock_irq include/linux/spinlock.h:342 [inline] (&(&mapping->tree_lock)->rlock){-.-.}, at: [<000000009de6b970>] shmem_tag_pins mm/shmem.c:2685 [inline] (&(&mapping->tree_lock)->rlock){-.-.}, at: [<000000009de6b970>] shmem_wait_for_pins mm/shmem.c:2726 [inline] (&(&mapping->tree_lock)->rlock){-.-.}, at: [<000000009de6b970>] shmem_add_seals+0x2e1/0xf80 mm/shmem.c:2843 stack backtrace: CPU: 1 PID: 7804 Comm: syz-executor.5 Not tainted 4.14.151+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 radix_tree_deref_slot include/linux/radix-tree.h:238 [inline] shmem_tag_pins mm/shmem.c:2687 [inline] shmem_wait_for_pins mm/shmem.c:2726 [inline] shmem_add_seals+0x9d2/0xf80 mm/shmem.c:2843 shmem_fcntl+0xea/0x120 mm/shmem.c:2878 do_fcntl+0x5c8/0xd20 fs/fcntl.c:421 SYSC_fcntl fs/fcntl.c:463 [inline] SyS_fcntl+0xc6/0x100 fs/fcntl.c:448 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a219 RSP: 002b:00007f35abea0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000048 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000009 RSI: 0000000000000409 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f35abea16d4 R13: 00000000004c0c3d R14: 00000000004d3820 R15: 00000000ffffffff CPU: 0 PID: 7798 Comm: syz-executor.3 Not tainted 4.14.151+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 warn_alloc.cold+0x91/0x1ab mm/page_alloc.c:3319 __vmalloc_node_range mm/vmalloc.c:1796 [inline] __vmalloc_node_range+0x3b5/0x6d0 mm/vmalloc.c:1756 __vmalloc_node mm/vmalloc.c:1825 [inline] __vmalloc_node_flags mm/vmalloc.c:1839 [inline] vmalloc+0x60/0x80 mm/vmalloc.c:1861 sel_write_load+0x199/0xfb0 security/selinux/selinuxfs.c:495 __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:0x45a219 RSP: 002b:00007f09a73d9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f09a73da6d4 R13: 00000000004cac50 R14: 00000000004e3180 R15: 00000000ffffffff warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: active_anon:113700 inactive_anon:173 isolated_anon:0 active_file:5770 inactive_file:11514 isolated_file:0 unevictable:0 dirty:134 writeback:0 unstable:0 slab_reclaimable:6483 slab_unreclaimable:59059 mapped:59196 shmem:195 pagetables:2782 bounce:0 free:1382047 free_pcp:431 free_cma:0 Node 0 active_anon:454900kB inactive_anon:692kB active_file:23080kB inactive_file:46056kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:236784kB dirty:536kB writeback:0kB shmem:780kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no DMA32 free:3011260kB min:4684kB low:7692kB high:10700kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3011996kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:736kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 3505 3505 Normal free:2516428kB min:5588kB low:9176kB high:12764kB active_anon:455200kB inactive_anon:692kB active_file:23080kB inactive_file:46056kB unevictable:0kB writepending:536kB present:4718592kB managed:3589224kB mlocked:0kB kernel_stack:6176kB pagetables:11128kB bounce:0kB free_pcp:820kB local_pcp:352kB free_cma:0kB lowmem_reserve[]: 0 0 0 DMA32: 5*4kB (UM) 3*8kB (M) 5*16kB (M) 2*32kB (UM) 4*64kB (UM) 4*128kB (UM) 5*256kB (UM) 1*512kB (M) 2*1024kB (UM) 4*2048kB (UM) 732*4096kB (M) = 3011260kB Normal: 109*4kB (UE) 107*8kB (UM) 51*16kB (UME) 53*32kB (UE) 12*64kB (UM) 94*128kB (UE) 48*256kB (UM) 28*512kB (UME) 13*1024kB (UM) 3*2048kB (UME) 599*4096kB (M) = 2516188kB 17471 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 315674 pages reserved syz-executor.1: vmalloc: allocation failure: 0 bytes, mode:0x14000c0(GFP_KERNEL), nodemask=(null) CPU: 0 PID: 7801 Comm: syz-executor.1 Not tainted 4.14.151+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 warn_alloc.cold+0x91/0x1ab mm/page_alloc.c:3319 __vmalloc_node_range mm/vmalloc.c:1796 [inline] __vmalloc_node_range+0x3b5/0x6d0 mm/vmalloc.c:1756 __vmalloc_node mm/vmalloc.c:1825 [inline] __vmalloc_node_flags mm/vmalloc.c:1839 [inline] vmalloc+0x60/0x80 mm/vmalloc.c:1861 sel_write_load+0x199/0xfb0 security/selinux/selinuxfs.c:495 __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:0x45a219 RSP: 002b:00007f0ed262fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0ed26306d4 R13: 00000000004cac50 R14: 00000000004e3180 R15: 00000000ffffffff SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: failed to load policy syz-executor.3: vmalloc: allocation failure: 0 bytes, mode:0x14000c0(GFP_KERNEL), nodemask=(null) CPU: 0 PID: 7839 Comm: syz-executor.3 Not tainted 4.14.151+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 warn_alloc.cold+0x91/0x1ab mm/page_alloc.c:3319 __vmalloc_node_range mm/vmalloc.c:1796 [inline] __vmalloc_node_range+0x3b5/0x6d0 mm/vmalloc.c:1756 __vmalloc_node mm/vmalloc.c:1825 [inline] __vmalloc_node_flags mm/vmalloc.c:1839 [inline] vmalloc+0x60/0x80 mm/vmalloc.c:1861 sel_write_load+0x199/0xfb0 security/selinux/selinuxfs.c:495 __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:0x45a219 RSP: 002b:00007f09a73d9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f09a73da6d4 R13: 00000000004cac50 R14: 00000000004e3180 R15: 00000000ffffffff IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: active_anon:114216 inactive_anon:174 isolated_anon:0 active_file:5771 inactive_file:11519 isolated_file:0 unevictable:0 dirty:143 writeback:0 unstable:0 slab_reclaimable:6483 slab_unreclaimable:58990 mapped:59196 shmem:179 pagetables:2817 bounce:0 free:1381500 free_pcp:407 free_cma:0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 Node 0 active_anon:456864kB inactive_anon:696kB active_file:23084kB inactive_file:46076kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:236784kB dirty:572kB writeback:0kB shmem:716kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 DMA32 free:3011260kB min:4684kB low:7692kB high:10700kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3011996kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:736kB local_pcp:736kB free_cma:0kB SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 lowmem_reserve[]: 0 3505 3505 Normal free:2514328kB min:5588kB low:9176kB high:12764kB active_anon:457176kB inactive_anon:692kB active_file:23084kB inactive_file:46096kB unevictable:0kB writepending:636kB present:4718592kB managed:3589224kB mlocked:0kB kernel_stack:6240kB pagetables:11336kB bounce:0kB free_pcp:780kB local_pcp:276kB free_cma:0kB SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7837 comm=syz-executor.5 lowmem_reserve[]: 0 0 0 DMA32: 5*4kB (UM) 3*8kB (M) 5*16kB (M) 2*32kB (UM) 4*64kB (UM) 4*128kB (UM) 5*256kB (UM) 1*512kB (M) 2*1024kB (UM) 4*2048kB (UM) 732*4096kB (M) = 3011260kB Normal: 86*4kB (UME) 109*8kB (U) 51*16kB (UME) 53*32kB (UME) 15*64kB (UM) 95*128kB (UE) 47*256kB (U) 27*512kB (UME) 12*1024kB (U) 3*2048kB (UME) 599*4096kB (M) = 2514640kB 17466 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 315674 pages reserved SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: failed to load policy SELinux: policydb magic number 0x78ba71cf does not match expected magic number 0xf97cff8c SELinux: failed to load policy