Skip to contentSkip to conversation

Crash by update of shared libraries

DISCUSSION Florent Fourcot 1 participant 2 messages Feb 18, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

my system crash by libraries update. Some steps to reproduce the bug (without crash of the all system):

 $ export LD_PRELOAD=./libfake.so.1
 $ cp libfake.so.1 /tmp/
 $ cp /tmp/libfake.so.1 .
 => Bus error

The cp crash, since the file of the loaded library changed (and the copy failed of course, the new file is now empty).
All software with a library loaded (with ld) will crash as well (for example by system updating of the libc: the pid 1 will crash).

Tested on a Linux kernel 3.14.0-rc3.

Regards,

Signature · 1 line
Florent.
#1 lore raw
Quoted 5 lines

Hello,

my system crash by libraries update. Some steps to reproduce the bug (without crash of the all system):

Sorry for the noise, the bug is in userspace (reproduced on a old 3.2 Kernel).

Regards,

Florent.