[syzbot] [sound?] BUG: unable to handle kernel paging request in azx_probe_work

syzbot <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.sound
Message-ID <[email protected]>
Hello,

syzbot found the following issue on:

HEAD commit:    848acc8ffe1b Merge tag 'fsverity-for-linus' of git://git.k..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14d38bb9580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=145fa60d73086782
dashboard link: https://syzkaller.appspot.com/bug?extid=5ebe7cd17e48b4293660
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1671be32580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=12d38bb9580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-848acc8f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6fb497cc0c8d/vmlinux-848acc8f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/663ccee34982/bzImage-848acc8f.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]

BUG: unable to handle page fault for address: 000000000001c0a0
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0 
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 5806 Comm: kworker/1:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events azx_probe_work
RIP: 0010:readw arch/x86/include/asm/io.h:58 [inline]
RIP: 0010:snd_hdac_reg_readw include/sound/hdaudio.h:458 [inline]
RIP: 0010:azx_first_init sound/hda/controllers/intel.c:1953 [inline]
RIP: 0010:azx_probe_continue sound/hda/controllers/intel.c:2365 [inline]
RIP: 0010:azx_probe_work+0xa44/0x2640 sound/hda/controllers/intel.c:1737
Code: 4c 89 f7 e8 9e 3a dd fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 61 1a 00 00 48 8b 85 68 f7 ff ff <66> 44 8b 28 45 89 ef 0f 1f 44 00 00 e8 7b 9e 8a f8 48 8b 54 24 40
RSP: 0018:ffffc90003137b00 EFLAGS: 00010246
RAX: 000000000001c0a0 RBX: ffff88802d5d8058 RCX: 0000000000000000
RDX: 1ffff11005abb00b RSI: ffffffff855cfff2 RDI: 0000000000000001
RBP: ffff88802d5d88f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88802e0b04c4 R14: ffff888022f3c000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880d5ed8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000001c0a0 CR3: 000000003f65b000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322
 process_scheduled_works kernel/workqueue.c:3405 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
CR2: 000000000001c0a0
---[ end trace 0000000000000000 ]---
RIP: 0010:readw arch/x86/include/asm/io.h:58 [inline]
RIP: 0010:snd_hdac_reg_readw include/sound/hdaudio.h:458 [inline]
RIP: 0010:azx_first_init sound/hda/controllers/intel.c:1953 [inline]
RIP: 0010:azx_probe_continue sound/hda/controllers/intel.c:2365 [inline]
RIP: 0010:azx_probe_work+0xa44/0x2640 sound/hda/controllers/intel.c:1737
Code: 4c 89 f7 e8 9e 3a dd fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 61 1a 00 00 48 8b 85 68 f7 ff ff <66> 44 8b 28 45 89 ef 0f 1f 44 00 00 e8 7b 9e 8a f8 48 8b 54 24 40
RSP: 0018:ffffc90003137b00 EFLAGS: 00010246
RAX: 000000000001c0a0 RBX: ffff88802d5d8058 RCX: 0000000000000000
RDX: 1ffff11005abb00b RSI: ffffffff855cfff2 RDI: 0000000000000001
RBP: ffff88802d5d88f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88802e0b04c4 R14: ffff888022f3c000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880d5ed8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000001c0a0 CR3: 000000003f65b000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	4c 89 f7             	mov    %r14,%rdi
   3:	e8 9e 3a dd fb       	call   0xfbdd3aa6
   8:	48 89 da             	mov    %rbx,%rdx
   b:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  12:	fc ff df
  15:	48 c1 ea 03          	shr    $0x3,%rdx
  19:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  1d:	0f 85 61 1a 00 00    	jne    0x1a84
  23:	48 8b 85 68 f7 ff ff 	mov    -0x898(%rbp),%rax
* 2a:	66 44 8b 28          	mov    (%rax),%r13w <-- trapping instruction
  2e:	45 89 ef             	mov    %r13d,%r15d
  31:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  36:	e8 7b 9e 8a f8       	call   0xf88a9eb6
  3b:	48 8b 54 24 40       	mov    0x40(%rsp),%rdx


---
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 [email protected].

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.