In Android for MSM Firefox OS for MSM QRD Android with all Android releases from CAF using the Linux kernel in the coresight-tmc driver a simultaneous read and enable of the ETR device after changing the buffer size may result in a Use After Free condition of the previous buffer.