[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245568: marked as done (libc6: causes errors on linux-2.6.5 with PaX and CONFIG_PAX_NOVSYSCALL)



Your message dated Sat, 24 Apr 2004 21:37:45 +0900
with message-id <8165bpd012.wl@omega.webmasters.gr.jp>
and subject line Bug#245568: duplicate
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Apr 2004 20:44:58 +0000
>From ian@taconic.net Fri Apr 23 13:44:58 2004
Return-path: <ian@taconic.net>
Received: from ares.penguinhosting.net [205.231.149.48] (qmailr)
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1BH7Xe-0001GI-00; Fri, 23 Apr 2004 13:44:58 -0700
Received: (qmail 7189 invoked by uid 1000); 23 Apr 2004 20:44:57 -0000
Date: Fri, 23 Apr 2004 20:37:44 +0000
From: Ian Gulliver <ian@taconic.net>
To: submit@bugs.debian.org
Subject: libc6: causes errors on linux-2.6.5 with PaX and CONFIG_PAX_NOVSYSCALL
Message-ID: <[🔎] 20040423203743.GB18952@penguinhosting.net>
Mime-Version: 1.0
Content-Disposition: inline
X-Operating-System: Linux ares.penguinhosting.net 2.4.26-grsec 
User-Agent: Mutt/1.5.5.1+cvs20040105i
Content-Type: multipart/postage; boundary="d15dce57a1de9d0b9c64e119509a8246"
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.5 required=4.0 tests=BAYES_10 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

--d15dce57a1de9d0b9c64e119509a8246
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN"


--GID0FwUMdk1T2AWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: libc6
Version: 2.3.2.ds1-12
Severity: important
Tags: sid

On Linux 2.6.5 with the PaX patch applied:

http://pax.grsecurity.net/pax-linux-2.6.5-200404181525.patch

and the CONFIG_PAX_NOVSYSCALL flag enabled, the system dies during
startup with a series of PaX errors:

PAX: execution attempt in: <anonymous mapping>, 5a9b9000-5a9bc000 ffffe000
PAX: terminating task: /sbin/init(init):1, uid/euid: 0/0, PC: 5a9bb6d4, SP: 5a9bb404
PAX: bytes at PC: 58 b8 77 00 00 00 cd 80 00 00 00 00 20 b7 9b 5a 05 00 00 00
PAX: bytes at SP: 00000011 00000033 00000000 0000007b 0000007b 5a9bb718 00000000 5a9bb718 5a9bb6e0 0000000b 00000000 5a9bb720 fffffffc 00000000 00000000 24a99398 00000073 00000246 5a9bb6e0 0000007b
Kernel panic: Attempted to kill init!

The PaX maintainer diagnoses this as a glibc problem, saying:

[20:19:32] <pipacs> flamingcow,that's the sigreturn trampoline
[20:19:56] <pipacs> wihch glibc should provide and use itself but instead it entirely relies on the kernel's vsyscall page
[20:20:16] <flamingcow> can i quote you on that?
[20:20:18] <pipacs> or when that's not available, it falls back on whatever the kernel used to provide
[20:20:28] <pipacs> which happens to be on the (non-exec) stack
[20:20:33] <pipacs> the rest you can see yourself ;P
[20:20:43] <pipacs> sure, just quote it entirely
[20:20:48] <pipacs> so that they know what to fix
[20:21:10] <pipacs> basically, they should fall back onto glibc's own sigreturn code and not that of the kernel's when vsyscall is not enabled

On the same kernel, simply disabling NOVSYSCALL causes the system to
work properly.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information

--GID0FwUMdk1T2AWN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAiX6XefI+qeoOjxURAuIYAKCDec05HZRi+1TfFHMV+brIgk6u4QCfff4i
UcnsdrFtRm1Sfl9SD88zsVY=
=akUV
-----END PGP SIGNATURE-----

--GID0FwUMdk1T2AWN--

--d15dce57a1de9d0b9c64e119509a8246
Content-Type: application/postage-hashcash
Version: 1.1
Mint-Hash: FH0Kk4Le83HbYvehOFk92huwpeQ=
To: submit@bugs.debian.org
Date: 20040423T20:37:44
Amount: 24

14b7565
--d15dce57a1de9d0b9c64e119509a8246--

---------------------------------------
Received: (at 245568-done) by bugs.debian.org; 24 Apr 2004 12:37:46 +0000
>From gotom@debian.or.jp Sat Apr 24 05:37:46 2004
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHMPi-0004FP-00; Sat, 24 Apr 2004 05:37:46 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id D54F0DEB58; Sat, 24 Apr 2004 21:37:45 +0900 (JST)
Date: Sat, 24 Apr 2004 21:37:45 +0900
Message-ID: <8165bpd012.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Ian Gulliver <ian@taconic.net>, 245568-done@bugs.debian.org
Subject: Re: Bug#245568: duplicate
In-Reply-To: <[🔎] 20040423205806.GC18952@penguinhosting.net>
References: <[🔎] 20040423205806.GC18952@penguinhosting.net>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 245568-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

At Fri, 23 Apr 2004 20:58:06 +0000,
Ian Gulliver wrote:
> Accidental duplicate of bug #245563.

I close #245568.

Regards,
-- gotom



Reply to: