Exploit database

GH-e6e5922ef9ac5cc7d4897803cb452516

zero2005x/rokid-rv101-research

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

165 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files30

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

research/ghostlock_refs/extracted/honor/cve-2026-43499-honor-main/scripts/analyze/find_calls.py

Python · 1,058 bytes
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import struct
BASE = 0xffffffc008000000
k = open(r"D:\新建文件夹 (4)\root\545\unpacked\kernel.bin", "rb").read()
n = len(k)

def dump_callers(target, label):
    print(f"\n===== calls to {label} ({target:#x}) =====")
    # 在整个 text 里找 bl / b 到 target
    import struct
    n = len(k)
    def sign26(v):
        if v & 0x2000000: v -= 0x4000000
        return v
    for off in range(0, n-3, 4):
        word = struct.unpack_from('<I', k, off)[0]
        if (word & 0xFC000000) in (0x94000000, 0x14000000):  # bl / b
            imm26 = word & 0x03FFFFFF
            t = (BASE+off) + (sign26(imm26) << 2)
            if t == target:
                kind = "bl" if (word & 0xFC000000) == 0x94000000 else "b"
                # 找所属函数
                print(f"  {kind} @ {BASE+off:#x}")

dump_callers(0xffffffc00861d8b8, "do_futex")
dump_callers(0xffffffc008de0dac, "futex_wait_requeue_pi")
dump_callers(0xffffffc00839bc54, "core_sys_select")
dump_callers(0xffffffc008de0374, "futex_waitv")