syzbot


BUG: unable to handle kernel paging request in ax88179_disconnect

Status: upstream: reported C repro on 2024/01/09 18:25
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b6e4a8d5588796d106ff@syzkaller.appspotmail.com
First crash: 116d, last: 108d
Bug presence (2)
Date Name Commit Repro Result
2024/01/14 linux-5.15.y (ToT) 26c690eff0a5 C [report] BUG: unable to handle kernel paging request in ax88179_disconnect
2024/01/14 upstream (ToT) 052d534373b7 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in ax88179_disconnect C done 2 106d 106d 0/2 auto-obsoleted due to no activity on 2024/04/26 07:46
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/04/22 08:11 42m fix candidate upstream error job log (0)
2024/03/20 20:30 1m fix candidate upstream error job log (0)
2024/01/19 03:20 1m fix candidate upstream error job log (0)

Sample crash report:
ax88179_178a 1-1:0.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0000: -71
ax88179_178a 1-1:0.0 eth0: register 'ax88179_178a' at usb-dummy_hcd.0-1, MCT USB 3.0 Gigabit Ethernet Adapter, 4e:49:26:88:5f:67
usb 1-1: USB disconnect, device number 2
Unable to handle kernel paging request at virtual address dfff800000000002
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000002] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.15.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: usb_hub_wq hub_event
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ax88179_disconnect+0x70/0xb8 drivers/net/usb/ax88179_178a.c:531
lr : ax88179_disconnect+0x48/0xb8 drivers/net/usb/ax88179_178a.c:530
sp : ffff8000189f73b0
x29: ffff8000189f73b0 x28: ffff800015ff12e0 x27: ffff0000ca7ab000
x26: 0000000000000001 x25: ffff0000ca7ab0a8 x24: ffff0000c2f32030
x23: ffff800015ff1248 x22: ffff800015ff11b0 x21: dfff800000000000
x20: 0000000000000010 x19: ffff0000c2f32000 x18: 0000000000000001
x17: 0000000000000000 x16: ffff8000088ca890 x15: 0000000000000003
x14: 1ffff0000292406a x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
x8 : 0000000000000002 x7 : ffff80000d6fc634 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800011a46b7c
x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c2f32000
Call trace:
 ax88179_disconnect+0x70/0xb8 drivers/net/usb/ax88179_178a.c:531
 usb_unbind_interface+0x1a4/0x758 drivers/usb/core/driver.c:458
 __device_release_driver drivers/base/dd.c:1229 [inline]
 device_release_driver_internal+0x464/0x6ac drivers/base/dd.c:1262
 device_release_driver+0x28/0x38 drivers/base/dd.c:1285
 bus_remove_device+0x298/0x38c drivers/base/bus.c:529
 device_del+0x57c/0x9b4 drivers/base/core.c:3582
 usb_disable_device+0x354/0x760 drivers/usb/core/message.c:1414
 usb_disconnect+0x290/0x7e8 drivers/usb/core/hub.c:2239
 hub_port_connect drivers/usb/core/hub.c:5281 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5577 [inline]
 port_event drivers/usb/core/hub.c:5723 [inline]
 hub_event+0x1718/0x47d4 drivers/usb/core/hub.c:5805
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310
 process_scheduled_works kernel/workqueue.c:2373 [inline]
 worker_thread+0xb88/0x1034 kernel/workqueue.c:2459
 kthread+0x37c/0x45c kernel/kthread.c:319
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
Code: f9400288 91004114 d343fe88 12000a89 (38f56908) 
---[ end trace 3c75c3d4bd6cee55 ]---
----------------
Code disassembly (best guess):
   0:	f9400288 	ldr	x8, [x20]
   4:	91004114 	add	x20, x8, #0x10
   8:	d343fe88 	lsr	x8, x20, #3
   c:	12000a89 	and	w9, w20, #0x7
* 10:	38f56908 	ldrsb	w8, [x8, x21] <-- trapping instruction

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/14 19:27 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ax88179_disconnect
2024/01/13 19:36 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ax88179_disconnect
2024/01/13 15:03 linux-5.15.y 26c690eff0a5 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ax88179_disconnect
2024/01/07 05:08 linux-5.15.y 26c690eff0a5 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ax88179_disconnect
2024/01/13 15:07 linux-5.15.y 26c690eff0a5 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ax88179_disconnect
* Struck through repros no longer work on HEAD.