Internal error in ata_sff_freeze
syzbot
syzbotHello,
syzbot found the following issue on:
HEAD commit: 2f1baf1fc892 Merge tag 'trace-v7.2-rc7' of git://git.kerne.. git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master console output: https://syzkaller.appspot.com/x/log.txt?x=1564469e580000 kernel config: https://syzkaller.appspot.com/x/.config?x=97ba2e017420cdcb dashboard link: https://syzkaller.appspot.com/bug?extid=891c7b195b408052e519 compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/fa3fbcfdac58/non_bootable_disk-2f1baf1f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/2b4adcfb67df/vmlinux-2f1baf1f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/72646a392f58/Image-2f1baf1f.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
EXT4-fs (vda): shut down requested (2)
Aborting journal on device vda-8.
Internal error: synchronous external abort: 0000000096000050 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 14268 Comm: syz.1.3901 Tainted: G M syzkaller #0 PREEMPT Tainted: [M]=MACHINE_CHECK Hardware name: linux,dummy-virt (DT) pstate: 814020c9 (Nzcv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : __raw_writeb arch/arm64/include/asm/io.h:29 [inline] pc : writeb include/asm-generic/io.h:265 [inline] pc : iowrite8 include/asm-generic/io.h:924 [inline] pc : ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] pc : ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1606 lr : __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] lr : ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167
sp : ffff800083c83960
x29: ffff800083c83960 x28: fdf0000006125500 x27: 0000000000000000
x26: 0000000000000001 x25: ffff800081f190d0 x24: ffff800082753b40
x23: 0000000000000000 x22: 0000000000000000 x21: f3f000003c8c0000
x20: 0000000000000000 x19: f3f000003c8c0000 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: f3f000003c8c23f6
x14: 0000000000000000 x13: 000000000006bb51 x12: ffff80007fffffff
x11: fff00000030ea808 x10: 000000800000c000 x9 : 0000000000000000 x8 : fcf0000004ada000 x7 : ffffc1ffc012b640 x6 : 0000000000000001 x5 : 00000c0000000000 x4 : ffffc1ffc012b640 x3 : ffff800082ceb208 x2 : 0000000000000000 x1 : 000000000000000a x0 : ffff8000885b1002
Call trace: writeb include/asm-generic/io.h:264 [inline] (P) iowrite8 include/asm-generic/io.h:924 [inline] (P) ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] (P) ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1606 (P) __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167 ata_host_start+0x13c/0x228 drivers/ata/libata-core.c:6041 ata_pci_sff_activate_host+0x50/0x340 drivers/ata/libata-sff.c:2275 ata_pci_init_one+0x19c/0x1d8 drivers/ata/libata-sff.c:2402 ata_pci_bmdma_init_one+0x14/0x20 drivers/ata/libata-sff.c:3170 ata_generic_init_one+0xc4/0x1ac drivers/ata/ata_generic.c:209 local_pci_probe+0x40/0xa8 drivers/pci/pci-driver.c:332 pci_call_probe drivers/pci/pci-driver.c:394 [inline] __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0xd8/0x288 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0xbc/0x2bc drivers/base/dd.c:706 __driver_probe_device+0x118/0x16c drivers/base/dd.c:868 device_driver_attach+0x48/0xb4 drivers/base/dd.c:1203 bind_store+0x7c/0xd8 drivers/base/bus.c:267 drv_attr_store+0x24/0x40 drivers/base/bus.c:125 sysfs_kf_write+0x7c/0x98 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x138/0x200 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x244/0x36c fs/read_write.c:687 ksys_write+0x70/0x108 fs/read_write.c:739 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __arm64_sys_write+0x1c/0x30 fs/read_write.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x54/0x10c arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:121 do_el0_svc+0x1c/0x34 arch/arm64/kernel/syscall.c:140 el0_svc+0x38/0x1fc arch/arm64/kernel/entry-common.c:736 el0t_64_sync_handler+0xa0/0xf0 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x1a4/0x1a8 arch/arm64/kernel/entry.S:594 Code: d65f03c0 f9404800 b4fffe60 d50332bf (39000001) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: d65f03c0 ret 4: f9404800 ldr x0, [x0, #144] 8: b4fffe60 cbz x0, 0xffffffffffffffd4 c: d50332bf dmb oshst * 10: 39000001 strb w1, [x0] <-- trapping instruction
---
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 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
syzbot
syzbotsyzbot has found a reproducer for the following issue on:
syzbot has found a reproducer for the following issue on:
HEAD commit: 818bebeb63dd drm/xe: Don't hand out the flat CCS storage a.. git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master console output: https://syzkaller.appspot.com/x/log.txt?x=139f8415580000 kernel config: https://syzkaller.appspot.com/x/.config?x=c2050ae6a504f163 dashboard link: https://syzkaller.appspot.com/bug?extid=891c7b195b408052e519 compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10021549580000
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/fa3fbcfdac58/non_bootable_disk-818bebeb.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6059523242a9/vmlinux-818bebeb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b5c6a1cf5025/Image-818bebeb.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
EXT4-fs (vda): shut down requested (2)
Aborting journal on device vda-8.
Internal error: synchronous external abort: 0000000096000050 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 3667 Comm: syz.2.17 Tainted: G M syzkaller #0 PREEMPT Tainted: [M]=MACHINE_CHECK Hardware name: linux,dummy-virt (DT) pstate: 414020c9 (nZcv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : __raw_writeb arch/arm64/include/asm/io.h:29 [inline] pc : writeb include/asm-generic/io.h:265 [inline] pc : iowrite8 include/asm-generic/io.h:924 [inline] pc : ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] pc : ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1616 lr : __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] lr : ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167
sp : ffff800089dab960
x29: ffff800089dab960 x28: f2f00000061cb300 x27: 0000000000000000
x26: 0000000000000001 x25: ffff800081f4bcc0 x24: ffff80008279aa48
x23: 0000000000000000 x22: 0000000000000000 x21: f0f0000013e58000
x20: 0000000000000000 x19: f0f0000013e58000 x18: 00000000ffffffff
x17: 0000000000000000 x16: 0000000000000000 x15: f0f0000013e5a3f6
x14: 0000000000000000 x13: 0000000000067000 x12: 0000000000004308
x11: fff000000314a808 x10: ffff800082ea0000 x9 : 0000000000000000 x8 : fbf0000003ff2000 x7 : ffffc1ffc00ffc40 x6 : ffffc1ffc00ffc40 x5 : 0000100000000000 x4 : 01ffdc0000000000 x3 : ffff800082d46be8 x2 : 0000000000000000 x1 : 000000000000000a x0 : ffff800083f55002
Call trace: writeb include/asm-generic/io.h:264 [inline] (P) iowrite8 include/asm-generic/io.h:924 [inline] (P) ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] (P) ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1616 (P) __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167 ata_host_start+0x13c/0x228 drivers/ata/libata-core.c:6110 ata_pci_sff_activate_host+0x50/0x340 drivers/ata/libata-sff.c:2285 ata_pci_init_one+0x19c/0x1d4 drivers/ata/libata-sff.c:2412 ata_pci_bmdma_init_one+0x14/0x20 drivers/ata/libata-sff.c:3180 ata_generic_init_one+0xc4/0x1ac drivers/ata/ata_generic.c:209 local_pci_probe+0x40/0xa8 drivers/pci/pci-driver.c:332 pci_call_probe drivers/pci/pci-driver.c:394 [inline] __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0xd8/0x288 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0xbc/0x2bc drivers/base/dd.c:706 __driver_probe_device+0x11c/0x184 drivers/base/dd.c:868 device_driver_attach+0x48/0xac drivers/base/dd.c:1203 bind_store+0x7c/0xd8 drivers/base/bus.c:267 drv_attr_store+0x24/0x40 drivers/base/bus.c:125 sysfs_kf_write+0x7c/0x98 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x138/0x200 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x244/0x36c fs/read_write.c:687 ksys_write+0x70/0x108 fs/read_write.c:739 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __arm64_sys_write+0x18/0x24 fs/read_write.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x54/0x10c arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:121 do_el0_svc+0x1c/0x34 arch/arm64/kernel/syscall.c:140 el0_svc+0x38/0x1fc arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x1a4/0x1a8 arch/arm64/kernel/entry.S:590 Code: d65f03c0 f9404800 b4fffe60 d50332bf (39000001) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: d65f03c0 ret 4: f9404800 ldr x0, [x0, #144] 8: b4fffe60 cbz x0, 0xffffffffffffffd4 c: d50332bf dmb oshst * 10: 39000001 strb w1, [x0] <-- trapping instruction
---
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.
syzbot
syzbotsyzbot has found a reproducer for the following issue on:
syzbot has found a reproducer for the following issue on:
HEAD commit: 73ae59e97596 Merge tag 'erofs-for-7.3-rc1-2' of git://git... git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master console output: https://syzkaller.appspot.com/x/log.txt?x=10be6979580000 kernel config: https://syzkaller.appspot.com/x/.config?x=c35e49327a11721f dashboard link: https://syzkaller.appspot.com/bug?extid=891c7b195b408052e519 compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1247f979580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15f0d979580000
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/fa3fbcfdac58/non_bootable_disk-73ae59e9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ee58aef7a7b5/vmlinux-73ae59e9.xz
kernel image: https://storage.googleapis.com/syzbot-assets/629007cb8bf8/Image-73ae59e9.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
EXT4-fs (vda): shut down requested (2)
Aborting journal on device vda-8.
Internal error: synchronous external abort: 0000000096000050 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 3665 Comm: syz.2.17 Tainted: G M W syzkaller #0 PREEMPT Tainted: [M]=MACHINE_CHECK, [W]=WARN Hardware name: linux,dummy-virt (DT) pstate: 414020c9 (nZcv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : __raw_writeb arch/arm64/include/asm/io.h:29 [inline] pc : writeb include/asm-generic/io.h:265 [inline] pc : iowrite8 include/asm-generic/io.h:924 [inline] pc : ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] pc : ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1616 lr : __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] lr : ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167
sp : ffff800089c3b900
x29: ffff800089c3b900 x28: fcf000000690d500 x27: 0000000000000000
x26: 0000000000000001 x25: ffff800081f5bac0 x24: ffff8000827b1910
x23: 0000000000000000 x22: 0000000000000000 x21: fdf0000008db0000
x20: 0000000000000000 x19: fdf0000008db0000 x18: 00000000ffffffff
x17: 0000000000000000 x16: 0000000000000000 x15: fdf0000008db23f6
x14: 0000000000000000 x13: 0000000000066e8b x12: 0000000000004308
x11: fff000000315b808 x10: ffff800082eb0000 x9 : 0000000000000000 x8 : fcf0000005aa6000 x7 : f7f0000003f950d0 x6 : ffffc1ffc016a940 x5 : 00000c0000000000 x4 : 01fffc0000000000 x3 : ffff800082d56c88 x2 : 0000000000000000 x1 : 000000000000000a x0 : ffff800083edd002
Call trace: writeb include/asm-generic/io.h:264 [inline] (P) iowrite8 include/asm-generic/io.h:924 [inline] (P) ata_sff_set_devctl drivers/ata/libata-sff.c:233 [inline] (P) ata_sff_freeze+0x7c/0x90 drivers/ata/libata-sff.c:1616 (P) __ata_port_freeze drivers/ata/libata-eh.c:1124 [inline] ata_eh_freeze_port+0x34/0x5c drivers/ata/libata-eh.c:1167 ata_host_start+0x13c/0x228 drivers/ata/libata-core.c:6110 ata_pci_sff_activate_host+0x50/0x340 drivers/ata/libata-sff.c:2285 ata_pci_init_one+0x19c/0x1d4 drivers/ata/libata-sff.c:2412 ata_pci_bmdma_init_one+0x14/0x20 drivers/ata/libata-sff.c:3180 ata_generic_init_one+0xc4/0x1ac drivers/ata/ata_generic.c:209 local_pci_probe+0x40/0xa8 drivers/pci/pci-driver.c:354 pci_call_probe+0x68/0x198 drivers/pci/pci-driver.c:416 __pci_device_probe drivers/pci/pci-driver.c:478 [inline] pci_device_probe+0xb8/0x158 drivers/pci/pci-driver.c:512 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0xbc/0x2bc drivers/base/dd.c:706 __driver_probe_device+0x11c/0x184 drivers/base/dd.c:868 device_driver_attach+0x48/0xac drivers/base/dd.c:1203 bind_store+0x7c/0xd8 drivers/base/bus.c:267 drv_attr_store+0x24/0x40 drivers/base/bus.c:125 sysfs_kf_write+0x7c/0x98 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x138/0x200 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x244/0x36c fs/read_write.c:687 ksys_write+0x70/0x108 fs/read_write.c:739 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __arm64_sys_write+0x18/0x24 fs/read_write.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x54/0x10c arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:121 do_el0_svc+0x1c/0x34 arch/arm64/kernel/syscall.c:140 el0_svc+0x38/0x1fc arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x1a4/0x1a8 arch/arm64/kernel/entry.S:590 Code: d65f03c0 f9404800 b4fffe60 d50332bf (39000001) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: d65f03c0 ret 4: f9404800 ldr x0, [x0, #144] 8: b4fffe60 cbz x0, 0xffffffffffffffd4 c: d50332bf dmb oshst * 10: 39000001 strb w1, [x0] <-- trapping instruction
---
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.