general protection fault in iommufd_ioas_change_process

Status: upstream: reported C repro on 2026/08/17 16:34
Subsystems: iommu
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+48637757323884de77a2@syzkaller.appspotmail.com
First crash: 5d03h, last: 4h36m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
23bac452 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in iommufd_ioas_change_process 2026/08/13 23:13 2026/08/13 23:13 2026/08/13 23:17 0165196a
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] iommufd: Fix NULL deref of area->pages in ioas_change_process 2 (2) 2026/08/18 06:07
[syzbot] [iommu?] general protection fault in iommufd_ioas_change_process 0 (2) 2026/08/18 01:53
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/08/18 01:53 22m kartikey406@gmail.com patch upstream OK job log log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7]
CPU: 2 UID: 0 PID: 6443 Comm: syz.0.201 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
RIP: 0010:iommufd_ioas_change_process+0x513/0x11c0 drivers/iommu/iommufd/ioas.c:538
Code: 5b fc 48 8d 7b 68 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 e1 0a 00 00 48 8b 6b 68 48 8d bd c0 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 74 08 3c 03 0f 8e d5 0a 00 00 8b ad c0 00 00
RSP: 0018:ffffc9000503fba0 EFLAGS: 00010206
RAX: 0000000000000018 RBX: ffff8880550e9400 RCX: ffffffff8526f53b
RDX: ffff88802c6b8000 RSI: ffffffff85af13fb RDI: 00000000000000c0
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000001fff R11: 0000000000000000 R12: 0000000000000007
R13: fffffbfff22438f4 R14: dffffc0000000000 R15: ffffc9000503fc38
FS:  00007f1248ff36c0(0000) GS:ffff8880d5fec000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1248ff2ff8 CR3: 000000005355a000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 iommufd_fops_ioctl+0x358/0x520 drivers/iommu/iommufd/main.c:533
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f124819e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1248ff3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1248426090 RCX: 00007f124819e0d9
RDX: 0000200000000000 RSI: 0000000000003b92 RDI: 0000000000000003
RBP: 00007f1248235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1248426128 R14: 00007f1248426090 R15: 00007ffea12de908
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:iommufd_ioas_change_process+0x513/0x11c0 drivers/iommu/iommufd/ioas.c:538
Code: 5b fc 48 8d 7b 68 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 e1 0a 00 00 48 8b 6b 68 48 8d bd c0 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 74 08 3c 03 0f 8e d5 0a 00 00 8b ad c0 00 00
RSP: 0018:ffffc9000503fba0 EFLAGS: 00010206
RAX: 0000000000000018 RBX: ffff8880550e9400 RCX: ffffffff8526f53b
RDX: ffff88802c6b8000 RSI: ffffffff85af13fb RDI: 00000000000000c0
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000001fff R11: 0000000000000000 R12: 0000000000000007
R13: fffffbfff22438f4 R14: dffffc0000000000 R15: ffffc9000503fc38
FS:  00007f1248ff36c0(0000) GS:ffff8880d5fec000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1248ff2ff8 CR3: 000000005355a000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	5b                   	pop    %rbx
   1:	fc                   	cld
   2:	48 8d 7b 68          	lea    0x68(%rbx),%rdi
   6:	48 89 f8             	mov    %rdi,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1)
  12:	0f 85 e1 0a 00 00    	jne    0xaf9
  18:	48 8b 6b 68          	mov    0x68(%rbx),%rbp
  1c:	48 8d bd c0 00 00 00 	lea    0xc0(%rbp),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 30       	movzbl (%rax,%r14,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	74 08                	je     0x3b
  33:	3c 03                	cmp    $0x3,%al
  35:	0f 8e d5 0a 00 00    	jle    0xb10
  3b:	8b                   	.byte 0x8b
  3c:	ad                   	lods   %ds:(%rsi),%eax
  3d:	c0 00 00             	rolb   $0x0,(%rax)

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/13 16:48 upstream 3d6d817622b0 4d118901 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in iommufd_ioas_change_process
2026/08/18 15:04 upstream ff68e5f557f6 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in iommufd_ioas_change_process
2026/08/13 16:24 upstream 3d6d817622b0 4d118901 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in iommufd_ioas_change_process
* Struck through repros no longer work on HEAD.