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

Status: upstream: reported C repro on 2025/10/23 12:13
Subsystems: hams
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+caa052a0958a9146870d@syzkaller.appspotmail.com
First crash: 285d, last: 110d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
f83775cd assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ✅ PeripheralTrigger: ✅ RemoteTrigger: ✅ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ✅ VMHostTrigger: ❌ KASAN: slab-use-after-free Read in ax25_find_cb 2026/05/30 17:02 2026/05/30 17:02 2026/05/30 18:05 6b4a8443

			
		
1e40a5b7 assessment-security 💥 KASAN: slab-use-after-free Read in ax25_find_cb 2026/05/14 11:11 2026/05/14 11:11 2026/05/14 11:12 6ccb967e
failed to run ["git" "pull" "origin" "HEAD" "--depth=1" "--allow-unrelated-histories"]: exit status 128
From /app/workdir/repo/linux
 * branch                HEAD       -> FETCH_HEAD
Updating files:  ...
truncated to first 200 bytes; open job for full error
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] Monthly hams report (Feb 2026) 0 (1) 2026/02/26 12:58
[syzbot] Monthly hams report (Dec 2025) 0 (1) 2025/12/26 07:48
[syzbot] [hams?] KASAN: slab-use-after-free Read in ax25_find_cb 0 (2) 2025/12/09 10:34
[PATCH V3] net: rose: Prevent the use of freed digipeat 11 (11) 2025/10/28 02:05
[PATCH] net: rose: Prevent the use of freed digipeat 4 (4) 2025/10/24 23:58
[PATCH V2] net: rose: Prevent the use of freed digipeat 2 (2) 2025/10/24 09:19
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 KASAN: slab-use-after-free Read in ax25_find_cb origin:upstream missing-backport 19 syz, C inconclusive 1 48d 239d 0/2 upstream: reported C repro on 2025/12/08 04:33
linux-5.15 KASAN: use-after-free Read in ax25_find_cb (2) 19 41 145d 147d 0/3 auto-obsoleted due to no activity on 2026/05/21 01:11
linux-5.15 KASAN: use-after-free Read in ax25_find_cb 19 3 347d 377d 0/3 auto-obsoleted due to no activity on 2025/11/30 02:07
linux-6.1 KASAN: use-after-free Read in ax25_find_cb origin:upstream missing-backport 19 syz error 1 267d 267d 0/3 upstream: reported syz repro on 2025/11/09 13:50
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/08/02 14:51 9m retest repro linux-next error
2026/08/02 14:51 12m retest repro linux-next error
2026/08/02 14:51 12m retest repro linux-next error
2026/07/25 23:08 1h49m retest repro net log
2026/07/18 05:28 27m retest repro upstream OK log
2026/05/24 11:32 34m retest repro linux-next log
2026/05/24 11:32 33m retest repro linux-next log
2026/05/24 11:32 37m retest repro linux-next log
2026/05/09 05:00 18m retest repro upstream log
2026/05/01 22:04 1h14m retest repro linux-next OK log

Sample crash report:
==================================================================
BUG: KASAN: slab-use-after-free in ax25_find_cb+0x179/0x3a0 net/ax25/af_ax25.c:236
Read of size 8 at addr ffff888031313410 by task syz.3.1416/8909

CPU: 1 UID: 0 PID: 8909 Comm: syz.3.1416 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0xba/0x230 mm/kasan/report.c:482
 kasan_report+0x117/0x150 mm/kasan/report.c:595
 ax25_find_cb+0x179/0x3a0 net/ax25/af_ax25.c:236
 rose_link_up net/rose/rose_link.c:129 [inline]
 rose_transmit_link+0x17b/0xac0 net/rose/rose_link.c:271
 rose_write_internal+0x1256/0x1b60 net/rose/rose_subr.c:198
 rose_release+0x25b/0x510 net/rose/af_rose.c:671
 __sock_release net/socket.c:662 [inline]
 sock_close+0xc3/0x240 net/socket.c:1455
 __fput+0x44f/0xa70 fs/file_table.c:469
 task_work_run+0x1d9/0x270 kernel/task_work.c:233
 get_signal+0x11eb/0x1330 kernel/signal.c:2807
 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337
 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline]
 exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline]
 do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd3cf19bf79
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd3d012e028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: fffffffffffffe00 RBX: 00007fd3cf415fa0 RCX: 00007fd3cf19bf79
RDX: 0000000000000040 RSI: 0000200000000100 RDI: 0000000000000009
RBP: 00007fd3cf2327e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd3cf416038 R14: 00007fd3cf415fa0 R15: 00007ffea2f375b8
 </TASK>

