syzbot


KASAN: null-ptr-deref Write in dst_release (2)

Status: closed as invalid on 2021/12/14 20:12
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 602d, last: 352d

Cause bisection: failed (bisect log)
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: null-ptr-deref Write in dst_release 27 1259d 1421d 0/24 auto-closed as invalid on 2019/10/25 08:50
upstream KASAN: null-ptr-deref Write in dst_release (3) 2 347d 347d 22/24 fixed on 2022/03/08 16:11
upstream KASAN: user-memory-access Write in dst_release 18 1263d 1421d 0/24 auto-closed as invalid on 2019/10/25 08:49
upstream BUG: unable to handle kernel paging request in dst_release (2) 2 1265d 1343d 0/24 closed as invalid on 2019/10/04 04:23
upstream BUG: unable to handle kernel paging request in dst_release 113 1776d 1781d 4/24 fixed on 2018/01/22 13:19

Sample crash report:
==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
BUG: KASAN: null-ptr-deref in atomic_dec_return include/asm-generic/atomic-instrumented.h:251 [inline]
BUG: KASAN: null-ptr-deref in dst_release net/core/dst.c:174 [inline]
BUG: KASAN: null-ptr-deref in dst_release+0x26/0xe0 net/core/dst.c:169
Write of size 4 at addr 0000000000000041 by task syz-executor.5/9968

CPU: 0 PID: 9968 Comm: syz-executor.5 Not tainted 5.14.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105
 __kasan_report mm/kasan/report.c:423 [inline]
 kasan_report.cold+0x66/0xdf mm/kasan/report.c:436
 check_region_inline mm/kasan/generic.c:183 [inline]
 kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189
 instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
 atomic_dec_return include/asm-generic/atomic-instrumented.h:251 [inline]
 dst_release net/core/dst.c:174 [inline]
 dst_release+0x26/0xe0 net/core/dst.c:169
 dst_cache_destroy net/core/dst_cache.c:160 [inline]
 dst_cache_destroy+0xcb/0x190 net/core/dst_cache.c:152
 ipip6_dev_free net/ipv6/sit.c:1412 [inline]
 sit_init_net+0x7d8/0xaa0 net/ipv6/sit.c:1934
 ops_init+0xaf/0x470 net/core/net_namespace.c:140
 setup_net+0x40f/0xa30 net/core/net_namespace.c:333
 copy_net_ns+0x319/0x760 net/core/net_namespace.c:474
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x391/0x450 kernel/nsproxy.c:178
 copy_process+0x2cfc/0x74d0 kernel/fork.c:2122
 kernel_clone+0xe7/0xac0 kernel/fork.c:2509
 __do_sys_clone+0xc8/0x110 kernel/fork.c:2626
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665e9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa028685188 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000004412c500
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038
R13: 00007ffe0c1d52ef R14: 00007fa028685300 R15: 0000000000022000
==================================================================

