Hello,
syzbot found the following crash on:
HEAD commit: 63a6c5601c3d remove a misleading comment; ok ratchov@
git tree:
https://github.com/openbsd/src.git master
console output:
https://syzkaller.appspot.com/x/log.txt?x=158b8999400000
dashboard link:
https://syzkaller.appspot.com/bug?extid=c2543ae6b6692a5843e3
compiler:
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+c2543a...@syzkaller.appspotmail.com
login: panic: pool_do_get: mcl2k free list modified: page
0xffffff001a066000; item addr 0xffffff001a068800; offset
0x0=0x6440d50447c18eeb != 0x6440d5048562fa9b
Stopped at db_enter+0xa: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 40756 32885 0 0x14000 0x200 0 softnet
db_enter() at db_enter+0xa
panic() at panic+0x147
pool_do_get(2,ffffffff81eaaf50,ffffffff81eaaf50) at pool_do_get+0x3ae
pool_get(ffffff001bdf4600,2) at pool_get+0x77
m_clget(4e,ffff800000029000,1) at m_clget+0x1e0
vio_populate_rx_mbufs(ffff800000029050) at vio_populate_rx_mbufs+0xd4
vio_rx_intr(ffffffff) at vio_rx_intr+0x4d
virtio_check_vqs(0) at virtio_check_vqs+0x166
virtio_pci_legacy_intr(ffff80000001cc00) at virtio_pci_legacy_intr+0x74
intr_handler(4,ffff800000039100) at intr_handler+0x3f
Xintr_legacy6_untramp(4,ffffffff81a48c20,4,18041969,4,d) at
Xintr_legacy6_untramp+0x1b3
Xspllower(0,ffffffff81eac6e8,ffffffff81eac6d0,ffffffff81e0fff0,ffffffff81636401,ffff800000021280)
at
Xspllower+0xc
softintr_dispatch(0) at softintr_dispatch+0xca
Xsoftclock(ffff800000029560,ffff8000000294e8,ffffffff812aec70,38c33adba839fd,ffffffff81636401,ffff800000029588)
at
Xsoftclock+0x1f
end trace frame: 0xffff80000e25d7d0, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
--db_more-- reports. Insufficient info
makes it difficult to find and fix bugs.
ddb> trace
db_enter() at db_enter+0xa
panic() at panic+0x147
pool_do_get(2,ffffffff81eaaf50,ffffffff81eaaf50) at pool_do_get+0x3ae
pool_get(ffffff001bdf4600,2) at pool_get+0x77
m_clget(4e,ffff800000029000,1) at m_clget+0x1e0
vio_populate_rx_mbufs(ffff800000029050) at vio_populate_rx_mbufs+0xd4
vio_rx_intr(ffffffff) at vio_rx_intr+0x4d
virtio_check_vqs(0) at virtio_check_vqs+0x166
virtio_pci_legacy_intr(ffff80000001cc00) at virtio_pci_legacy_intr+0x74
intr_handler(4,ffff800000039100) at intr_handler+0x3f
Xintr_legacy6_untramp(4,ffffffff81a48c20,4,18041969,4,d) at
Xintr_legacy6_untramp+0x1b3
Xspllower(0,ffffffff81eac6e8,ffffffff81eac6d0,ffffffff81e0fff0,ffffffff81636401,ffff800000021280)
at
Xspllower+0xc
softintr_dispatch(0) at softintr_dispatch+0xca
Xsoftclock(ffff800000029560,ffff8000000294e8,ffffffff812aec70,38c33adba839fd,ffffffff81636401,ffff800000029588)
at
Xsoftclock+0x1f
ifq_serialize(ffff8000000294e8,0) at ifq_serialize+0x123
if_enqueue(ffff800000029290,ffffff001bdf4a00) at if_enqueue+0xc6
ether_output(ffffff001bdf4a00,ffffff001bdc52a0,ffffff001bdf4ab0,ffff800000029290)
at
ether_output+0x25c
ip_output(43e0,0,ffff8000004d2ee0,ffffff001bdf4a00,ffff8000004d2ee0,38c33adba83--db_more--
9fd)
at ip_output+0xcdc
--db_more-- tcp_output(0) at
tcp_output+0x1d5f
--db_more--
tcp_input(ffff80000e25dc88,ffff80000e25dc88,2,6) at
tcp_input+0x1946
--db_more--
ip_deliver(ffff80000e25dc84,ffff80000e25dc88,ffff800000021040,ffffff001bdf4600)
--db_more-- at ip_deliver+0x23b
ipintr() at ipintr+0x71
if_netisr(ffffffff8129a8d0) at if_netisr+0x9e
taskq_thread(0) at taskq_thread+0x72
end trace frame: 0x0, count: -24
ddb> registers
No such command
---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.