I am having the same problem as well. I am using the computer and all of the sudden, it shuts down and restarts.
iMac 2017, 27-inch iMac with Retina 5K display
Running Mac OS X 10.15.4
panic(cpu 2 caller 0xffffff800137a718): "a freed zone element has been modified in zone kalloc.128: expected 0xdeadbeefdeadbeef but found 0xffffff8090c98cd0, bits changed 0x2152416f4e64323f, at offset 88 of 128 in element 0xffffff8061c30080, cookies 0x3f00112ba1880f9e 0x53521ee250cdb4f"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/osfmk/kern/zalloc.c:1229
Backtrace (CPU 2), Frame : Return Address
0xffffff98c599b260 : 0xffffff80013215cd
0xffffff98c599b2b0 : 0xffffff800145a3c5
0xffffff98c599b2f0 : 0xffffff800144bf7e
0xffffff98c599b340 : 0xffffff80012c7a40
0xffffff98c599b360 : 0xffffff8001320c97
0xffffff98c599b460 : 0xffffff8001321087
0xffffff98c599b4b0 : 0xffffff8001ac2c7c
0xffffff98c599b520 : 0xffffff800137a718
0xffffff98c599b550 : 0xffffff800137afb6
0xffffff98c599b570 : 0xffffff800137c5e8
0xffffff98c599b5b0 : 0xffffff8001378a37
0xffffff98c599b6e0 : 0xffffff800132e4b4
0xffffff98c599b750 : 0xffffff8001997647
0xffffff98c599b780 : 0xffffff8001a41ad3
0xffffff98c599b7d0 : 0xffffff8001a3489f
0xffffff98c599b860 : 0xffffff8001a35377
0xffffff98c599b8a0 : 0xffffff7f8466466e
0xffffff98c599b8c0 : 0xffffff7f84678b2e
0xffffff98c599b990 : 0xffffff7f84648b4f
0xffffff98c599ba20 : 0xffffff7f846523ca
0xffffff98c599ba80 : 0xffffff7f84653dc9
0xffffff98c599bac0 : 0xffffff8001a54f3e
0xffffff98c599bb10 : 0xffffff7f84653fc2
0xffffff98c599bb60 : 0xffffff8001a5e163
0xffffff98c599bca0 : 0xffffff8001409bb2
0xffffff98c599bdb0 : 0xffffff8001327328
0xffffff98c599be10 : 0xffffff80012fdcc5
0xffffff98c599be70 : 0xffffff8001314aa2
0xffffff98c599bf00 : 0xffffff8001432605
0xffffff98c599bfa0 : 0xffffff80012c8226
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(438.4.5)[33DA860E-90A6-3224-A944-93FA125B054E]@0xffffff7f84627000->0xffffff7f846ebfff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[5EF51D44-9FC7-357F-9FB7-3468FD748382]@0xffffff7f827d2000
dependency: com.apple.iokit.IOPCIFamily(2.9)[1B1F3BBB-9212-3CF9-94F8-8FEF0D3ACEC4]@0xffffff7f81d31000
dependency: com.apple.iokit.IOSurface(269.11)[E71EAC82-A838-3430-B5D1-2CB347E6CF59]@0xffffff7f845f5000
dependency: com.apple.iokit.IOGraphicsFamily(575.1)[D47CA481-C5E5-3F03-9B04-6634DF5F3121]@0xffffff7f82924000
dependency: com.apple.iokit.IOReportFamily(47)[337B24B2-0261-3521-8D1B-23387FC1D657]@0xffffff7f82511000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
19E287
Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide: 0x0000000001000000
Kernel text base: 0xffffff8001200000
__HIB text base: 0xffffff8001100000
System model name: iMac18,3 (Mac-BE088AF8C5EB4FA2)
System shutdown begun: NO
Panic diags file available: YES (0x0)
System uptime in nanoseconds: 33088741599336
last loaded kext at 41904137173: @filesystems.msdosfs 1.10 (addr 0xffffff7f82989000, size 69632)
loaded kexts:
com.Perfect.Driver.SystemAudioRecorder 1.0.0
com.symantec.ips.kext 9.0.2
com.symantec.nfm.kext 9.0.1
com.symantec.internetSecurity.kext 9.0.3
com.symantec.SymXIPS 9.0.1
@filesystems.msdosfs 1.10
@fileutil 20.036.15
>X86PlatformShim 1.0.0
>AGPM 111.4.4
>!APlatformEnabler 2.7.0d0
@filesystems.autofs 3.0
@kext.AMDRadeonServiceManager 3.0.8
>AudioAUUC 1.70
>!AUpstreamUserClient 3.6.8
@kext.AMDFramebuffer 3.0.8
>!AHDAHardwareConfigDriver 283.15
>!AHDA 283.15
@kext.AMDRadeonX4000 3.0.8
>!AGraphicsDevicePolicy 5.1.16
@AGDCPluginDisplayMetrics 5.1.16
>!A!IPCHPMC 2.0.1
>!A!IKBLGraphics 14.0.5
>!AHV 1
|IOUserEthernet 1.0.1
|IO!BSerialManager 7.0.4f6
>pmtelemetry 1
>!AThunderboltIP 3.1.4