You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using frida_gum library from release frida-gum-devkit-16.5.7-linux-x86_64.tar.xz and I noticed corruption introduced while rewriting causing instrumented applications to misbehave.
System config:
> uname -a
Linux 6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 4 02:06:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
> ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8.3) 2.39
> lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
> lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Vendor ID: AuthenticAMD
Model name: AMD Ryzen 9 7900X3D 12-Core Processor
LD_PRELOAD=./frida.so file
: could not find any valid magic files! (No such file or directory)
krzywix:tmp/ $ LD_PRELOAD=./frida.so file
file: could not find any valid magic files! (No such file or directory)
[. . . run few more times and you will notice more artifacts . . .]
krzywix:tmp/ $ LD_PRELOAD=./frida.so file
file: could not find any valid magi 0.000000iles! (No such file or directory)
krzywix:tmp/ $ LD_PRELOAD=./frida.so file
file: could not find any valid magic files! (No such file or directory)
The text was updated successfully, but these errors were encountered:
Might not be related to the root cause but it also crashes with efence:
> gdb file
(gdb) set environment LD_PRELOAD=/usr/lib/libefence.so.0.0:./frida.so
(gdb) r
Starting program: /usr/bin/file
Electric Fence 2.2 Copyright (C) 1987-1999 Bruce Perens <[email protected]>
ElectricFence Aborting: free(7ffff72d2000): address not from malloc().
During startup program terminated with signal SIGILL, Illegal instruction.
Hi,
I am using frida_gum library from release frida-gum-devkit-16.5.7-linux-x86_64.tar.xz and I noticed corruption introduced while rewriting causing instrumented applications to misbehave.
System config:
PoC:
Test:
The text was updated successfully, but these errors were encountered: