------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 4841 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 4841 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 3b 53 e8 09 31 ff 89 de e8 fd e7 aa fd 84 db 75 e0 e8 44 e1 aa fd 48 c7 c7 a0 e8 c1 89 c6 05 1b 53 e8 09 01 e8 0e d8 fa 04 <0f> 0b eb c4 e8 28 e1 aa fd 0f b6 1d 0a 53 e8 09 31 ff 89 de e8 c8 RSP: 0018:ffffc90000007e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801240d4c0 RSI: ffffffff815c4d85 RDI: fffff52000000fb4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdb1e R11: 0000000000000000 R12: ffff88805e836000 R13: ffff88805e836568 R14: ffff88802f81dde0 R15: 0000000000000000 FS: 00007f31a81a38c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a53ad CR3: 0000000014180000 CR4: 00000000001506f0 DR0: 0000000000008000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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+0xf3/0x550 security/tomoyo/util.c:1054 Code: 02 00 0f 85 10 04 00 00 48 8b 44 24 08 45 31 ed 48 8b 68 10 48 3b 2c 24 0f 84 f4 00 00 00 49 be 00 00 00 00 00 fc ff df eb 5f f8 c0 e0 fd 48 89 e8 48 89 ee 48 c1 e8 03 83 e6 07 42 0f b6 0c RSP: 0018:ffffc9000160f910 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff88801240d4c0 RDX: 0000000000000000 RSI: ffff88801240d4c0 RDI: 0000000000000003 RBP: ffff888140da6780 R08: 0000000000000000 R09: 0000000000000010 R10: ffffffff8393331a R11: 0000000000000010 R12: 0000000000000002 R13: 0000000000000371 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:0x7f31a70152e2 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:00007fff622a4058 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00007f31a72d0440 RCX: 00007f31a70152e2 RDX: 00007fff622a4060 RSI: 00007fff622a4060 RDI: 000000000000000e RBP: 0000555e21a5dae0 R08: 0000000000000b40 R09: 0000555e21a5c130 R10: 0000555e21a5dae0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000001000 R14: 0000555e21a5c130 R15: 00007fff622a4320