UBSAN FTW. Want me to copy this trace into the commit text as well?
Yes, I think it would be good as this issue is found by enabling UBSAN. Also, it gives the context that by inserting a PD charger adapter that can support more than 4 PDOs, device can crash because of an OOB access.
-Subbaraman