[syzbot] [tipc?] KASAN: user-memory-access Write in tipc_crypto_stop
From: syzbot <hidden>
Date: 2025-06-10 08:02:36
Also in:
lkml
Hello, syzbot found the following issue on: HEAD commit: 0f70f5b08a47 Merge tag 'pull-automount' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=157dd00c580000 kernel config: https://syzkaller.appspot.com/x/.config?x=22765942f2e2ebcf dashboard link: https://syzkaller.appspot.com/bug?extid=2434dfff4223d77e8e1d compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/f091df6896fd/disk-0f70f5b0.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/978b2a8699d8/vmlinux-0f70f5b0.xz kernel image: https://storage.googleapis.com/syzbot-assets/b6e13557ddc0/bzImage-0f70f5b0.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2434dfff4223d77e8e1d@syzkaller.appspotmail.com ================================================================== BUG: KASAN: user-memory-access in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: user-memory-access in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] BUG: KASAN: user-memory-access in __refcount_sub_and_test include/linux/refcount.h:389 [inline] BUG: KASAN: user-memory-access in __refcount_dec_and_test include/linux/refcount.h:432 [inline] BUG: KASAN: user-memory-access in refcount_dec_and_test include/linux/refcount.h:450 [inline] BUG: KASAN: user-memory-access in tipc_aead_put net/tipc/crypto.c:398 [inline] BUG: KASAN: user-memory-access in tipc_crypto_stop+0x1fb/0x430 net/tipc/crypto.c:1536 Write of size 4 at addr 00000000ffff00c0 by task kworker/u8:0/12 CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted 6.15.0-syzkaller-09161-g0f70f5b08a47 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: netns cleanup_net Call Trace: <TASK> dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 kasan_report+0x118/0x150 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] __refcount_sub_and_test include/linux/refcount.h:389 [inline] __refcount_dec_and_test include/linux/refcount.h:432 [inline] refcount_dec_and_test include/linux/refcount.h:450 [inline] tipc_aead_put net/tipc/crypto.c:398 [inline] tipc_crypto_stop+0x1fb/0x430 net/tipc/crypto.c:1536 tipc_exit_net+0x7b/0x140 net/tipc/core.c:119 ops_exit_list net/core/net_namespace.c:200 [inline] ops_undo_list+0x49a/0x990 net/core/net_namespace.c:253 cleanup_net+0x4c5/0x8a0 net/core/net_namespace.c:686 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK> ================================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup