[v5.15] WARNING in cfg802154_switch_netns

4 views
Skip to first unread message

syzbot

unread,
Feb 10, 2025, 5:37:30 AM2/10/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c16c81c81336 Linux 5.15.178
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1604ebdf980000
kernel config: https://syzkaller.appspot.com/x/.config?x=3ca28fba9b2e5c5
dashboard link: https://syzkaller.appspot.com/bug?extid=fc92a0b1437d576a483d
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3f2947e5e4dc/disk-c16c81c8.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7034800fdaa8/vmlinux-c16c81c8.xz
kernel image: https://storage.googleapis.com/syzbot-assets/42337be7c213/Image-c16c81c8.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fc92a0...@syzkaller.appspotmail.com

el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4167 at net/ieee802154/core.c:236 cfg802154_switch_netns+0x360/0x368
Modules linked in:
CPU: 0 PID: 4167 Comm: syz.3.15 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : cfg802154_switch_netns+0x360/0x368
lr : cfg802154_switch_netns+0x35c/0x368 net/ieee802154/core.c:236
sp : ffff800020697190
x29: ffff800020697190 x28: ffff0000cf0003f4 x27: ffff8000206972a0
x26: dfff800000000000 x25: 1ffff000040d2e80 x24: ffff800020697400
x23: ffff0000ce3da078 x22: 0000000000000000 x21: ffff0000d38bb500
x20: ffff0000cd261900 x19: 00000000fffffff4 x18: 0000000000000001
x17: 0000000000000000 x16: ffff8000084c44a8 x15: 00000000ffffffff
x14: ffff0000c7f69b40 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c7f69b40
x8 : ffff80001182b138 x7 : 0000000000000000 x6 : 0000000000000001
x5 : ffff8000206965b8 x4 : 0000000000000100 x3 : ffff80000abf8110
x2 : 0000000000000001 x1 : 00000000fffffff4 x0 : 0000000000000000
Call trace:
cfg802154_switch_netns+0x360/0x368
nl802154_wpan_phy_netns+0x130/0x238 net/ieee802154/nl802154.c:1278
genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
genl_rcv_msg+0xc18/0x1018 net/netlink/genetlink.c:792
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2489
genl_rcv+0x38/0x50 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1337
netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x584/0x870 net/socket.c:2436
___sys_sendmsg+0x214/0x294 net/socket.c:2490
__sys_sendmsg net/socket.c:2519 [inline]
__do_sys_sendmsg net/socket.c:2528 [inline]
__se_sys_sendmsg net/socket.c:2526 [inline]
__arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2526
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 1012
hardirqs last enabled at (1011): [<ffff800011b4c8b8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last enabled at (1011): [<ffff800011b4c8b8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (1012): [<ffff800011b49ab0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (994): [<ffff80000fefe258>] spin_unlock_bh include/linux/spinlock.h:408 [inline]
softirqs last enabled at (994): [<ffff80000fefe258>] release_sock+0x1e4/0x270 net/core/sock.c:3279
softirqs last disabled at (992): [<ffff80000fefe0b0>] spin_lock_bh include/linux/spinlock.h:368 [inline]
softirqs last disabled at (992): [<ffff80000fefe0b0>] release_sock+0x3c/0x270 net/core/sock.c:3266
---[ end trace b251b6fcc95bc93f ]---


---
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 syzk...@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

syzbot

unread,
Feb 10, 2025, 6:19:20 AM2/10/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: c16c81c81336 Linux 5.15.178
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1161d1b0580000
kernel config: https://syzkaller.appspot.com/x/.config?x=3ca28fba9b2e5c5
dashboard link: https://syzkaller.appspot.com/bug?extid=fc92a0b1437d576a483d
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13c3c2a4580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16e583f8580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3f2947e5e4dc/disk-c16c81c8.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7034800fdaa8/vmlinux-c16c81c8.xz
kernel image: https://storage.googleapis.com/syzbot-assets/42337be7c213/Image-c16c81c8.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fc92a0...@syzkaller.appspotmail.com

el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4020 at net/ieee802154/core.c:236 cfg802154_switch_netns+0x360/0x368
Modules linked in:
CPU: 1 PID: 4020 Comm: syz-executor652 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : cfg802154_switch_netns+0x360/0x368
lr : cfg802154_switch_netns+0x35c/0x368 net/ieee802154/core.c:236
sp : ffff80001fe47190
x29: ffff80001fe47190 x28: ffff0000cc081034 x27: ffff80001fe472a0
x26: dfff800000000000 x25: 1ffff00003fc8e80 x24: ffff80001fe47400
x23: ffff0000ce5ac078 x22: 0000000000000000 x21: ffff0000d98e0000
x20: ffff0000cb469600 x19: 00000000fffffff4 x18: 0000000000000001
x17: 0000000000000000 x16: ffff8000084c44a8 x15: 00000000ffffffff
x14: ffff0000db098000 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000db098000
x8 : ffff80001182b138 x7 : 0000000000000000 x6 : 0000000000000001
x5 : ffff80001fe465b8 x4 : 0000000000000100 x3 : ffff80000abf8110
irq event stamp: 24364
hardirqs last enabled at (24363): [<ffff800011b4c8b8>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last enabled at (24363): [<ffff800011b4c8b8>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (24364): [<ffff800011b49ab0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (24358): [<ffff8000081b6920>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (24358): [<ffff8000081b6920>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (24345): [<ffff8000081b6fb8>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (24345): [<ffff8000081b6fb8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (24345): [<ffff8000081b6fb8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (24345): [<ffff8000081b6fb8>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace 639703ddb2d681f4 ]---


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages