general protection fault in netlink_broadcast_filtered

Status: upstream: reported on 2026/11/27 22:31
Reported-by: syzbot+2cb2570e0028c70419cf@syzkaller.appspotmail.com
First crash: 6d13h, last: 6d13h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in netlink_broadcast_filtered 2 1 293d 293d 0/3 auto-obsoleted due to no activity on 2026/05/24 12:45
upstream general protection fault in netlink_broadcast_filtered net 2 2 548d 569d 0/30 closed as invalid on 2025/07/02 15:51

Sample crash report:
netdevsim netdevsim6 netdevsim2 (unregistering): unset [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim6 netdevsim1 (unregistering): unset [0, 0] type 1 family 0 port 8472 - 0
general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 1 PID: 17778 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:read_pnet include/net/net_namespace.h:402 [inline]
RIP: 0010:sock_net include/net/sock.h:661 [inline]
RIP: 0010:netlink_broadcast_filtered+0x49/0x1200 net/netlink/af_netlink.c:1520
Code: 41 89 cf 89 d5 48 89 f3 49 89 fd 49 bc 00 00 00 00 00 fc ff df e8 d7 d4 c2 f8 4d 8d 75 30 e8 6e 94 d5 01 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 38 09 1c f9 49 8b 45 30 48 89 44
RSP: 0018:ffffc9000c5077a8 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffff888078dfb280 RCX: ffff888029c50000
RDX: 0000000000000000 RSI: ffff888078dfb280 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000cc0 R09: 0000000000000000
R10: ffffc9000c507680 R11: fffff520018a0ed4 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000030 R15: 0000000000000006
FS:  000055557c839500(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f71106e950 CR3: 0000000037fbb000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 netlink_broadcast+0x37/0x50 net/netlink/af_netlink.c:1569
 devl_port_unregister+0x135/0x290 net/devlink/port.c:1074
 __nsim_dev_port_del+0x17b/0x1b0 drivers/net/netdevsim/dev.c:1430
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
 nsim_dev_reload_destroy+0x283/0x480 drivers/net/netdevsim/dev.c:1662
 nsim_drv_remove+0x58/0x170 drivers/net/netdevsim/dev.c:1677
 device_remove drivers/base/dd.c:627 [inline]
 __device_release_driver drivers/base/dd.c:1367 [inline]
 device_release_driver_internal+0x47a/0x7a0 drivers/base/dd.c:1390
 bus_remove_device+0x43b/0x520 drivers/base/bus.c:637
 device_del+0x51f/0x910 drivers/base/core.c:3968
 device_unregister+0x20/0xc0 drivers/base/core.c:4009
 nsim_bus_dev_del drivers/net/netdevsim/bus.c:310 [inline]
 del_device_store+0x2b6/0x370 drivers/net/netdevsim/bus.c:219
 kernfs_fop_write_iter+0x3a4/0x520 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2021 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7229f6a38e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fff05462ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055557c839500 RCX: 00007f7229f6a38e
RDX: 0000000000000001 RSI: 00007fff05462b70 RDI: 0000000000000005
RBP: 00007f722a03aa44 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff05462b70 R14: 00007fff054633b0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:read_pnet include/net/net_namespace.h:402 [inline]
RIP: 0010:sock_net include/net/sock.h:661 [inline]
RIP: 0010:netlink_broadcast_filtered+0x49/0x1200 net/netlink/af_netlink.c:1520
Code: 41 89 cf 89 d5 48 89 f3 49 89 fd 49 bc 00 00 00 00 00 fc ff df e8 d7 d4 c2 f8 4d 8d 75 30 e8 6e 94 d5 01 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 38 09 1c f9 49 8b 45 30 48 89 44
RSP: 0018:ffffc9000c5077a8 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffff888078dfb280 RCX: ffff888029c50000
RDX: 0000000000000000 RSI: ffff888078dfb280 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000cc0 R09: 0000000000000000
R10: ffffc9000c507680 R11: fffff520018a0ed4 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000030 R15: 0000000000000006
FS:  000055557c839500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f89641be1d4 CR3: 0000000037fbb000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
   0:	41 89 cf             	mov    %ecx,%r15d
   3:	89 d5                	mov    %edx,%ebp
   5:	48 89 f3             	mov    %rsi,%rbx
   8:	49 89 fd             	mov    %rdi,%r13
   b:	49 bc 00 00 00 00 00 	movabs $0xdffffc0000000000,%r12
  12:	fc ff df
  15:	e8 d7 d4 c2 f8       	call   0xf8c2d4f1
  1a:	4d 8d 75 30          	lea    0x30(%r13),%r14
  1e:	e8 6e 94 d5 01       	call   0x1d59491
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 38 09 1c f9       	call   0xf91c0971
  39:	49 8b 45 30          	mov    0x30(%r13),%rax
  3d:	48                   	rex.W
  3e:	89                   	.byte 0x89
  3f:	44                   	rex.R

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/27 22:31 linux-6.6.y e2bb30811e06 bff1a522 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in netlink_broadcast_filtered
* Struck through repros no longer work on HEAD.