syzbot


KASAN: slab-use-after-free Read in nr_rt_ioctl

Status: upstream: reported C repro on 2026/01/15 20:27
Subsystems: hams
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+df52f4216bf7b4d768e7@syzkaller.appspotmail.com
First crash: 544d, last: 74d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
✨ AI Jobs (6)
ID Workflow Result Correct Bug Created Started Finished Revision Error
f7b4d83b-71a5-41d3-a91c-f9ecc379a015 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/06/22 01:40 2026/06/22 01:40 2026/06/22 02:31 43bfcdb07c3552e4664e1029672054ac0924d543

			
		
6bd1357c-5cfc-4acf-b788-20265cf232d4 assessment-security 💥 KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/06/14 01:39 2026/06/14 01:39 2026/06/14 01:42 4f06757f683a802254a4c8edbfe67ff801904c5e
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/049e2d96fcf85dab7d...
truncated to first 200 bytes; open job for full error
d852ad13-e8cd-435f-a498-d5e218533043 assessment-security 💥 KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/06/09 16:53 2026/06/09 16:53 2026/06/09 16:54 c36c07f6c1f2230a36374cbd22235f635e8f9284
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/049e2d96fcf85dab7d...
truncated to first 200 bytes; open job for full error
5de57321-703e-44fc-a9f5-f5a6283a0269 assessment-security 💥 KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/06/02 11:25 2026/06/02 11:25 2026/06/02 11:28 1095583bae1d2729a3b4be301cb6ddc85ced9e38
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/049e2d96fcf85dab7d...
truncated to first 200 bytes; open job for full error
d7ce1048-fa51-4e1b-8423-6a4b27ac8711 assessment-security 💥 KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/05/24 14:15 2026/05/24 14:15 2026/05/24 14:18 c69befb30ac10e158cc9d1557b508ee3f0eca1de
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/049e2d96fcf85dab7d...
truncated to first 200 bytes; open job for full error
eef82bca-9a3a-42d9-8540-9dfafeb18fcc patching KASAN: slab-use-after-free Read in nr_rt_ioctl 2026/01/28 22:41 2026/01/28 22:41 2026/01/28 23:11 8b9a9d26e29b1ad3f31314a827f60be8df01c223

			
		
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] Monthly hams report (Apr 2026) 0 (1) 2026/04/29 20:32
[syzbot] Monthly hams report (Mar 2026) 0 (1) 2026/03/31 08:06
[syzbot] Monthly hams report (Feb 2026) 0 (1) 2026/02/26 12:58
[syzbot] [hams?] KASAN: slab-use-after-free Read in nr_rt_ioctl 3 (6) 2026/01/18 13:23
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 KASAN: use-after-free Read in nr_rt_ioctl origin:upstream missing-backport 19 C error 4 61d 551d 0/3 upstream: reported C repro on 2025/01/03 08:20
Last patch testing requests (16)
Created Duration User Patch Repo Result
2026/07/07 10:25 32m retest repro net log
2026/07/07 10:25 1h57m retest repro net log
2026/07/07 10:25 1h18m retest repro net log
2026/07/07 10:25 49m retest repro net log
2026/07/04 10:12 32m retest repro upstream OK log
2026/06/20 05:07 25m retest repro upstream OK log
2026/06/20 05:07 25m retest repro upstream OK log
2026/06/20 04:13 23m retest repro upstream OK log
2026/06/06 08:46 1h00m retest repro net log
2026/06/06 08:46 44m retest repro net log
2026/01/18 13:23 1h01m activprithvi@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git be548645527a131a097fdc884b7fca40c8b86231 OK log
2026/01/17 06:53 1h31m activprithvi@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git be548645527a131a097fdc884b7fca40c8b86231 OK log
2026/01/02 13:49 23m dvyukov@google.com patch upstream report log
2025/09/29 08:00 24m edumazet@google.com patch upstream report log
2025/04/14 03:52 18m edumazet@google.com upstream report log
2025/02/19 13:09 54m edumazet@google.com upstream error

Sample crash report:
==================================================================
BUG: KASAN: slab-use-after-free in nr_dec_obs net/netrom/nr_route.c:471 [inline]
BUG: KASAN: slab-use-after-free in nr_rt_ioctl+0x594/0xd50 net/netrom/nr_route.c:692
Read of size 2 at addr ffff888043f35832 by task syz.1.964/6676

CPU: 0 UID: 0 PID: 6676 Comm: syz.1.964 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0xca/0x240 mm/kasan/report.c:482
 kasan_report+0x118/0x150 mm/kasan/report.c:595
 nr_dec_obs net/netrom/nr_route.c:471 [inline]
 nr_rt_ioctl+0x594/0xd50 net/netrom/nr_route.c:692
 sock_do_ioctl+0xd9/0x300 net/socket.c:1238
 sock_ioctl+0x576/0x790 net/socket.c:1359
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4e90f8ebe9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed59105a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4e911c5fa0 RCX: 00007f4e90f8ebe9
RDX: 0000000000000000 RSI: 00000000000089e2 RDI: 0000000000000004
RBP: 00007f4e91011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4e911c5fa0 R14: 00007f4e911c5fa0 R15: 0000000000000002
 </TASK>

