Big Sur panic when connect/disconnect usb-c dock

Big Sur panic when connect/disconnect usb-c dock (tested with many usb–c docks including baseus, ugreen, non apple – not reproduced with apple multiport adapter).

Problem persist! I have many panics every day!

panic(cpu 7 caller 0xffffff8017898976): [kext.kalloc.2048]: element modified after free (off:1672, val:0xffffffff00000000, sz:2048, ptr:0xffffff93d7fa5800, prot:zero)
1672: 0xffffffff00000000
Backtrace (CPU 7), Frame : Return Address
0xffffffa1daab2640 : 0xffffff80170870ad
0xffffffa1daab2690 : 0xffffff80171cddd3
0xffffffa1daab26d0 : 0xffffff80171be3ca
0xffffffa1daab2720 : 0xffffff801702ba2f
0xffffffa1daab2740 : 0xffffff80170868cd
0xffffffa1daab2860 : 0xffffff8017086bc3
0xffffffa1daab28d0 : 0xffffff801789694a
0xffffffa1daab2940 : 0xffffff8017898976
0xffffffa1daab2dc0 : 0xffffff80170e5a26
0xffffffa1daab2e30 : 0xffffff801709668c
0xffffffa1daab2e80 : 0xffffff80177a8822
0xffffffa1daab2ea0 : 0xffffff801a1596dc
0xffffffa1daab2ec0 : 0xffffff801a1676bc
0xffffffa1daab2f20 : 0xffffff801a159e2e
0xffffffa1daab2fc0 : 0xffffff801a15bfa7
0xffffffa1daab3270 : 0xffffff801a15fe3d
0xffffffa1daab3540 : 0xffffff801a15cda2
0xffffffa1daab37f0 : 0xffffff801a15a333
0xffffffa1daab3950 : 0xffffff801a1547b1
0xffffffa1daab3b50 : 0xffffff801787fb4a
0xffffffa1daab3b90 : 0xffffff801731a98f
0xffffffa1daab3bd0 : 0xffffff80173407c8
0xffffffa1daab3c90 : 0xffffff80173264a8
0xffffffa1daab3ee0 : 0xffffff8017327059
0xffffffa1daab3f40 : 0xffffff8017739fce
0xffffffa1daab3fa0 : 0xffffff801702c1f6
Kernel Extensions in backtrace:
com.apple.security.sandbox(300.0)[F9746111-2761-31A8-A9C8-3DCA8976E468]@0xffffff801a148000->0xffffff801a18dfff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[7C10DA84-DFD9-3C2D-B503-E648E488EC9D]@0xffffff80186c0000->0xffffff80186d5fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[A78CAAA2-43A6-38EF-AEDA-3B957D358855]@0xffffff8019c6d000->0xffffff8019c7efff
dependency: com.apple.kext.AppleMatch(1.0.0d1)[DB7AEFA5-928C-3B7F-87CC-EDC47D98B267]@0xffffff80186bc000->0xffffff80186befff

Process name corresponding to current thread: update_dyld_sim_shared_cache
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20F5046g

Kernel version:
Darwin Kernel Version 20.5.0: Thu Apr 15 05:31:19 PDT 2021; root:xnu-7195.120.38.111.1~4/RELEASE_X86_64

My reports in feedback assistant: FB9085399, FB9084201, FB9080122, FB9078447, FB9077541, FB9073646, FB9069424, FB9036423, FB9006281, FB8996761, FB8985931, FB8984349, FB8982979 ...

System: MacBook Pro (16-inch, 2019)

OS Version: Big Sur 11.5

Graphics: AMD Radeon Pro 5300M 4 GB, Intel UHD Graphics 630 1536 MB

Problem persists on Big Sur 11.5 update. When I connect to external monitor, MacBook Pro crashes. Has been months now of device crashing when connecting to external monitor. Ridiculous.

System: MacBook Pro (16-inc, 2019) OS Version: Big Sure 11.5 Graphics: Intel UHD Graphics 630 and AMD Radeon Pro 5300M

