mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)
@ 2024-08-13 17:42 syzbot
  2024-08-13 19:52 ` Kuniyuki Iwashima
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2024-08-13 17:42 UTC (permalink / raw)
  To: alex.aring, davem, edumazet, kuba, linux-kernel, linux-wpan,
	miquel.raynal, netdev, pabeni, stefan, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    ee9a43b7cfe2 Merge tag 'net-6.11-rc3' of git://git.kernel...
git tree:       net
console output: https://syzkaller.appspot.com/x/log.txt?x=13da25d3980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=e8a2eef9745ade09
dashboard link: https://syzkaller.appspot.com/bug?extid=e0bd4e4815a910c0daa8
compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/9227adf96f75/disk-ee9a43b7.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/c65c46b78c57/vmlinux-ee9a43b7.xz
kernel image: https://storage.googleapis.com/syzbot-assets/467d374f18b9/bzImage-ee9a43b7.xz

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

RBP: 00007f2c78995090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f2c77d05f80 R15: 00007fff6de33538
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8054 at net/ieee802154/core.c:258 cfg802154_switch_netns+0x37f/0x390 net/ieee802154/core.c:258
Modules linked in:
CPU: 1 UID: 0 PID: 8054 Comm: syz.0.839 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:cfg802154_switch_netns+0x37f/0x390 net/ieee802154/core.c:258
Code: a3 2b f6 90 0f 0b 90 43 80 3c 3e 00 75 8d eb 93 e8 c6 a3 2b f6 e9 8b fe ff ff e8 bc a3 2b f6 e9 81 fe ff ff e8 b2 a3 2b f6 90 <0f> 0b 90 e9 73 fe ff ff 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90
RSP: 0018:ffffc9000337f408 EFLAGS: 00010293
RAX: ffffffff8b67d3ce RBX: 00000000fffffff4 RCX: ffff8880215f3c00
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffff88802324e198 R08: ffffffff8b67d23d R09: 1ffff11004649c3a
R10: dffffc0000000000 R11: ffffed1004649c3b R12: 0000000000000000
R13: 0000000000000000 R14: ffff88802324e078 R15: dffffc0000000000
FS:  00007f2c789956c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff818548d58 CR3: 000000007f648000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nl802154_wpan_phy_netns+0x13d/0x210 net/ieee802154/nl802154.c:1292
 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
 ___sys_sendmsg net/socket.c:2651 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2c77b779f9
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:00007f2c78995038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2c77d05f80 RCX: 00007f2c77b779f9
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 000000000000000e
RBP: 00007f2c78995090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f2c77d05f80 R15: 00007fff6de33538
 </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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)
  2024-08-13 17:42 [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2) syzbot
@ 2024-08-13 19:52 ` Kuniyuki Iwashima
  0 siblings, 0 replies; 3+ messages in thread
From: Kuniyuki Iwashima @ 2024-08-13 19:52 UTC (permalink / raw)
  To: syzbot+e0bd4e4815a910c0daa8
  Cc: alex.aring, davem, edumazet, kuba, linux-kernel, linux-wpan,
	miquel.raynal, netdev, pabeni, stefan, syzkaller-bugs, kuniyu

From: syzbot <syzbot+e0bd4e4815a910c0daa8@syzkaller.appspotmail.com>
Date: Tue, 13 Aug 2024 10:42:25 -0700
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    ee9a43b7cfe2 Merge tag 'net-6.11-rc3' of git://git.kernel...
> git tree:       net
> console output: https://syzkaller.appspot.com/x/log.txt?x=13da25d3980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=e8a2eef9745ade09
> dashboard link: https://syzkaller.appspot.com/bug?extid=e0bd4e4815a910c0daa8
> compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
> 
> Unfortunately, I don't have any reproducer for this issue yet.

kstrdup() failed due to fault injection.

We may want to change the WARN_ON(1) in these functions
to net_warn_ratelimited() as we do so in do_setlink().

  * __dev_change_net_namespace
  * cfg802154_switch_netns
  * cfg80211_switch_netns()

[  141.438766][ T8054] FAULT_INJECTION: forcing a failure.
[  141.438766][ T8054] name failslab, interval 1, probability 0, space 0, times 0
[  141.453868][ T8054] CPU: 1 UID: 0 PID: 8054 Comm: syz.0.839 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
[  141.464514][ T8054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
[  141.474602][ T8054] Call Trace:
[  141.477906][ T8054]  <TASK>
[  141.480854][ T8054]  dump_stack_lvl+0x241/0x360
[  141.507418][ T8054]  should_fail_ex+0x3b0/0x4e0
[  141.512110][ T8054]  should_failslab+0xac/0x100
[  141.516785][ T8054]  __kmalloc_node_track_caller_noprof+0xda/0x440
[  141.523098][ T8054]  ? device_rename+0xb5/0x1b0
[  141.527767][ T8054]  kstrdup+0x3a/0x80
[  141.531651][ T8054]  device_rename+0xb5/0x1b0
[  141.536142][ T8054]  cfg802154_switch_netns+0x1df/0x390
[  141.541523][ T8054]  nl802154_wpan_phy_netns+0x13d/0x210
[  141.546984][ T8054]  genl_rcv_msg+0xb14/0xec0
[...]
[  141.801010][ T8054]  </TASK>
[  141.865238][ T8054] ------------[ cut here ]------------
[  141.871127][ T8054] WARNING: CPU: 1 PID: 8054 at net/ieee802154/core.c:258 cfg802154_switch_netns+0x37f/0x390

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)
       [not found] <AS4PR10MB5766C0B97CCA5D2A1D2F8CD0F5862@AS4PR10MB5766.EURPRD10.PROD.OUTLOOK.COM>
