Sony Xperia Z2 Tablet (rooted, running Cyanogenmod [11 i think]) - Android 4.4.4 :
Status: Worked perfectly - overwritten run-as and was able to spawn root shell, meaning no SELinux was present.
Sony Xperia Z5 Compact (stock firmware, non-rooted) - Android 6.0.1 :
Status: Not working - run-as was not overwritten. Tried to increase the LOOP define from 0x100000 to 0x10000000 as I thought maybe it needs more time to trigger the run condition, but still after several minutes there was no success and run-as remained unchanged.
I've so far tested the PoC on two devices:
Sony Xperia Z2 Tablet (rooted, running Cyanogenmod [11 i think]) - Android 4.4.4 : Status: Worked perfectly - overwritten run-as and was able to spawn root shell, meaning no SELinux was present.
Sony Xperia Z5 Compact (stock firmware, non-rooted) - Android 6.0.1 : Status: Not working - run-as was not overwritten. Tried to increase the LOOP define from 0x100000 to 0x10000000 as I thought maybe it needs more time to trigger the run condition, but still after several minutes there was no success and run-as remained unchanged.
Will later check also on Samsung S5 and post the results here. Let me know if you need me to give you any more info.