syzbot


BUG: unable to handle kernel paging request in netdev_unregister_kobject

Status: upstream: reported on 2025/06/20 11:02
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+59e97f6296ecdc571f71@syzkaller.appspotmail.com
First crash: 4d20h, last: 4d20h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] BUG: unable to handle kernel paging request in netdev_unregister_kobject 0 (1) 2025/06/20 11:02
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 KASAN: use-after-free Read in netdev_unregister_kobject 5 109d 218d 0/3 auto-obsoleted due to no activity on 2025/06/11 15:03
upstream KASAN: use-after-free Read in netdev_unregister_kobject pm C error 6281 193d 424d 28/29 fixed on 2024/12/16 09:50
upstream KASAN: slab-use-after-free Read in netdev_unregister_kobject pm 1 95d 95d 0/29 closed as invalid on 2025/04/18 16:40
upstream BUG: corrupted list in netdev_unregister_kobject kernel 1 1005d 1005d 0/29 auto-obsoleted due to no activity on 2022/12/30 17:18

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000000b
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[dfff80000000000b] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1]  SMP
Modules linked in:
CPU: 0 UID: 0 PID: 7660 Comm: kbnepd bnep0 Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : klist_put lib/klist.c:212 [inline]
pc : klist_del+0x4c/0x110 lib/klist.c:230
lr : klist_del+0x28/0x110 lib/klist.c:229
sp : ffff80009e977720
x29: ffff80009e977720 x28: dfff800000000000 x27: ffff0000cda2c028
x26: 1ffff00013d2eef4 x25: ffff80009e9777a0 x24: 1fffe00019b458e5
x23: 1fffe0001ed3f28c x22: ffff0000cda2c728 x21: dfff800000000000
x20: 0000000000000000 x19: ffff0000f69f9460 x18: 00000000ffffffff
x17: ffff8000892f3474 x16: ffff800080520d04 x15: 0000000000000001
x14: 1fffe0001eb56768 x13: 0000000000000000 x12: 0000000000000000
x11: ffff60001eb56769 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 000000000000000b x7 : ffff800080c3eef0 x6 : ffff800080c3b260
x5 : ffff0000cded8998 x4 : ffff800089214348 x3 : ffff800080f87888
x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000058
Call trace:
 klist_put lib/klist.c:212 [inline] (P)
 klist_del+0x4c/0x110 lib/klist.c:230 (P)
 device_del+0x234/0x808 drivers/base/core.c:3858
 netdev_unregister_kobject+0x2bc/0x3bc net/core/net-sysfs.c:2308
 unregister_netdevice_many_notify+0x1934/0x1fac net/core/dev.c:12112
 unregister_netdevice_many net/core/dev.c:12140 [inline]
 unregister_netdevice_queue net/core/dev.c:11984 [inline]
 unregister_netdevice include/linux/netdevice.h:3379 [inline]
 unregister_netdev+0x15c/0x1f8 net/core/dev.c:12158
 bnep_session+0x208c/0x223c net/bluetooth/bnep/core.c:525
 kthread+0x5fc/0x75c kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847
Code: f9400268 927ff914 91016280 d343fc08 (38756908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	f9400268 	ldr	x8, [x19]
   4:	927ff914 	and	x20, x8, #0xfffffffffffffffe
   8:	91016280 	add	x0, x20, #0x58
   c:	d343fc08 	lsr	x8, x0, #3
* 10:	38756908 	ldrb	w8, [x8, x21] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/16 10:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 39dfc971e42d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in netdev_unregister_kobject
* Struck through repros no longer work on HEAD.