Experiencing the same issue daily for months with my 2019 i9 MBP 16" + Dell U2719H connected via display port. Annoying. Nothing solved the problem to me yet.
panic(cpu 6 caller 0xffffff8017e9fc36): [kext.kalloc.2048]: element modified after free (off:1672, val:0xfffffffe00000000, sz:2048, ptr:0xffffff939025d000, prot:zero)
1672: 0xfffffffe00000000