lrh2000 / StackRot

CVE-2023-3269: Linux kernel privilege escalation vulnerability
458 stars 39 forks source link

When I modify CFLAGSS and debug with gdb, there is no debug information. #6

Closed Lvzhizheng closed 8 months ago

Lvzhizheng commented 8 months ago

Hello,I have a problem. When I modify CFLAGS and debug with gdb, there is no debug information. My CFLAGS is -g -nostdlib -Wl, -T$(LINKSCRIPT). It can trigger a vulnerability in qemu, ensuring that it compiles without errors. But when I modified the kernel(6.1.25) locally to execute exploit, the replication failed, and the -g argument had no debug information. Code address and heap address leaks have not been triggered. Thanks a lot.