timwr / CVE-2016-5195

CVE-2016-5195 (dirtycow/dirtyc0w) proof of concept for Android
959 stars 395 forks source link

dirtycow kernel fs memory corruption #75

Open fr0zenrain opened 7 years ago

fr0zenrain commented 7 years ago

dirtycow can root,but can not mount the system partition,it seems destory the kernel page dmesg show as follows

<2>[ 82.453104] EXT4-fs (mmcblk0p12): ext4_da_writepages: jbd2_start: 2048 pages, ino 283; err -30 <2>[ 87.463150] EXT4-fs (mmcblk0p12): ext4_da_writepages: jbd2_start: 2048 pages, ino 283; err -30 <2>[ 92.483165] EXT4-fs (mmcblk0p12): ext4_da_writepages: jbd2_start: 2048 pages, ino 283; err -30 some one met this problem?
lucasa831 commented 7 years ago

try to give setuid and other run permission to some file at /data/local/tmp just like chmod 4777 /data/local/tmp/run-as then you reboot and run it