------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 4846 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 4846 Comm: systemd-udevd Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Code: 1d 3e 55 e8 09 31 ff 89 de e8 bd e7 aa fd 84 db 75 e0 e8 04 e1 aa fd 48 c7 c7 a0 e8 c1 89 c6 05 1e 55 e8 09 01 e8 ce f7 fa 04 <0f> 0b eb c4 e8 e8 e0 aa fd 0f b6 1d 0d 55 e8 09 31 ff 89 de e8 88 RSP: 0018:ffffc90000007e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801af10000 RSI: ffffffff815c4d85 RDI: fffff52000000fb4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdb1e R11: 0000000000000000 R12: ffff88805fa9c000 R13: ffff88805fa9c568 R14: ffff88801285ade0 R15: 0000000000000000 FS: 00007fbb912988c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055baeaa05188 CR3: 0000000012431000 CR4: 00000000001506f0 DR0: 0000000000100000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __refcount_dec include/linux/refcount.h:344 [inline] refcount_dec include/linux/refcount.h:359 [inline] dev_put include/linux/netdevice.h:4135 [inline] in_dev_finish_destroy+0x172/0x1b0 net/ipv4/devinet.c:244 in_dev_put include/linux/inetdevice.h:265 [inline] in_dev_rcu_put+0x83/0xb0 net/ipv4/devinet.c:301 rcu_do_batch kernel/rcu/tree.c:2559 [inline] rcu_core+0x74a/0x12f0 kernel/rcu/tree.c:2794 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:tomoyo_domain_quota_is_ok+0x32f/0x550 security/tomoyo/util.c:1092 Code: e0 fd 45 85 ff 74 09 e8 9f be e0 fd 41 83 c5 01 e8 96 be e0 fd 8d 73 01 bf 10 00 00 00 83 c3 01 e8 36 c5 e0 fd 83 fb 10 75 bd bf fd ff ff 41 bc 01 00 00 00 eb 91 45 31 e4 eb a9 e8 6a be e0 RSP: 0018:ffffc9000162f910 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88801af10000 RDX: 0000000000000000 RSI: ffff88801af10000 RDI: 0000000000000003 RBP: ffff888011c4da00 R08: 0000000000000000 R09: 0000000000000010 R10: ffffffff8393335a R11: 0000000000000010 R12: 0000000000000020 R13: 0000000000000375 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1288 vfs_getattr fs/stat.c:131 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:156 __do_sys_newfstat+0x81/0x100 fs/stat.c:396 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fbb9010a2e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007ffc0ac1e798 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00007fbb903c5440 RCX: 00007fbb9010a2e2 RDX: 00007ffc0ac1e7a0 RSI: 00007ffc0ac1e7a0 RDI: 000000000000000e RBP: 000055baeaa0bb80 R08: 0000000000000b40 R09: 000055baeaa04170 R10: 000055baeaa0bb80 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000001000 R14: 000055baeaa04170 R15: 00007ffc0ac1ea60