------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 4836 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 4836 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 6a 5a e8 09 31 ff 89 de e8 8d 1a ab fd 84 db 75 e0 e8 d4 13 ab fd 48 c7 c7 a0 e1 c1 89 c6 05 4a 5a e8 09 01 e8 2e 36 fb 04 <0f> 0b eb c4 e8 b8 13 ab fd 0f b6 1d 39 5a e8 09 31 ff 89 de e8 58 RSP: 0018:ffffc90000dc0e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801268b880 RSI: ffffffff815c51f5 RDI: fffff520001b81b4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdf8e R11: 0000000000000000 R12: ffff88802b1fc000 R13: ffff88802b1fc568 R14: ffff88801405f5e0 R15: 0000000000000000 FS: 00007f74d8e278c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000522850 CR3: 00000000184b9000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x300/0x550 security/tomoyo/util.c:1093 Code: 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 bc 01 00 00 00 31 db e8 8f f1 e0 fd 89 d9 44 89 e0 31 ff d3 f8 83 e0 01 41 89 c7 <89> c6 e8 29 f9 e0 fd 45 85 ff 74 09 e8 6f f1 e0 fd 41 83 c5 01 e8 RSP: 0018:ffffc90000e6f870 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000004 RDX: ffff88801268b880 RSI: ffffffff839304c1 RDI: 0000000000000000 RBP: ffff88801c85ea00 R08: 0000000000000000 R09: 0000000000000004 R10: ffffffff839304fa R11: 0000000000000010 R12: 0000000000000001 R13: 00000000000001d5 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_statx+0x164/0x390 fs/stat.c:199 vfs_fstatat fs/stat.c:217 [inline] vfs_lstat include/linux/fs.h:3240 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:372 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f74d7c99335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffca9d15c18 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000561dc8dbe380 RCX: 00007f74d7c99335 RDX: 00007ffca9d15c50 RSI: 00007ffca9d15c50 RDI: 0000561dc8dbd380 RBP: 00007ffca9d15d10 R08: 00007f74d7f581d8 R09: 0000000000001010 R10: 00007f74d7f57b58 R11: 0000000000000246 R12: 0000561dc8dbd380 R13: 0000561dc8dbd39a R14: 0000561dc8da4435 R15: 0000561dc8da443a