Re: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: syzbot <syzbot+e0bd4e4815a910c0daa8@xxxxxxxxxxxxxxxxxxxxxxxxx>
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




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux