Same here since i got my 16" MacBook Pro (2019) AMD Radeon 5300M 18 Month ago. Happens every time i plug/unplug my usb-c docking station (HP G5). MacOS Big Sur 11.5.2.
panic(cpu 4 caller 0xffffff8005e9fc36): [kext.kalloc.2048]: element modified after free (off:1584, val:0x0000210100000000, sz:2048, ptr:0xffffff9366301000, prot:zero)
1584: 0x0000210100000000
1592: 0x0000000b00005400
1600: 0x0000000000000009
1608: 0x0000020300000100
1616: 0x0000015400000154
1624: 0x0000000100000a00
1632: 0x000008340000041a
1640: 0x0000000000001400
1672: 0xfffffffe00000000
Backtrace (CPU 4), Frame : Return Address
0xffffffb0cec0a570 : 0xffffff800568e04d
0xffffffb0cec0a5c0 : 0xffffff80057d4e13
0xffffffb0cec0a600 : 0xffffff80057c540a
0xffffffb0cec0a650 : 0xffffff8005632a2f