Can't extract 7zip archive by running "7z x $filename.7

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Can't extract 7zip archive by running "7z x $filename.7

Postby askwar » Sat Jan 06, 2007 1:48 pm

Hallo!

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
askwar
 
Posts: 1
Joined: Sat Jan 06, 2007 1:22 pm

Re: Can't extract 7zip archive by running "7z x $filena

Postby PaX Team » Sun Jan 14, 2007 4:12 pm

askwar wrote: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: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
this is a null function ptr dereference.
Command I ran:

[code]askwar@hetzner ~/stuff/Rieter/Backula/7z $ 7z x bacula-2.0.0.tar.7z
i tried it here on 2.6.19.2-pax and it worked fine, so i guess there's some userland problem there, you'll have to debug it to find out where that null function ptr comes from.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support