I'm using grsecurity and PAX on a Gentoo Linux system using the Gentoo "hardened" kernel.
When I run "7z x $file.7z" to decompress a 7zip compressed file, I get a coredump and in the syslog, I get:
syslog wrote:Jan 6 19:32:21 hetzner PAX: From 84.74.40.245: execution attempt in: <NULL>, 00000000-00000000 00000000
Jan 6 19:32:21 hetzner PAX: terminating task: /usr/lib/p7zip/7z(7z):5481, uid/euid: 1004/1004, PC: 00000000, SP: 5f2a4bd0
Jan 6 19:32:21 hetzner PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
Jan 6 19:32:21 hetzner PAX: bytes at SP-4: 52b09ea0 52afe6c6 0000001e 5f2a4bf4 00000000 0815c380 00000006 0000002d 080fdc9b 00000010 00800000 ffffffff 52afe450 80000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
Jan 6 19:32:21 hetzner grsec: From 84.74.40.245: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/lib/p7zip/7z[7z:5481] uid/euid:1004/1004 gid/egid:1007/1007, parent /bin/bash[bash:7790] uid/euid:1004/1004 gid/egid:1007/1007
Command I ran:
- Code: Select all
askwar@hetzner ~/stuff/Rieter/Backula/7z $ 7z x bacula-2.0.0.tar.7z
7-Zip 4.43 beta Copyright (c) 1999-2006 Igor Pavlov 2006-09-15
p7zip Version 4.43 (locale=C,Utf16=off,HugeFiles=on,1 CPU)
Processing archive: bacula-2.0.0.tar.7z
Killed (core dumped)
- Code: Select all
askwar@hetzner ~/stuff/Rieter/Backula/7z $ 7z
7-Zip 4.43 beta Copyright (c) 1999-2006 Igor Pavlov 2006-09-15
p7zip Version 4.43 (locale=C,Utf16=off,HugeFiles=on,1 CPU)
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]
The 7zip archive can be found at http://alexander.skwar.name/~askwar/stu ... 0.0.tar.7z Kernel config is available at http://alexander.skwar.name/~askwar/stu ... config.txt
What do I have to do, to be able to extract that 7zip archive on this machine?
Thanks,
Alexander