===================================================== BUG: KMSAN: uninit-value in tomoyo_realpath_from_path+0x4e5/0xaf0 security/tomoyo/realpath.c:286 tomoyo_realpath_from_path+0x4e5/0xaf0 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x20f/0x950 security/tomoyo/file.c:723 tomoyo_file_ioctl+0x3b/0x50 security/tomoyo/tomoyo.c:336 security_file_ioctl+0x9d/0x150 security/security.c:1551 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl+0xcc/0x400 fs/ioctl.c:856 __x64_sys_ioctl+0x92/0xd0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Local variable entries created at: ref_tracker_alloc+0x57/0x6f0 lib/ref_tracker.c:71 __netdev_tracker_alloc include/linux/netdevice.h:3960 [inline] dev_hold_track include/linux/netdevice.h:3989 [inline] fib_check_nh_nongw net/ipv4/fib_semantics.c:1232 [inline] fib_check_nh+0xd95/0x1ce0 net/ipv4/fib_semantics.c:1252 CPU: 1 PID: 6079 Comm: syz-executor.2 Not tainted 5.19.0-rc8-syzkaller-32495-g3ea9edba19ef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 =====================================================