syzbot


bpf-next boot error: WARNING in genl_register_family

Status: closed as dup on 2022/11/04 18:21
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7cc0a430776e7900c5e7@syzkaller.appspotmail.com
First crash: 512d, last: 511d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
upstream boot error: WARNING in genl_register_family net 468 512d 518d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] bpf-next boot error: WARNING in genl_register_family 1 (2) 2022/11/04 18:21

Sample crash report:
can: controller area network core
NET: Registered PF_CAN protocol family
can: raw protocol
can: broadcast manager protocol
can: netlink gateway - max_hops=1
can: SAE J1939
can: isotp protocol
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: CMTP (CAPI Emulation) ver 1.0
Bluetooth: CMTP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
NET: Registered PF_RXRPC protocol family
Key type rxrpc registered
Key type rxrpc_s registered
NET: Registered PF_KCM protocol family
lec:lane_module_init: lec.c: initialized
mpoa:atm_mpoa_init: mpc.c: initialized
l2tp_core: L2TP core driver, V2.0
l2tp_ppp: PPPoL2TP kernel driver, V2.0
l2tp_ip: L2TP IP encapsulation support (L2TPv3)
l2tp_netlink: L2TP netlink interface
l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
NET: Registered PF_PHONET protocol family
8021q: 802.1Q VLAN Support v1.8
DCCP: Activated CCID 2 (TCP-like)
DCCP: Activated CCID 3 (TCP-Friendly Rate Control)
sctp: Hash tables configured (bind 32/56)
NET: Registered PF_RDS protocol family
Registered RDS/infiniband transport
Registered RDS/tcp transport
tipc: Activated (version 2.0.0)
NET: Registered PF_TIPC protocol family
tipc: Started in single node mode
NET: Registered PF_SMC protocol family
9pnet: Installing 9P2000 support
NET: Registered PF_CAIF protocol family
NET: Registered PF_IEEE802154 protocol family
Key type dns_resolver registered
Key type ceph registered
libceph: loaded (mon/osd proto 15/24)
batman_adv: B.A.T.M.A.N. advanced 2022.3 (compatibility version 15) loaded
openvswitch: Open vSwitch switching datapath
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at net/netlink/genetlink.c:383 genl_validate_ops net/netlink/genetlink.c:383 [inline]
WARNING: CPU: 0 PID: 1 at net/netlink/genetlink.c:383 genl_register_family+0x298/0x1450 net/netlink/genetlink.c:414
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc2-syzkaller-10747-g0ed041b1dd33 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:genl_validate_ops net/netlink/genetlink.c:383 [inline]
RIP: 0010:genl_register_family+0x298/0x1450 net/netlink/genetlink.c:414
Code: dd 0f 82 b1 06 00 00 e8 d6 d0 e4 f9 0f b6 9c 24 b7 00 00 00 31 ff 89 de e8 55 cd e4 f9 84 db 0f 84 93 06 00 00 e8 b8 d0 e4 f9 <0f> 0b e8 b1 d0 e4 f9 41 bc ea ff ff ff e8 a6 d0 e4 f9 48 b8 00 00
RSP: 0000:ffffc90000067c50 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff88813fe50000 RSI: ffffffff8797d158 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8b9a7a26 R14: ffffffff8b9a7a00 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 000000000bc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dp_register_genl net/openvswitch/datapath.c:2578 [inline]
 dp_init+0x148/0x25d net/openvswitch/datapath.c:2707
 do_one_initcall+0x13d/0x780 init/main.c:1303
 do_initcall_level init/main.c:1376 [inline]
 do_initcalls init/main.c:1392 [inline]
 do_basic_setup init/main.c:1411 [inline]
 kernel_init_freeable+0x6ff/0x788 init/main.c:1631
 kernel_init+0x1a/0x1d0 init/main.c:1519
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/03 22:11 bpf-next 0ed041b1dd33 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 22:11 bpf-next 0ed041b1dd33 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 22:10 bpf-next 0ed041b1dd33 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 20:43 bpf-next d9095f92950b 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 20:43 bpf-next d9095f92950b 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 20:43 bpf-next d9095f92950b 6d752409 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 16:46 bpf-next d9095f92950b 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 16:46 bpf-next d9095f92950b 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 16:46 bpf-next d9095f92950b 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 10:33 bpf-next b54a0d4094f5 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 10:33 bpf-next b54a0d4094f5 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/03 10:33 bpf-next b54a0d4094f5 7a2ebf95 .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/02 23:15 bpf-next b54a0d4094f5 08977f5d .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/02 23:15 bpf-next b54a0d4094f5 08977f5d .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
2022/11/02 23:14 bpf-next b54a0d4094f5 08977f5d .config console log report ci-upstream-bpf-next-kasan-gce bpf-next boot error: WARNING in genl_register_family
* Struck through repros no longer work on HEAD.