Meltdown exploit proof-of-concept

For discussions about security.
Post Reply
Message
Author
User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

Meltdown exploit proof-of-concept

#1 Post by fabrice_035 »

Hi,

And now, the POC https://github.com/iaik/meltdown

edit: yet another https://github.com/paboldin/meltdown-exploit

I can't compil, obscur error ( gcc version for x86 ? )

Code: Select all

 make
make -C libkdump
make[1]: Entering directory `/root/Downloads/meltdown-master.zip.extracted/meltdown-master/libkdump'
gcc -c -fPIC libkdump.c -o libkdump.o -O3 -pthread -Wno-attributes
libkdump.c: In function ‘libkdump_read_tsx’:
libkdump.c:97:3: error: inconsistent operand constraints in an ‘asm’
   asm volatile("xor %%eax, %%eax\n"                                           \
   ^
libkdump.c:119:18: note: in expansion of macro ‘meltdown_nonull’
 #define MELTDOWN meltdown_nonull
                  ^
libkdump.c:478:7: note: in expansion of macro ‘MELTDOWN’
       MELTDOWN;
       ^
make[1]: *** [libkdump.o] Error 1
make[1]: Leaving directory `/root/Downloads/meltdown-master.zip.extracted/meltdown-master/libkdump'
make: *** [libkdump/libkdump.a] Error 2

Code: Select all

root# ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.9) 2.19

gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4


:?: [/code]

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#2 Post by Sailor Enceladus »

I think the problem with these things is that they just ASS-U-ME everyone is running a 64-bit OS, and they think 32-bit is obsolete or non-existent, so they don't bother to tell you this before you download. I had the same problem dealing with Discord Staff, they finally changed their website to say "64-bit Linux required" in tiny writing so you don't download the entire thing for nothing then get some strange error like "Illegal instruction" "Segmentation Fault" "Wrong ELFCLASS" etc.

Post Reply