Same issue as above. Plugging in an HDMI or DisplayPort external monitor results in the system crashing and rebooting. This did NOT occur on this system on Catalina but as soon as I upgraded to 11.4 it started happening.

Kernel panic in my case has nothing to do with peripherals. Instead it happens anytime my laptop goes to sleep. It is an extremely troubling bug as, again, it has NOTHING to do with 3rd party hardware/software/connectors in my case.

It began when I updated to Big Sur 11.5 several days ago. Rebooting and complete shutdown does not help:

Hardware Overview:

 Model Name: MacBook Pro  Model Identifier: MacBookPro13,3  Processor Name: Quad-Core Intel Core i7  Processor Speed: 2.9 GHz  Number of Processors: 1  Total Number of Cores: 4  L2 Cache (per Core): 256 KB  L3 Cache: 8 MB  Hyper-Threading Technology: Enabled  Memory: 16 GB  System Firmware Version: 429.140.8.0.0  SMC Version (system): 2.38f1

Just updated to the 11.5.1 update today and it did not fix my issue either. I reported this issue to apple about a week ago and they suggested backing up and doing a fresh install. I am getting panics when I connect to my cal digit usb c thunderbolt dock. my dock is display port and I'm using adapters cause the 6monitors I have are hdmi(I bought the display port one without realizing there was an hdmi option) I can connect for a bout 2 or 3 min. then it panics and restarts. I will try the fresh install method in a few days when I have the time and update with the status of that potential fix. oh forgot to mention I'm on a 2019 16 Mac book pro with i9 32gig ram 2tb storage, and radeon 5500m 8gb model. if anyone can help I would appreciate it.

Just an additional point on the graph.

I have the issue (with my pluggable TB3 dock) far, far less now my monitors are on HDMI vs DP. Although I did get it once every so ofter, mainly after waking my machine up.