Allocated by task 8936:
 kasan_save_stack mm/kasan/common.c:57 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415
 kasan_kmalloc include/linux/kasan.h:263 [inline]
 __kmalloc_cache_noprof+0x31c/0x660 mm/slub.c:5297
 kmalloc_noprof include/linux/slab.h:962 [inline]
 kzalloc_noprof include/linux/slab.h:1204 [inline]
 ax25_dev_device_up+0x54/0x5f0 net/ax25/ax25_dev.c:57
 ax25_device_event+0x127/0x8a0 net/ax25/af_ax25.c:143
 notifier_call_chain+0x19d/0x3a0 kernel/notifier.c:85
 call_netdevice_notifiers_extack net/core/dev.c:2280 [inline]
 call_netdevice_notifiers net/core/dev.c:2294 [inline]
 __dev_notify_flags+0x1a9/0x310 net/core/dev.c:9785
 netif_change_flags+0xe8/0x1a0 net/core/dev.c:9814
 dev_change_flags+0x130/0x260 net/core/dev_api.c:68
 dev_ioctl+0x7b4/0x1150 net/core/dev_ioctl.c:814
 sock_do_ioctl+0x23e/0x320 net/socket.c:1268
 sock_ioctl+0x5c6/0x7f0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 0:
 kasan_save_stack mm/kasan/common.c:57 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2670 [inline]
 __rcu_free_sheaf_prepare+0x129/0x290 mm/slub.c:2900
 rcu_free_sheaf+0x31/0x200 mm/slub.c:5728
 rcu_do_batch kernel/rcu/tree.c:2617 [inline]
 rcu_core+0x7cd/0x1070 kernel/rcu/tree.c:2869
 handle_softirqs+0x22a/0x7c0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888031313400
 which belongs to the cache kmalloc-256 of size 256
The buggy address is located 16 bytes inside of
 freed 256-byte region [ffff888031313400, ffff888031313500)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x31312
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88813fe9ab40 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88813fe9ab40 dead000000000100 dead000000000122
head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000001 ffffea0000c4c481 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 19624245221, free_ts 0
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x228/0x280 mm/page_alloc.c:1884
 prep_new_page mm/page_alloc.c:1892 [inline]
 get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3950
 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5245
 alloc_slab_page mm/slub.c:3238 [inline]
 allocate_slab+0x77/0x660 mm/slub.c:3411
 new_slab mm/slub.c:3469 [inline]
 refill_objects+0x331/0x3c0 mm/slub.c:7091
 refill_sheaf mm/slub.c:2787 [inline]
 __pcs_replace_empty_main+0x2b9/0x620 mm/slub.c:4536
 alloc_from_pcs mm/slub.c:4639 [inline]
 slab_alloc_node mm/slub.c:4773 [inline]
 __do_kmalloc_node mm/slub.c:5176 [inline]
 __kmalloc_node_track_caller_noprof+0x572/0x7b0 mm/slub.c:5285
 __do_krealloc mm/slub.c:6546 [inline]
 krealloc_node_align_noprof+0x1ae/0x390 mm/slub.c:6605
 add_sysfs_param+0xd4/0xb80 kernel/params.c:649
 kernel_add_sysfs_param+0x7f/0xe0 kernel/params.c:807
 param_sysfs_builtin+0x199/0x250 kernel/params.c:846
 param_sysfs_builtin_init+0x23/0x30 kernel/params.c:982
 do_one_initcall+0x250/0x840 init/main.c:1378
 do_initcall_level+0x104/0x190 init/main.c:1440
 do_initcalls+0x59/0xa0 init/main.c:1456
 kernel_init_freeable+0x2a6/0x3d0 init/main.c:1688
page_owner free stack trace missing

Memory state around the buggy address:
 ffff888031313300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888031313380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888031313400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                         ^
 ffff888031313480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888031313500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/14 04:41 net ee5492fd88cf 1e62d198 .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 ax25_find_cb
2026/01/12 07:57 linux-next f417b7ffcbef d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce KASAN: slab-use-after-free Read in ax25_find_cb
2026/01/11 03:44 linux-next f417b7ffcbef d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce KASAN: slab-use-after-free Read in ax25_find_cb
2025/12/09 10:34 linux-next c75caf76ed86 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce KASAN: slab-use-after-free Read in ax25_find_cb
2026/01/24 16:31 upstream 62085877ae65 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: slab-use-after-free Read in ax25_find_cb
2025/10/22 18:31 upstream 250a17e8f955 252fbbad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root KASAN: slab-use-after-free Read in ax25_find_cb
2026/02/08 14:56 upstream e7aa57247700 4c131dc4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: slab-use-after-free Read in ax25_find_cb
2026/04/16 07:17 net 1f5ffc672165 df15c5f3 .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 ax25_find_cb
2026/04/04 06:47 net 1979645e1842 4440e7c2 .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 ax25_find_cb
2026/01/27 06:23 net 8d7ba71e4621 efb3e894 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce KASAN: slab-use-after-free Read in ax25_find_cb
2026/03/01 08:41 net-next 01857fc712f6 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce KASAN: slab-use-after-free Read in ax25_find_cb
2026/03/22 04:52 linux-next 785f0eb2f85d 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root KASAN: slab-use-after-free Read in ax25_find_cb
2026/01/12 04:30 linux-next f417b7ffcbef d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root KASAN: slab-use-after-free Read in ax25_find_cb
2026/01/10 23:59 linux-next f417b7ffcbef d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root KASAN: slab-use-after-free Read in ax25_find_cb
* Struck through repros no longer work on HEAD.