lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240813195244.23260-1-kuniyu@amazon.com>
Date: Tue, 13 Aug 2024 12:52:44 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <syzbot+e0bd4e4815a910c0daa8@...kaller.appspotmail.com>
CC: <alex.aring@...il.com>, <davem@...emloft.net>, <edumazet@...gle.com>,
	<kuba@...nel.org>, <linux-kernel@...r.kernel.org>,
	<linux-wpan@...r.kernel.org>, <miquel.raynal@...tlin.com>,
	<netdev@...r.kernel.org>, <pabeni@...hat.com>, <stefan@...enfreihafen.org>,
	<syzkaller-bugs@...glegroups.com>, <kuniyu@...zon.com>
Subject: Re: [syzbot] [wpan?] WARNING in cfg802154_switch_netns (2)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