panic: runtime error: index out of range [ADDR] with length NUM

0 views
Skip to first unread message

syzbot

unread,
Feb 22, 2024, 12:18:17 PMFeb 22
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 609e0b1cb961 Improve db_ctf_pprint(), implement handlers f..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1284e3d0180000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=97718105e551532c357e

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/b4e1df26f4fc/disk-609e0b1c.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/026feee7bb61/bsd-609e0b1c.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/ecbbdbeb51c8/kernel-609e0b1c.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+977181...@syzkaller.appspotmail.com

panic: runtime error: index out of range [300252880] with length 992

goroutine 68 [running]:
github.com/google/syzkaller/prog.ArgCommon.Type(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:61
github.com/google/syzkaller/prog.(*GroupArg).serialize(0xc001c94e40, 0xc00158d770)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:193 +0x1ab
github.com/google/syzkaller/prog.(*serializer).arg(0xc99998?, {0xc998d8?, 0xc001c94e40?})
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:121 +0x29
github.com/google/syzkaller/prog.(*GroupArg).serialize(0xc001c94e20, 0xc00158d770)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:199 +0x245
github.com/google/syzkaller/prog.(*serializer).arg(0xc91180?, {0xc998d8?, 0xc001c94e20?})
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:121 +0x29
github.com/google/syzkaller/prog.(*PointerArg).serialize(0xc001fc9f20, 0xc00158d770)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:142 +0x3a5
github.com/google/syzkaller/prog.(*serializer).arg(0xc91180?, {0xc999d8?, 0xc001fc9f20?})
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:121 +0x29
github.com/google/syzkaller/prog.(*serializer).call(0xc00158d770, 0xc001ff7630)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:82 +0x211
github.com/google/syzkaller/prog.(*Prog).serialize(0xc001969640, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:46 +0xcd
github.com/google/syzkaller/prog.(*Prog).Serialize(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/encoding.go:30
main.(*Proc).logProgram(0xc0011db980, 0xc91200?, 0xc?)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:367 +0x3e
main.(*Proc).executeRaw(0xc0011db980, 0xc00199f0c0?, 0xc001969640, 0x8)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:336 +0x130
main.(*Proc).executeAndCollide(0xc0011db980, 0xb94f6e?, 0xc00140c9c0?, 0xc000e29f38?, 0xc001837580?)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:298 +0x6c
main.(*Proc).loop(0xc0011db980)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:97 +0x3d7
created by main.main in goroutine 1
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:336 +0x1665


---
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 syzk...@googlegroups.com.

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
Reply all
Reply to author
Forward
0 new messages