Exploit databaseDownload repository ZIP
GH-e6e5922ef9ac5cc7d4897803cb452516
zero2005x/rokid-rv101-research
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files254
zero2005x/rokid-rv101-researchRevision c74832d113c5
- ↑..Parent directory
- ghostlock_rv101/
- slabprobe/
- adsprpc_dmabuf.c
- adsprpc_hwbinder_probe.c
- adsprpc_ioctl_test.c
- adsprpc_ioctl_v2.c
- adsprpc_mmap_probe.c
- adsprpc_secure_exploit.c
- adsprpc_test.c
- alt_attack_surface.c
- alt_attack_surface_v2.c
- ashmem_kgsl_bridge.c
- ashmem_overflow_exploit.c
- ashmem_probe.c
- attack_surface_probe.c
- binder_ashmem_attack.c
- binder_bpf_exploit.c
- binder_cmd_test.c
- binder_fd_steal.c
- binder_probe.c
- binder_simple_test.c
- binder_uaf_v5.c
- bpf_5_10_exploit.c
- bpf_advanced.c
- bpf_bypass_v2.c
- bpf_check.c
- bpf_deep_probe.c
- bpf_helper_leak.c
- bpf_info_leak.c
- bpf_infoleak_v2.c
- bpf_kaslr_exploit.c
- bpf_leak_v3.c
- bpf_oob_read.c
- bpf_research.c
- bpf_ringbuf_exploit.c
- bpf_ringbuf_oob_v6.c
- bpf_sandbox_kaslr_leak.c
- bpf_simple_leak.c
- bpf_size_confusion.c
- bpf_stack_exploit.c
- bpf_type_survey.c
- bpf_verifier_bypass.c
- bpf_verifier_exploit.c
- bpf_vuln_probe.c
- bpf_vuln_scanner.c
- cgroup_bpf_exploit.c
- cgroup_skb_probe.c
- cross_cache_exploit.c
- crossfd_physical_scan.c
- cve-2021-22555_exploit.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
source_code/adsprpc_test.c
C · 1,953 bytes#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>
#include <stdint.h>
#define FASTRPC_IOCTL_MAGIC 'R'
#define FASTRPC_IOCTL_GET_INFO _IOWR(FASTRPC_IOCTL_MAGIC, 6, uint32_t)
#define FASTRPC_IOCTL_INIT_CREATE _IOWR(FASTRPC_IOCTL_MAGIC, 5, struct fastrpc_init_create)
struct fastrpc_init_create
{
uint32_t filelen;
int32_t filefd;
uint32_t attrs;
uint32_t siglen;
uint64_t file;
uint64_t sig;
};
int main()
{
int fd = open("/dev/adsprpc-smd", O_RDWR);
if (fd < 0)
{
printf("[-] Failed to open /dev/adsprpc-smd (O_RDWR): %s\n", strerror(errno));
printf("[*] Trying O_RDONLY...\n");
fd = open("/dev/adsprpc-smd", O_RDONLY);
if (fd < 0)
{
printf("[-] Failed to open /dev/adsprpc-smd (O_RDONLY): %s\n", strerror(errno));
return 1;
}
printf("[+] Successfully opened /dev/adsprpc-smd (O_RDONLY)\n");
}
else
{
printf("[+] Successfully opened /dev/adsprpc-smd (O_RDWR)\n");
}
// Try a simple ioctl to check functionality
uint32_t info = 0;
int ret = ioctl(fd, FASTRPC_IOCTL_GET_INFO, &info);
if (ret < 0)
{
printf("[-] ioctl FASTRPC_IOCTL_GET_INFO failed: %s\n", strerror(errno));
}
else
{
printf("[+] ioctl FASTRPC_IOCTL_GET_INFO success\n");
}
// Try INIT_CREATE
struct fastrpc_init_create init = {0};
init.filefd = -1; // Invalid FD, should return error but confirms IOCTL reaches driver
init.filelen = 0;
ret = ioctl(fd, FASTRPC_IOCTL_INIT_CREATE, &init);
if (ret < 0)
{
printf("[-] ioctl FASTRPC_IOCTL_INIT_CREATE failed: %d (%s)\n", errno, strerror(errno));
}
else
{
printf("[+] ioctl FASTRPC_IOCTL_INIT_CREATE success\n");
}
close(fd);
return 0;
}