Article View: linux.kernel.netdev
Article #9118[syzbot] [wireless?] WARNING in rfkill_dev_uevent
From: syzbot
Date: Sat, 31 Oct 2026 08:52
Date: Sat, 31 Oct 2026 08:52
161 lines
15699 bytes
15699 bytes
Hello,
syzbot found the following issue on:
HEAD commit: dda51b737216 tcp: check congestion control restriction first
git tree: net
console+strace: https://syzkaller.appspot.com/x/log.txt?x=12607259580000
kernel config: https://syzkaller.appspot.com/x/.config?x=d0f4f48df8e34eb3
dashboard link: https://syzkaller.appspot.com/bug?extid=56f5119a6b206041a6b7
compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10e3188d580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=169b9135580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/69fc30a54172/disk-dda51b73.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6fd8743be1c2/vmlinux-dda51b73.xz
kernel image: https://storage.googleapis.com/syzbot-assets/1aa0f93cd3c4/bzImage-dda51b73.xz
AI-generated root cause summary:
In mac80211_hwsim and cfg80211, the netlink attribute HWSIM_ATTR_RADIO_NAME is
accepted without a length limit, and cfg80211 does not bound requested_name when
setting the device and rfkill names. When a user creates a virtual radio with an
excessively long name via netlink, rfkill registration triggers a uevent where
RFKILL_NAME exceeds the fixed 2048-byte UEVENT_BUFFER_SIZE in add_uevent_var(),
triggering a WARN. In production kernels, add_uevent_var() safely returns
-ENOMEM and drops the uevent without memory corruption or system crashes.
full analysis: https://syzkaller.appspot.com/x/ai_root_cause?x=56f5119a6b206041a6b7
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+56f5119a6b206041a6b7@syzkaller.appspotmail.com
workqueue
workqueue: name exceeds WQ_NAME_LEN. Truncating to: ���e�45�8) r1 += -8
15: .
------------[ cut here ]------------
add_uevent_var: buffer size too small
WARNING: lib/kobject_uevent.c:688 at add_uevent_var+0x2db/0x460 lib/kobject_uevent.c:688, CPU#0: syz-executor353/5646
Modules linked in:
CPU: 0 UID: 0 PID: 5646 Comm: syz-executor353 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:add_uevent_var+0x2db/0x460 lib/kobject_uevent.c:688
Code: 48 8b 44 24 40 42 0f b6 04 38 84 c0 48 8b 5c 24 18 0f 85 73 01 00 00 44 01 33 31 c0 eb 20 e8 0c 1c dd f5 48 8d 3d 35 df a3 05 <67> 48 0f b9 3a b8 f4 ff ff ff 49 bf 00 00 00 00 00 fc ff df 66 43
RSP: 0018:ffffc90003996a00 EFLAGS: 00010293
RAX: ffffffff8beb4a14 RBX: 1ffff1100efa0443 RCX: ffff88807f68be80
RDX: 0000000000000000 RSI: 0000000000001770 RDI: ffffffff918f2950
RBP: ffffc90003996b38 R08: ffff88807f68be80 R09: 0000000000000008
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000001770
R13: 1ffff92000732d50 R14: 000000000000079e R15: 0000000000000062
FS: 000055556e425400(0000) GS:ffff888123a6b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000069e000 CR3: 00000000713cc000 CR4: 00000000003526f0
Call Trace:
<TASK>
rfkill_dev_uevent+0x2f/0x1f0 net/rfkill/core.c:875
dev_uevent+0x4ab/0x870 drivers/base/core.c:2774
kobject_uevent_env+0x475/0x9e0 lib/kobject_uevent.c:576
device_add+0x544/0xb80 drivers/base/core.c:3742
rfkill_register+0x170/0x9b0 net/rfkill/core.c:1100
wiphy_register+0x2a5f/0x3290 net/wireless/core.c:1310
ieee80211_register_hw+0x3d72/0x4b30 net/mac80211/main.c:1634
mac80211_hwsim_new_radio+0x32f1/0x5990 drivers/net/wireless/virtual/mac80211_hwsim_main.c:6186
hwsim_new_radio_nl+0xd8b/0xf90 drivers/net/wireless/virtual/mac80211_hwsim_main.c:7062
genl_family_rcv_msg_doit+0x233/0x340 net/netlink/genetlink.c:1114
genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline]
genl_rcv_msg+0x614/0x7a0 net/netlink/genetlink.c:1209
netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2580
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218
netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1361
netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1920
sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800
__sock_sendmsg net/socket.c:818 [inline]
____sys_sendmsg+0x54e/0x850 net/socket.c:2715
___sys_sendmsg+0x2a5/0x360 net/socket.c:2769
__sys_sendmsg net/socket.c:2801 [inline]
__do_sys_sendmsg net/socket.c:2806 [inline]
__se_sys_sendmsg net/socket.c:2804 [inline]
__x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2804
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbc181e2649
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc9f9d5c88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbc181e2649
RDX: 0000000000000084 RSI: 0000200000000a00 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbc18275c40 R15: 0000000000000002
</TASK>
----------------
Code disassembly (best guess):
0: 48 8b 44 24 40 mov 0x40(%rsp),%rax
5: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax
a: 84 c0 test %al,%al
c: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx
11: 0f 85 73 01 00 00 jne 0x18a
17: 44 01 33 add %r14d,(%rbx)
1a: 31 c0 xor %eax,%eax
1c: eb 20 jmp 0x3e
1e: e8 0c 1c dd f5 call 0xf5dd1c2f
23: 48 8d 3d 35 df a3 05 lea 0x5a3df35(%rip),%rdi # 0x5a3df5f
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: b8 f4 ff ff ff mov $0xfffffff4,%eax
34: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
3b: fc ff df
3e: 66 data16
3f: 43 rex.XB
---
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 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.
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
Technical Details
Message-ID:
<6ae5ac57.88e51036.1515fd.0003.GAE@google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354060-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354060-linux-kernel-netdev=dewy.ru
From: syzbot+56f5119a6b206041a6b7@syzkaller.appspotmail.com (syzbot)
Newsgroups: linux.kernel.netdev
Subject: [syzbot] [wireless?] WARNING in rfkill_dev_uevent
Date: Sat, 31 Oct 2026 01:52:39 -0700
Organization: Usenet Network
Message-ID: <6ae5ac57.88e51036.1515fd.0003.GAE@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2413999"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:yyDQlKT8UECOEIu9effY6Yi4QqY= sha256:4exeV81UrQaK3Ap9vGZeFHujqkZDv0RYMxfzORYEucY=
sha1:QEx8DSoR/nX7ugfPivmkEXQ8duA= sha256:TyBJQe+E0WbGNb2ZQ9U5jDNc22g9CFT5kHLdPzn2wOQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 3DF6D125CB2; Sat, 31 Oct 2026 11:53:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.718
X-Spam-Status: No, score=-2.718 tagged_above=-9999 required=6.31
tests=[FROM_LOCAL_HEX=0.331, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id ojsKvgM0NWte;
Sat, 31 Oct 2026 11:52:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-354060-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 7237D125CB0; Sat, 31 Oct 2026 11:52:55 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 3D5156010EC; Sat, 31 Oct 2026 08:52:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793436771;
b=DUoBVIP+1x93ZryXBlzNPll0XB/24uXGrtow3Si7Kr0pixkjC9Bep1fhZ6wZfkRx8GlJ
/gXs08LuNxPKVu+2foSNvovgbU7P7/zu6A3tw4F2AAI/It7JzLIM8rmLWjTrmz+vmbpRN
dT44V3aHrRmv7fcJYfsbhpq/M9bLR75WWqBmCd8hJ1tlcdniPBbfeW/m1GNt0+wGXlIOG
h7MpbR5DJsaRn/xTWYuybCBS4S/5XFu/WppX3eMFhKrXQJ3iA98kj5XR5cFH79gsRme3s
hsGtbj7FWtSGNh/6Ohw4ulsuP+P8YFeY3fxoU9DPgF21V6DzXO2vVVtm5WdjCVFHLHg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793436771;
h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:X-Received:Date:X-Google-Appengine-App-Id:
X-Google-Appengine-App-Id-Alias:Message-ID:Subject:From:To:
Content-Type:Content-Transfer-Encoding;
bh=T54JHojtNznOOiHI0falihSPn5TxrG175B8BVl0MzMs=;
b=xyCblon3WVefJJb2hu4yFUqgORLDGByvOhaaTdpBKRya/OzDAFiMvQ4PkOPSG3Y2MHaW
Pnv71LFgMhD1uJvLTGymOAVEtlv6sn+DJvK4ikYKjJ414WV+zesZGbWwUUJ6Sc3KmQh3L
QFtEfFKHOqW7VY61kbTV29iS3xNVYA2xBN4j5bcTHVgxpSlNrsTwkpNc05pRap7wA4vDD
AVf3/GUSVATrxMX49oLGF1FfcYDYSdE3zJeFyyu0jFVuAKgv9gdDuusj+LOxaA0HyKuqw
jakeGPbfHouOQOpxHMyyzbQgcQz3VEFzaqgJ+FNARg/ZtRGtZbV3B6iZ+hgvC2EkquA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=fail header.from=syzkaller.appspotmail.com;
spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F6B6606A324;
Sat, 31 Oct 2026 08:52:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.197
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793436760;
b=f7GBHOMdNJHl4edo4Vej84ZDra+CsqPJLYq3Ug3pX0PYnCwDf5pL4tkYO8KWpSxOmCTq
ysnCFkpG/E7zv2rt1XRSgHK9QTHvGYQA4Gi+nM0nqg66ku2lm+cfg8YwGnhJa5DnXD0vj
NchM3J31pYqyrk4K9u3zPeiefF480AmQM3DZFKS9R2HpmxmXknSOhsgvCPKJ/PLVQQAOA
6PfgFp/A+etO+1xsFWQ/hza+pdKwiYExBxwMQWACB7+oL/nGjwJgczEF4V2hw0cqydDsH
xTkesHL09qfP2lqbn2ht3wBjSaemac5702ENzk6xfYh9fz1Cb7EqD6PSBIIFuqxVzzA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793436760;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:MIME-Version:X-Received:Date:
X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
Subject:From:To:Content-Type:Content-Transfer-Encoding;
bh=T54JHojtNznOOiHI0falihSPn5TxrG175B8BVl0MzMs=;
b=3KWZ3bu5I0wsE0omSao2Ayv5lMtLlAk5uQfE9T8NxPM5d9ewLfV6BWBLOMkjFxF+HZvm
8cAtuEudPnGxG2Tk7y0/NKA1XzztUbOI5VZRXDSIUgvz7cDYaj0ssiCKM/rUVgmIl30r5
9/uskxl9RTorg4cymbPz6Rl4pRn71qAwy9zyLIclL9H2/Cm65cLFMRoHrSV7rmFRoBHgz
nn8tOg99RtIPygoGylD9EIYFbZo05VWw42rhS5W6Dm0/D5eNwNEGqa9XggTKczdiNPmJu
Rls5KLgOFIEKgrq4jwJ9tJjPmbxyHH21GpH2nghbNZuerQhGSlMGQRCvknr5BQaaWaA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=fail header.from=syzkaller.appspotmail.com;
spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
arc=none smtp.remote-ip=209.85.167.197
X-Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7090B606A31D
for <netdev@vger.kernel.org>; Sat, 31 Oct 2026 08:52:40 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7090B606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com
X-Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-54213290993so1182248b6e.0
for <netdev@vger.kernel.org>; Sat, 31 Oct 2026 01:52:40 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793436759; x=1794041559;
h=content-transfer-encoding:content-type:to:from:subject:message-id
:date:mime-version:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=T54JHojtNznOOiHI0falihSPn5TxrG175B8BVl0MzMs=;
b=p1nzBx9WTdckahiq/O7woHhvUHbPc6EITv4VifeG195ipYOue5nfuDLmVBdZlSYEKt
t4gqOzQYF/cmdBu6xlrtaay2q1WkcyPfW29IZbcKJs46wtaftRUREjN9mwW29OAcxhAq
UZpFi6QFxRAKb6QQOKvqNnDrvSl0r0V+9O/YDKs2NC/nn7TbBG+7Jcfrd9jZxOUIVbhf
x6CzWZOJFPcsyQk5dNQZIEfp4RccrILsrVrV/ESUKm5SF9nCQ7iZ9hP4lsO3CIhaSmPW
eqwyKDZb8qp68xBExsOsBaD7Wq4v/iDOKdqMHEm5aFxKxGMYl2MzpwUtE1txac5Ogcni
KoBA==
X-Forwarded-Encrypted: i=1; AKwUvBxES20jX4yjTZBL2aiUPqGT1sL5zhTx1LJOm6w4Y9270r2oIO4+moCg+YrSkdhxW+30oyQTKiA=@vger.kernel.org
X-Gm-Message-State: AFq9FYLkEKn9SJb/wGqD5lJCd5XNhuxzEhJ4hrqbh//0skBshflQrrty
co8SJyBcyXSFIYsbfH6KLsgFNPEFU4GFzT1g8mrkPJZskVsXO6oO/Nzqw4te5ysHVh4hgZP+1Nz
4dAsFKb8/8sTcbL7xZMMdbhUr4f/8Ex4nF97+r6ffel3HU3JeMJ/iaKWF+kw=
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Received: by 2002:a05:6808:c2c7:b0:531:7f68:842e with SMTP id
5614622812f47-5640dbd6258mr3317562b6e.8.1793436759449; Sat, 31 Oct 2026
01:52:39 -0700 (PDT)
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller