================================================================== BUG: KCSAN: data-race in icmp_global_allow / icmp_global_allow read to 0xffffffff861a9294 of 4 bytes by interrupt on cpu 1: icmp_global_allow+0x36/0x1b0 net/ipv4/icmp.c:254 icmpv6_global_allow net/ipv6/icmp.c:184 [inline] icmpv6_global_allow net/ipv6/icmp.c:179 [inline] icmp6_send+0x493/0x1140 net/ipv6/icmp.c:514 icmpv6_send+0x71/0xb0 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x43/0x180 net/ipv6/route.c:2640 dst_link_failure include/net/dst.h:419 [inline] ndisc_error_report+0x72/0x90 net/ipv6/ndisc.c:709 neigh_invalidate+0x1b2/0x320 net/core/neighbour.c:996 neigh_timer_handler+0x7cb/0x870 net/core/neighbour.c:1082 call_timer_fn+0x5f/0x2f0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0xc0c/0xcd0 kernel/time/timer.c:1786 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] kcsan_setup_watchpoint+0x205/0x410 kernel/kcsan/core.c:369 check_access kernel/kcsan/core.c:409 [inline] __tsan_read8+0x145/0x1f0 kernel/kcsan/core.c:530 ext4_get_group_desc+0xda/0x180 fs/ext4/balloc.c:291 recently_deleted fs/ext4/ialloc.c:678 [inline] find_inode_bit.isra.0+0x103/0x300 fs/ext4/ialloc.c:722 __ext4_new_inode+0xd10/0x2ec0 fs/ext4/ialloc.c:914 ext4_symlink+0x30e/0x970 fs/ext4/namei.c:3262 vfs_symlink fs/namei.c:4119 [inline] vfs_symlink+0x218/0x310 fs/namei.c:4105 do_symlinkat+0x1a5/0x1e0 fs/namei.c:4146 __do_sys_symlink fs/namei.c:4165 [inline] __se_sys_symlink fs/namei.c:4163 [inline] __x64_sys_symlink+0x3f/0x50 fs/namei.c:4163 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff861a9294 of 4 bytes by interrupt on cpu 0: icmp_global_allow+0x174/0x1b0 net/ipv4/icmp.c:272 icmpv6_global_allow net/ipv6/icmp.c:184 [inline] icmpv6_global_allow net/ipv6/icmp.c:179 [inline] icmp6_send+0x493/0x1140 net/ipv6/icmp.c:514 icmpv6_send+0x71/0xb0 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x43/0x180 net/ipv6/route.c:2640 dst_link_failure include/net/dst.h:419 [inline] ndisc_error_report+0x72/0x90 net/ipv6/ndisc.c:709 neigh_invalidate+0x1b2/0x320 net/core/neighbour.c:996 neigh_timer_handler+0x7cb/0x870 net/core/neighbour.c:1082 call_timer_fn+0x5f/0x2f0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0xc0c/0xcd0 kernel/time/timer.c:1786 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] kcsan_setup_watchpoint+0x205/0x410 kernel/kcsan/core.c:369 check_access kernel/kcsan/core.c:409 [inline] __tsan_unaligned_write4+0x143/0x1f0 kernel/kcsan/core.c:529 prepend+0x3a/0xb0 fs/d_path.c:13 d_absolute_path+0x80/0x110 fs/d_path.c:200 tomoyo_get_absolute_path security/tomoyo/realpath.c:100 [inline] tomoyo_realpath_from_path+0x210/0x4c0 security/tomoyo/realpath.c:304 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x201/0x320 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x20a/0x8f0 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3408 [inline] path_openat+0xf73/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5395 Comm: blkid Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================