Crashes (148):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/07/29 05:33 upstream 4010a528219e 9a4781d4 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-smack-root 2021/07/27 19:41 upstream ff1176468d36 fd511809 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/07/01 19:31 upstream dbe69e433722 658ebc66 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-selinux-root 2021/05/24 03:24 upstream 6ebb6814a1ef 3c7fef33 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/09/21 10:18 net 36747c96ed49 af796c18 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/08/15 21:03 linux-next 4b358aabb93a 2489ab88 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/06/25 07:52 linux-next a1f92694393a 0edbbe31 .config log report syz KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-selinux-root 2021/08/18 17:56 upstream 614cb2751d31 a2fe1cb5 .config log report syz BUG: unable to handle kernel paging request in dst_release
ci-upstream-kasan-gce 2021/06/11 03:03 upstream f09eacca59d2 1ba81399 .config log report syz BUG: unable to handle kernel paging request in dst_release
ci-upstream-kasan-gce-root 2021/06/03 00:50 upstream 231bc5390667 0740de69 .config log report syz BUG: unable to handle kernel paging request in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/08/20 02:20 linux-next 33e65b1f975c b599f2fc .config log report syz KASAN: user-memory-access Write in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/06/25 00:05 linux-next a1f92694393a 0edbbe31 .config log report syz KASAN: user-memory-access Write in dst_release
ci-upstream-kasan-gce-root 2021/12/07 17:39 upstream cd8c917a56f2 0230ba3e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce 2021/12/07 16:02 upstream cd8c917a56f2 0230ba3e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce 2021/12/06 18:08 upstream 0fcfb00b28c0 579a8754 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-smack-root 2021/11/21 10:49 upstream 923dcc5eb0c1 4eb20a4e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/11/16 05:48 upstream 8ab774587903 83f5c9b5 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-selinux-root 2021/10/27 18:40 upstream 1fc596a56b33 373bf66b .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/10/24 23:07 upstream 6c62666d8879 282f03fb .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-smack-root 2021/10/18 03:13 upstream d999ade1cc86 0c5d9412 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/10/10 16:30 upstream 7fd2bf83d59a 838e7e2c .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/10/10 00:36 upstream 717478d89fe2 838e7e2c .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/12/01 22:29 net 3968e3cafafb 61f86278 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/11/28 18:54 net c5c17547b778 63eeac02 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/11/26 08:04 net 49573ff7830b 63eeac02 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/10/14 18:30 net cbcc5072c228 5462d470 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/09/30 15:33 net d88fd1b546ff be530f6c .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-this-kasan-gce 2021/09/22 02:36 net b3f98404bd62 169724fe .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-bpf-kasan-gce 2021/07/05 02:56 bpf 0fc4dcc13f09 55aa55c2 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/12/04 04:46 net-next bb14bfc7eb92 a617004c .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/12/02 21:20 net-next ce8299b6f76f 61f86278 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/11/25 07:43 net-next d156250018ab 545ab074 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-bpf-next-kasan-gce 2021/11/20 20:37 bpf-next 8cccee9e91e1 4eb20a4e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/11/06 09:59 net-next cc0356d6a02e 4c1be0be .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/30 11:54 net-next 28131d896d6d 098b5d53 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/27 14:35 net-next c230dc8627de 373bf66b .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/27 13:07 net-next 06338ceff925 373bf66b .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/26 22:01 net-next 36d935a0a67e d50eb50a .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/26 20:21 net-next 36d935a0a67e d50eb50a .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/17 07:17 net-next 4e6e167bc049 0c5d9412 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/14 19:59 net-next 201f1a2d77f6 7aa5fe41 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/10/10 06:33 net-next 7932d53162dc 838e7e2c .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/09/26 13:52 net-next d59bdda85eb7 8cac236e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/09/26 05:15 net-next 24aa160d5375 8cac236e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/09/23 21:08 net-next 68a81bb2eebd 8cac236e .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/09/19 21:47 net-next 9eb7b5e7cb50 70b76c1d .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/09/19 18:30 net-next 9eb7b5e7cb50 70b76c1d .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-net-kasan-gce 2021/04/05 11:44 net-next 7d42e84eb99d 6a81331a .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/11/18 12:14 linux-next 5191249f8803 cafff8b6 .config log report info KASAN: null-ptr-deref Write in dst_release
ci-upstream-kasan-gce-root 2021/12/09 14:10 upstream 2a987e65025e b54aa474 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-kasan-gce-smack-root 2021/12/01 23:34 upstream 58e1100fdc59 61f86278 .config log report info BUG: unable to handle kernel paging request in dst_release
ci-upstream-kasan-gce-root 2021/11/23 04:29 upstream 136057256686 545ab074 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-kasan-gce 2021/11/20 15:06 upstream a90af8f15bdc 4eb20a4e .config log report info BUG: unable to handle kernel paging request in dst_release
ci-upstream-kasan-gce-smack-root 2021/10/23 23:32 upstream 9c0c4d24ac00 282f03fb .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-kasan-gce-root 2021/10/16 20:56 upstream 304040fb4909 0c5d9412 .config log report info BUG: unable to handle kernel paging request in dst_release
ci-upstream-kasan-gce-386 2021/08/16 03:57 upstream 7c60610d4767 2489ab88 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-this-kasan-gce 2021/12/11 12:50 net ab443c539167 49ca1f59 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-this-kasan-gce 2021/11/02 04:08 net 6b278c0cb378 098b5d53 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-this-kasan-gce 2021/10/31 19:59 net 6de6e46d27ef 098b5d53 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-this-kasan-gce 2021/10/22 08:30 net 397430b50a36 55f90bc6 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-this-kasan-gce 2021/10/17 12:55 net fac3cb82a54a 0c5d9412 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/12/04 12:33 net-next bb14bfc7eb92 a617004c .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/12/02 22:29 net-next ce8299b6f76f 61f86278 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/12/02 12:43 net-next ce8299b6f76f 61f86278 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/11/23 14:42 net-next 3b0e04140bc3 545ab074 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/11/23 08:58 net-next 3b0e04140bc3 545ab074 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/10/31 18:14 net-next ae0393500e3b 098b5d53 .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/10/30 16:26 net-next 28131d896d6d 098b5d53 .config log report info BUG: unable to handle kernel paging request in dst_release
ci-upstream-net-kasan-gce 2021/09/26 07:20 net-next 24aa160d5375 8cac236e .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/09/25 16:10 net-next 24aa160d5375 8cac236e .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/09/24 02:31 net-next 68a81bb2eebd 8cac236e .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/09/19 09:40 net-next 983e59a27b92 70b76c1d .config log report info KASAN: user-memory-access Write in dst_release
ci-upstream-net-kasan-gce 2021/08/20 03:41 net-next 5c8a2bb48159 b599f2fc .config log report info KASAN: wild-memory-access Write in dst_release
ci-upstream-linux-next-kasan-gce-root 2021/12/03 09:08 linux-next f81e94e91878 61f86278 .config log report info BUG: unable to handle kernel paging request in dst_release
* Struck through repros no longer work on HEAD.