@ 2024-08-13 17:56 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2024-08-13 17:56 UTC (permalink / raw)
  To: r.vuijk; +Cc: r.vuijk, linux-kernel, syzkaller-bugs

> #syz unsubscribe
>
> ________________________________
> From: syzbot <syzbot+e0bd4e4815a910c0daa8@syzkaller.appspotmail.com>
> Sent: Tuesday, August 13, 2024 7:42:25 PM
> To: alex.aring@gmail.com <alex.aring@gmail.com>; davem@davemloft.net <davem@davemloft.net>; edumazet@google.com <edumazet@google.com>; kuba@kernel.org <kuba@kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; linux-wpan@vger.kernel.org <linux-wpan@vger.kernel.org>; miquel.raynal@bootlin.com <miquel.raynal@bootlin.com>; netdev@vger.kernel.org <netdev@vger.kernel.org>; pabeni@redhat.com <pabeni@redhat.com>; stefan@datenfreihafen.org <stefan@datenfreihafen.org>; syzkaller-bugs@googlegroups.com <syzkaller-bugs@googlegroups.com>
> Subject: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit:    ee9a43b7cfe2 Merge tag 'net-6.11-rc3' of git://git.kernel...
> git tree:       net
> console output: https://syzkaller.appspot.com/x/log.txt?x=13da25d3980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=e8a2eef9745ade09
> dashboard link: https://syzkaller.appspot.com/bug?extid=e0bd4e4815a910c0daa8
> compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
>
> Unfortunately, I don't have any reproducer for this issue yet.
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/9227adf96f75/disk-ee9a43b7.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/c65c46b78c57/vmlinux-ee9a43b7.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/467d374f18b9/bzImage-ee9a43b7.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+e0bd4e4815a910c0daa8@syzkaller.appspotmail.com
>
> RBP: 00007f2c78995090 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
> R13: 0000000000000000 R14: 00007f2c77d05f80 R15: 00007fff6de33538
>  </TASK>
> ------------[ cut here ]------------
> WARNING: CPU: 1 PID: 8054 at net/ieee802154/core.c:258 cfg802154_switch_netns+0x37f/0x390 net/ieee802154/core.c:258
> Modules linked in:
> CPU: 1 UID: 0 PID: 8054 Comm: syz.0.839 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
> RIP: 0010:cfg802154_switch_netns+0x37f/0x390 net/ieee802154/core.c:258
> Code: a3 2b f6 90 0f 0b 90 43 80 3c 3e 00 75 8d eb 93 e8 c6 a3 2b f6 e9 8b fe ff ff e8 bc a3 2b f6 e9 81 fe ff ff e8 b2 a3 2b f6 90 <0f> 0b 90 e9 73 fe ff ff 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90
> RSP: 0018:ffffc9000337f408 EFLAGS: 00010293
> RAX: ffffffff8b67d3ce RBX: 00000000fffffff4 RCX: ffff8880215f3c00
> RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
> RBP: ffff88802324e198 R08: ffffffff8b67d23d R09: 1ffff11004649c3a
> R10: dffffc0000000000 R11: ffffed1004649c3b R12: 0000000000000000
> R13: 0000000000000000 R14: ffff88802324e078 R15: dffffc0000000000
> FS:  00007f2c789956c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 00007ff818548d58 CR3: 000000007f648000 CR4: 00000000003506f0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
>  <TASK>
>  nl802154_wpan_phy_netns+0x13d/0x210 net/ieee802154/nl802154.c:1292
>  genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
>  genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
>  genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210
>  netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
>  genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
>  netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
>  netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357
>  netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
>  sock_sendmsg_nosec net/socket.c:730 [inline]
>  __sock_sendmsg+0x221/0x270 net/socket.c:745
>  ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
>  ___sys_sendmsg net/socket.c:2651 [inline]
>  __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
>  do_syscall_x64 arch/x86/entry/common.c:52 [inline]
>  do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
>  entry_SYSCALL_64_after_hwframe+0x77/0x7f
> RIP: 0033:0x7f2c77b779f9
> 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:00007f2c78995038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
> RAX: ffffffffffffffda RBX: 00007f2c77d05f80 RCX: 00007f2c77b779f9
> RDX: 0000000000000000 RSI: 0000000020000200 RDI: 000000000000000e
> RBP: 00007f2c78995090 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
> R13: 0000000000000000 R14: 00007f2c77d05f80 R15: 00007fff6de33538
>  </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
>

Command #1:
unknown command "unsubscribe"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-13 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-13 17:42 [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2) syzbot
2024-08-13 19:52 ` Kuniyuki Iwashima
     [not found] <AS4PR10MB5766C0B97CCA5D2A1D2F8CD0F5862@AS4PR10MB5766.EURPRD10.PROD.OUTLOOK.COM>
2024-08-13 17:56 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®