David Warner could be in trouble with the match referee after an altercation with Quinton de Kock during the first Test between Australia and South Africa.