panic: runtime error: slice bounds out of range [:NUM] with capacity NUM

0 views
Skip to first unread message

syzbot

unread,
May 20, 2024, 3:17:24 PMMay 20
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: ab5fd4cb8341 drm/amdkfd: don't allow mapping the MMIO HDP ..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=155455cc980000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=9b93c29002d147470e64

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/8058083224db/disk-ab5fd4cb.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/850ce86718c8/bsd-ab5fd4cb.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6c64c3ced325/kernel-ab5fd4cb.xz

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

panic: runtime error: slice bounds out of range [:1] with capacity 0

goroutine 27 [running]:
encoding/gob.(*Encoder).EncodeValue(0xc000036d20, {0xa97aa0?, 0xc000000b58?, 0x41173b?})
/usr/local/go/src/encoding/gob/encoder.go:232 +0x591
encoding/gob.(*Encoder).Encode(0xbbe1c50121fbe377?, {0xa97aa0?, 0xc000000b58?})
/usr/local/go/src/encoding/gob/encoder.go:176 +0x75
net/rpc.(*gobClientCodec).WriteRequest(0xc000017680, 0xc0000176b0?, {0xa941a0, 0xc000017920})
/usr/local/go/src/net/rpc/client.go:218 +0x36
net/rpc.(*Client).send(0xc000000b40, 0xc000bb2fa0)
/usr/local/go/src/net/rpc/client.go:91 +0x224
net/rpc.(*Client).Go(0xc000000b40, {0xc2a6e3, 0x16}, {0xa941a0, 0xc000017920}, {0x0, 0x0}, 0x0)
/usr/local/go/src/net/rpc/client.go:315 +0x13a
github.com/google/syzkaller/pkg/rpctype.(*RPCClient).AsyncCall(...)
/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:92
main.(*FuzzerTool).startExecutingCall(...)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:245
main.(*Proc).executeProgram(0xc0000a2f00, {0x453, {0xc000a1e160, 0x14d, 0x14d}, {0x15, 0xffe2, 0x0}, 0x1, 0x0, ...})
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:123 +0x12a
main.(*Proc).execute(0xc0000a2f00?, {0x453, {0xc000a1e160, 0x14d, 0x14d}, {0x15, 0xffe2, 0x0}, 0x1, 0x0, ...})
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:101 +0x98
main.(*Proc).loop(0xc0000a2f00)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:52 +0x278
created by main.startProc in goroutine 1
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:38 +0x10a


---
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