However, since unplugging a powered USB hub that I had plugged into the TB3 dock (by powered, I mean it has it's own power adapter) I have had zero issues. All the same peripherals are plugged in via an alternative dock (both are just regular USB 3.0 docks, nothing fancy) and all is well. So far 🤞🏻

I have now been added to this problem... My company is pushing everyone with a Mac to upgrade to Big Sur and now my machine crashes every other time I connect or disconnect my CalDigit USB-C Pro dock. I have two ASUS displays connected with DisplayPort.

I downloaded the latest Hub Support driver from CalDigit but that didn't change anything.

This is very frustrating especially with not having the ability to go back to Catallina.

I somehow feel it could have something to do with HDCP. I also have that issue with my HP G2 Dock. Not only does it crash the machine, but regularly starts to stutter on the external screen (once every few seconds). If you then look into log console you will find lots of lines about stalled HDCP actions that come exactly when the stutter occurs. The latest firmware update of the G2 dock did indeed brought some HDCP fixes (mostly for HDCP 1.4 <> 2.2 switching).

For now, I just connected the Monitor to the Thunderbolt downstream port on the G2 (which bypasses the DP Hub in the Dock) and have no such issues. There must be some problem with those DisplayPort Hubs and macOS. On Bootcamp there are no problems, but Windows also doesn't HDCP encypts your content if there's not reason for it. macOS does all the time if the devices support HDCP.

I was able to get around the problem by connecting to the monitor via a USB-C to DisplayPort cable, so it doesn't use the USB Hub to transmit image data. Not the best solution, but I was able to use all the other peripherals (keyboard, mouse, Ethernet) along with the 4k monitor.

It's so annoying. I have the exact same setup at home as well at the office. The only exception is, that my two Lenovo ThinkVision P24h-10 monitors at the office are the newer 75Hz variant. At home I have absolutely no problem. At the office my MacBook Pro 16" (AMD Radeon Pro 5300M 4 GB) crashes all the time. Exact same pattern as everyone here. I plug in the monitors wake up my MacBook… woosh… Fans spins — Kernel Panic.

Happens since 11.13. It's nice that the problem is fixed in 12 Beta but I need this machine for work so beta software is pretty much non acceptable.

OK im not sure if this applies to anyone here however cal digit has a driver support package listed in library/extensions. I found an older post about it causing issues on a different version of Mac OS from last year. I moved that .kext file to trash and I have stopped having the issue. I hope this helps those with this problem. This is for the cal digit dock only. if you are having this issue with a different dock then you may want to look into the driver support for that dock.

I’ve unfortunately been experiencing this as well. Plugable, the creator of the dock I’m using, posted about the issue and a possible workaround until Apple fixes the issue.

https://kb.plugable.com/thunderbolt-3-docks/kernel-panic-when-connecting-the-dock-to-my-macbook-pro-16

The workaround they suggested is to unplug HDMI displays before you plug the thunderbolt cable into the laptop and then plug the displays back in. haven’t tested this out yet but thought I would share.

The lack of acknowledgement from Apple in this regard is mind boggling, with it clearly happening in a variety of combinations with external hardware, both through hubs/docks or displays with integrated hubs - in my case with a CalDigit USB-C Pro dock (using Thunderbolt 3) or random LG and Dell monitors directly.

For CalDigit users, I'm also a bit baffled that their support seems to still tell people they're unaware (reading other comments), since they have this knowledge base article up since January 2021: https://www.caldigit.com/my-intel-based-mac-crashes-when-un-docking-or-re-docking/

I've been trying the workaround suggested in there of waiting for a couple seconds between unplug and re-plug before/after going to sleep, which anecdotally seems to have reduced the number of kernel panics for me.

Hello everyone!

Same problem using Allure by eSTUFF USB C hub (100W). I'm using a display port with my LG monitor. Sometimes, probably when I plug in the station (probably) before waking up my a2141 model (taking it from home to office), the monitor won't display anything. When I try to reconnect the monitor, the system hangs and the kernel panic is visible.

I was pretty sure, that most of the panic information was related to the AMD graphics card - it has a sense for me because it's related to displaying the graphic on the monitor. Problem is, that the signal must be converted from USB C to DP. Hub in description is quite fine, I had a lot of single wired hubs, and when I plug-in monitor, all other devices hang after a while, and the hub was so hot that you can't touch it. This version promises, that they use a separate processor for each port, so it's not a problem with this device itself. Apple - please revise the driver, there must be something common in all those problems we present here!

@matthiaswenz - are you suggesting plugging the dock after wake up or before?

Same problem here, MacBook Pro (16-inch, 2019) with CalDigit TS3 Plus, two 4k samsung screen.

I have the same recurring problem as well. About 1 to 2 times per week will get a kernel panic. This happens on wake from sleep.

Mac OS 11.5.1. MacBook Pro 16 inch 2019. System Firmware Version: 1554.140.20.0.0 (iBridge: 18.16.14759.0.1,0)

Using a WAVLINK Thunderbolt 3 Display Docking station. Model UTD21 REV B.

I power the laptop from that docking station through the USB-C port and have 2x 4k LG monitors connected on the rear of that using Display port.

panic(cpu 3 caller 0xffffff800929fc36): [kext.kalloc.2048]: element modified after free (off:1584, val:0x0000210100000000, sz:2048, ptr:0xffffff93ce3b3000, prot:zero)
 1584: 0x0000210100000000
 1592: 0x0000000b00005400
 1600: 0x0000000000000009
 1608: 0x0000020300000100
 1616: 0x0000015400000154
 1624: 0x0000001000000a00
 1632: 0x000008340000041a
 1640: 0x0000000000001400
Backtrace (CPU 3), Frame : Return Address
0xffffffa1be712d00 : 0xffffff8008a8e04d 
0xffffffa1be712d50 : 0xffffff8008bd4e13 
0xffffffa1be712d90 : 0xffffff8008bc540a 
0xffffffa1be712de0 : 0xffffff8008a32a2f 
0xffffffa1be712e00 : 0xffffff8008a8d86d 
0xffffffa1be712f20 : 0xffffff8008a8db63 
0xffffffa1be712f90 : 0xffffff800929dc0a 
0xffffffa1be713000 : 0xffffff800929fc36 
0xffffffa1be713480 : 0xffffff8008aec9e6 
0xffffffa1be7134f0 : 0xffffff8008a9d65c 
0xffffffa1be713540 : 0xffffff80091ae872 
0xffffffa1be713560 : 0xffffff800bb5d944 
0xffffffa1be713580 : 0xffffff800bb6bb08 
0xffffffa1be7135e0 : 0xffffff800bb5e096 
0xffffffa1be713680 : 0xffffff800bb6020f 
0xffffffa1be713930 : 0xffffff800bb5e59b 
0xffffffa1be713a90 : 0xffffff800bb5389f 
0xffffffa1be713af0 : 0xffffff800bb583b0 
0xffffffa1be713cb0 : 0xffffff800928575e 
0xffffffa1be713d00 : 0xffffff8008d487af 
0xffffffa1be713e10 : 0xffffff8008d3dd41 
0xffffffa1be713f40 : 0xffffff800914001e 
0xffffffa1be713fa0 : 0xffffff8008a331f6 
      Kernel Extensions in backtrace:
         com.apple.security.sandbox(300.0)[305D7379-15AF-36C7-A23A-F8E16A52132C]@0xffffff800bb4c000->0xffffff800bb92fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[152D7047-0D43-3CA8-B1EA-251D3F80AC28]@0xffffff800a0c0000->0xffffff800a0d5fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[6CD2A6EC-9FFC-370D-8FEE-C8016E5C6BBA]@0xffffff800b66f000->0xffffff800b680fff
            dependency: com.apple.kext.AppleMatch(1.0.0d1)[B81FB839-709B-3BF8-87E6-640E9505A162]@0xffffff800a0bc000->0xffffff800a0befff

Process name corresponding to current thread: installd
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20G80

Kernel version:
Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64

One more here.. It is frustrating//

Stop being such a sneaky lying *** and maybe you might be able to resolve some of your sneaky USB router issues

I've been facing the same issue for months now, it's been extremely annoying. My MBP16" 2019 crashes almost every day once or twice. A $2000+ dollars laptop that can work with a monitor is completely unacceptable.

Today I was working at the office and I got a new kernel panic while reconnecting my USB-C dock:

panic(cpu 1 caller 0xfffffff00efe8d90): x86 CPU CATERR detected
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 19P50284g
macOS version: 20G95
Kernel version: Darwin Kernel Version 21.0.0: Sun Jun 20 18:32:24 PDT 2021; root:xnu-8011.0.0.121.4~1/RELEASE_ARM64_T8010
Kernel UUID: 46970279-CCEF-30AD-822F-1A1053068BC2
iBoot version: iBoot-7429.0.133.121.1
secure boot?: YES
x86 EFI Boot State: 0x16
x86 System State: 0x0
x86 Power State: 0x0
x86 Shutdown Cause: 0xec
x86 Previous Power Transitions: 0x10001000100
PCIeUp link state: 0x89473611
Paniclog version: 13
Kernel slide:      0x0000000006fa4000
Kernel text base:  0xfffffff00dfa8000
mach_absolute_time: 0x864ad301482
Epoch Time:        sec       usec
  Boot    : 0x61155c50 0x000b0ffb
  Sleep   : 0x611b8616 0x00045947
  Wake    : 0x611b8787 0x00089b09
  Calendar: 0x611bd3e6 0x000d5c26

CORE 0: PC=0xfffffff00e8aa138, LR=0xfffffff00e7a685c, FP=0xffffffeb0ee63ee0
CORE 1 is the one that panicked. Check the full backtrace for details.
Panicked task 0xffffffe133564648: 0 pages, 233 threads: pid 0: kernel_task
Panicked thread: 0xffffffe133861550, backtrace: 0xffffffeb03f5b6b0, tid: 392
		  lr: 0xfffffff00e776af4  fp: 0xffffffeb03f5b6f0
		  lr: 0xfffffff00e776878  fp: 0xffffffeb03f5b760
		  lr: 0xfffffff00e8a7b7c  fp: 0xffffffeb03f5b840
		  lr: 0xfffffff00edc55fc  fp: 0xffffffeb03f5b850
		  lr: 0xfffffff00e77658c  fp: 0xffffffeb03f5bbd0
		  lr: 0xfffffff00e77658c  fp: 0xffffffeb03f5bc30
		  lr: 0xfffffff00f89b440  fp: 0xffffffeb03f5bc50
		  lr: 0xfffffff00efe8d90  fp: 0xffffffeb03f5bc80
		  lr: 0xfffffff00efd636c  fp: 0xffffffeb03f5bce0
		  lr: 0xfffffff00efdc800  fp: 0xffffffeb03f5bd30
		  lr: 0xfffffff00efd8258  fp: 0xffffffeb03f5bdd0
		  lr: 0xfffffff00efd5a50  fp: 0xffffffeb03f5be50
		  lr: 0xfffffff00ee9e7c4  fp: 0xffffffeb03f5be80
		  lr: 0xfffffff00ed128e4  fp: 0xffffffeb03f5bec0
		  lr: 0xfffffff00ed120f0  fp: 0xffffffeb03f5bf00
		  lr: 0xfffffff00edd05c0  fp: 0x0000000000000000

This sounds more serious though :(

Same issue with my 13' MBP 2020 i7 running Big Sur 11.5 and the CalDigit USB-C dock (Thunderbolt 3 mini Dock):

panic(cpu 4 caller 0xffffff80196e28c3): "waitq deadlock - waitq=0xffffff86c75a6c90, cpu=4\n"@/System/Volumes/Data/SWE/macOS/BuildRoots/d7e177bcf5/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.141.2/osfmk/kern/waitq.c:2005
Backtrace (CPU 4), Frame : Return Address
0xffffffa12108bb00 : 0xffffff801968e04d
0xffffffa12108bb50 : 0xffffff80197d4e13
0xffffffa12108bb90 : 0xffffff80197c540a
0xffffffa12108bbe0 : 0xffffff8019632a2f
0xffffffa12108bc00 : 0xffffff801968d86d
0xffffffa12108bd20 : 0xffffff801968db63
0xffffffa12108bd90 : 0xffffff8019e9dc0a
0xffffffa12108be00 : 0xffffff80196e28c3
0xffffffa12108be20 : 0xffffff801966f29c
0xffffffa12108be60 : 0xffffff80196813ae
0xffffffa12108bef0 : 0xffffff80197a970d
0xffffffa12108bfa0 : 0xffffff8019633216

Process name corresponding to current thread: WindowServer
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20G71

Kernel version:
Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64
Kernel UUID: FECBF22B-FBBE-36DE-9664-F12A7DD41D3D
KernelCache slide: 0x0000000019400000
KernelCache base:  0xffffff8019600000
Kernel slide:      0x0000000019410000
Kernel text base:  0xffffff8019610000
__HIB  text base: 0xffffff8019500000
System model name: MacBookPro16,2 (Mac-5F9802EFE386AA28)
System shutdown begun: NO
Hibernation exit count: 3

Anyone would have any idea to solve this?

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

Just to Chime in:

  • Brand spanking new 16" Macbook,
  • Big Sur 11.5.1
  • Lenovo dock ldc-g2 connected over USB-C, monitor on DisplayPort
  • Multiple hard crashes a day with this same kernel panic error, mostly when removing or reconnecting the dock, maybe 5-10s after it.

I am going to swap this out for an HDMI cable this weekend and report back on results.

Same issue here. Consistent crash when I connect to the dock.

MacBook Pro (16-inch, 2019) + Belkin Thunderbolt 3 Pro Dock + Dell U3818DW

Same problem here since the Big Sur Update. I submitted every panic to Apple.

I attached the last one...

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 

Big Sur panic when connect/disconnect usb-c dock
 
 
Q