syzbot


WARNING in pt_iommu_amdv1_init

Status: upstream: reported on 2026/03/24 00:04
Subsystems: iommu
[Documentation on labels]
Reported-by: syzbot+453eb7add07c3767adab@syzkaller.appspotmail.com
First crash: 6d03h, last: 1d04h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [iommu?] WARNING in pt_iommu_amdv1_init 3 (4) 2026/03/25 09:42

Sample crash report:
iommufd_mock iommufd_mock0: Adding to iommu group 11
netlink: 'syz.0.0': attribute type 12 has an invalid length.
------------[ cut here ]------------
!iommu_table->driver_ops || !iommu_table->driver_ops->change_top || !iommu_table->driver_ops->get_top_lock
WARNING: drivers/iommu/generic_pt/fmt/../iommu_pt.h:1251 at pt_iommu_amdv1_init+0x631/0x9f0 drivers/iommu/generic_pt/iommu_pt.h:1249, CPU#0: syz.0.0/5328
Modules linked in:
CPU: 0 UID: 0 PID: 5328 Comm: syz.0.0 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:pt_iommu_amdv1_init+0x631/0x9f0 drivers/iommu/generic_pt/iommu_pt.h:1249
Code: 48 89 df 44 89 fa e8 de 05 00 00 48 89 c3 48 3d 01 f0 ff ff 72 1e e8 5e 7a 6f fc eb 5e e8 57 7a 6f fc eb 05 e8 50 7a 6f fc 90 <0f> 0b 90 bb ea ff ff ff eb 47 e8 40 7a 6f fc 43 80 7c 35 00 00 74
RSP: 0018:ffffc9000f567a20 EFLAGS: 00010283
RAX: ffffffff85563779 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000ec5a000 RSI: 00000000000003e4 RDI: 00000000000003e5
RBP: ffff888038d19f70 R08: ffff888038d19f97 R09: 0000000000000000
R10: ffff888038d19f68 R11: ffffed10071a33f3 R12: ffff888038d19f88
R13: 1ffff110071a33f1 R14: dffffc0000000000 R15: 0000000000000cc0
FS:  00007f0e543f56c0(0000) GS:ffff88808ca51000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000001c75a000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 mock_domain_alloc_pgtable drivers/iommu/iommufd/selftest.c:491 [inline]
 mock_domain_alloc_paging_flags+0x3ba/0x780 drivers/iommu/iommufd/selftest.c:548
 iommufd_hwpt_paging_alloc+0x3ab/0x830 drivers/iommu/iommufd/hw_pagetable.c:149
 iommufd_hwpt_alloc+0x496/0xc10 drivers/iommu/iommufd/hw_pagetable.c:369
 iommufd_fops_ioctl+0x4b5/0x5d0 drivers/iommu/iommufd/main.c:533
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0e57f9c799
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:00007f0e543f4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0e58215fa0 RCX: 00007f0e57f9c799
RDX: 0000200000000200 RSI: 0000000000003b89 RDI: 0000000000000003
RBP: 00007f0e58032c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0e58216038 R14: 00007f0e58215fa0 R15: 00007ffc55a17c98
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/24 09:13 upstream c369299895a5 baf8bf12 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in pt_iommu_amdv1_init
2026/03/20 19:43 upstream 0e4f8f1a3d08 85bf2a64 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pt_iommu_amdv1_init
2026/03/19 10:35 upstream 8a30aeb0d1b4 0199f9a1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pt_iommu_amdv1_init
2026/03/19 10:34 upstream 8a30aeb0d1b4 0199f9a1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pt_iommu_amdv1_init
2026/03/19 10:34 upstream 8a30aeb0d1b4 0199f9a1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pt_iommu_amdv1_init
* Struck through repros no longer work on HEAD.