Allocated by task 6676:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:388 [inline]
 __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:405
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __kmalloc_cache_noprof+0x230/0x3d0 mm/slub.c:4396
 kmalloc_noprof include/linux/slab.h:905 [inline]
 nr_add_node+0x7f8/0x2570 net/netrom/nr_route.c:146
 nr_rt_ioctl+0xc12/0xd50 net/netrom/nr_route.c:651
 sock_do_ioctl+0xd9/0x300 net/socket.c:1238
 sock_ioctl+0x576/0x790 net/socket.c:1359
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 6676:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576
 poison_slab_object mm/kasan/common.c:243 [inline]
 __kasan_slab_free+0x5b/0x80 mm/kasan/common.c:275
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2417 [inline]
 slab_free mm/slub.c:4680 [inline]
 kfree+0x18e/0x440 mm/slub.c:4879
 nr_dec_obs net/netrom/nr_route.c:469 [inline]
 nr_rt_ioctl+0x2e7/0xd50 net/netrom/nr_route.c:692
 sock_do_ioctl+0xd9/0x300 net/socket.c:1238
 sock_ioctl+0x576/0x790 net/socket.c:1359
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888043f35800
 which belongs to the cache kmalloc-64 of size 64
The buggy address is located 50 bytes inside of
 freed 64-byte region [ffff888043f35800, ffff888043f35840)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x43f35
anon flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 04fff00000000000 ffff88801a4418c0 ffffea000108f9c0 dead000000000005
raw: 0000000000000000 0000000000200020 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x252800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_THISNODE), pid 5505, tgid 5505 (syz-executor), ts 125906482614, free_ts 123044815653
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
 prep_new_page mm/page_alloc.c:1859 [inline]
 get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858
 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
 alloc_slab_page mm/slub.c:2489 [inline]
 allocate_slab+0x65/0x370 mm/slub.c:2655
 new_slab mm/slub.c:2709 [inline]
 ___slab_alloc+0xbeb/0x1410 mm/slub.c:3891
 __slab_alloc mm/slub.c:3981 [inline]
 __slab_alloc_node mm/slub.c:4056 [inline]
 slab_alloc_node mm/slub.c:4217 [inline]
 __do_kmalloc_node mm/slub.c:4364 [inline]
 __kmalloc_node_noprof+0x2fd/0x4e0 mm/slub.c:4371
 kmalloc_array_node_noprof include/linux/slab.h:1020 [inline]
 alloc_slab_obj_exts mm/slub.c:2028 [inline]
 account_slab mm/slub.c:2614 [inline]
 allocate_slab+0x16a/0x370 mm/slub.c:2674
 new_slab mm/slub.c:2709 [inline]
 ___slab_alloc+0xbeb/0x1410 mm/slub.c:3891
 __slab_alloc mm/slub.c:3981 [inline]
 __slab_alloc_node mm/slub.c:4056 [inline]
 slab_alloc_node mm/slub.c:4217 [inline]
 __do_kmalloc_node mm/slub.c:4364 [inline]
 __kmalloc_noprof+0x305/0x4f0 mm/slub.c:4377
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 __register_sysctl_table+0x72/0x1340 fs/proc/proc_sysctl.c:1379
 __devinet_sysctl_register+0x37f/0x470 net/ipv4/devinet.c:2678
 devinet_sysctl_register+0x187/0x200 net/ipv4/devinet.c:2718
 inetdev_init+0x2b4/0x500 net/ipv4/devinet.c:291
 inetdev_event+0x301/0x15b0 net/ipv4/devinet.c:1591
 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85
 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline]
 call_netdevice_notifiers net/core/dev.c:2281 [inline]
 register_netdevice+0x1608/0x1ae0 net/core/dev.c:11244
page last free pid 5426 tgid 5426 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1395 [inline]
 __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895
 vfree+0x25a/0x400 mm/vmalloc.c:3434
 kcov_put kernel/kcov.c:439 [inline]
 kcov_close+0x28/0x50 kernel/kcov.c:535
 __fput+0x44c/0xa70 fs/file_table.c:468
 task_work_run+0x1d4/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x6b5/0x2300 kernel/exit.c:961
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102
 get_signal+0x1286/0x1340 kernel/signal.c:3034
 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888043f35700: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
 ffff888043f35780: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
>ffff888043f35800: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
                                     ^
 ffff888043f35880: 00 00 00 00 04 fc fc fc fc fc fc fc fc fc fc fc
 ffff888043f35900: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
==================================================================

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/02 17:28 upstream b320789d6883 96a211bc .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/08/24 04:27 upstream 8d245acc1e88 bf27483f .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/08/10 13:45 upstream 561c80369df0 32a0e5ed .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/10/08 07:56 net 943af6478807 7e2882b3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/09/28 16:46 net 012ea489aeda 001c9061 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/09/26 09:22 net 4ff71af020ae 0abd0691 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/09/25 06:41 net b7e32ae66642 0abd0691 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/09/20 11:27 net a35c04de2565 67c37560 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/04/30 08:20 net b936a9b8d4a5 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2026/01/07 23:14 net 653267321f05 d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/01/13 04:34 upstream be548645527a 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/01/09 23:14 upstream eea6e4b4dfb8 40f46913 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/12/26 09:08 upstream ccd1cdca5cd4 d1b870e1 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/10/19 08:49 upstream 1c64efcb083c 1c8c8cd8 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/10/10 22:19 upstream 917167ed1211 ff1712fe .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/10/10 07:26 upstream 5472d60c129f ff1712fe .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/10/04 06:10 upstream 2ccb4d203fe4 49379ee0 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/09/21 20:22 upstream f975f08c2e89 67c37560 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-use-after-free Read in nr_rt_ioctl
2026/03/14 02:08 net 99600f79b28c 351cb5cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/11/27 03:10 net-next ab084f0b8d6d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/11/16 22:08 net-next c9dfb92de073 f7988ea4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/11/16 19:36 net-next c9dfb92de073 f7988ea4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/11/15 01:27 net-next df58ee7d8faf f7988ea4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
2025/11/09 00:27 net-next a0c3aefb08cd 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in nr_rt_ioctl
* Struck through repros no longer work on HEAD.