GNU bug report logs - #50698
[PATCH] WIP patches for recently-known hurd security vulnerabilities

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Maxime Devos <maximedevos@HIDDEN>; Keywords: patch security; dated Mon, 20 Sep 2021 10:41:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 50698 <at> debbugs.gnu.org:


Received: (at 50698) by debbugs.gnu.org; 11 Nov 2024 07:58:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 02:58:09 2024
Received: from localhost ([127.0.0.1]:58078 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tAPJJ-0002Ef-J6
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2024 02:58:09 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42734)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1tAPJG-0002EB-LW
 for 50698 <at> debbugs.gnu.org; Mon, 11 Nov 2024 02:58:07 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <janneke@HIDDEN>)
 id 1tAPJ9-0007vw-Ew; Mon, 11 Nov 2024 02:57:59 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=HpcuotqklksRWmkBF05Z3j51ur72OMUjDqj2H7Y2O9U=; b=o1zfyK/EWlnNI13WmHFu
 s/xMWFRCT+60ItmkfmVen+ifEXIIUWwubtXC9AfW/sqkC+zKC/q+xmi8z+SRyT8u1PsopTWUCQPqZ
 czu8n9ruhz1sLIougwP9TZ2np8RQ1j+Dy7j2R7aKFYNtCdKoS26IrPAfIsHfyQhPABBWrkOPNsPxY
 Sf8ePed2/m/DDSvHAKDqB5VurBFn3MouZNuAqhC0rk+jJTZ8/Sd8/HOMf6QN/w9pKVCl6SWEOchqA
 3/JJVNTj/to0kqcs/L0FW1bErHhVVkgujaVRYbITLgczAQUP/K5RGpWozG3w3eX4PFCPiqiSPjiYM
 w5JuSkp3f12TGA==;
From: <janneke@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [bug#50698] [PATCH] WIP patches for recently-known hurd
 security vulnerabilities
In-Reply-To: <875xoub6xi.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 11
 Nov 2024 15:50:17 +0900")
Organization: AvatarAcademy.nl
References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
 <87pmskq4mc.fsf@HIDDEN>
 <bf180129911ad9c0accc9a17c497bae8bd482ad2.camel@HIDDEN>
 <87wnmo55if.fsf@HIDDEN> <875xoub6xi.fsf@HIDDEN>
X-Url: http://AvatarAcademy.nl
Date: Mon, 11 Nov 2024 08:57:53 +0100
Message-ID: <87r07iw6bi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50698
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Maxime Devos <maximedevos@HIDDEN>, 50698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Maxim Cournoyer writes:

Hey Maxim,

> Would you know if this series is still relevant, following your recent
> series that update most of the Hurd components?

Yes.  Debian is still carrying these agains their glibc:

<https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/patches/hurd-i=
386/tg-sendmsg-SCM_CREDS.diff>
<https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/patches/hurd-i=
386/proc_reauth.diff>

I have no idea about their status or why Debian hasn't upstreamed them.

Maybe now is a good time to add these to glibc/hurd (it seems we still
have a hook for a custom glibc library in place, yay!).

Would you like to rebase/create a patch for the hurd-team branch?

Greetings,
Janneke

--=20
Janneke Nieuwenhuizen <janneke@HIDDEN>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade=
my.com




Information forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.

Message received at 50698 <at> debbugs.gnu.org:


Received: (at 50698) by debbugs.gnu.org; 11 Nov 2024 06:51:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 01:51:32 2024
Received: from localhost ([127.0.0.1]:57897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tAOGq-0007mh-9n
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2024 01:51:32 -0500
Received: from mail-pf1-f172.google.com ([209.85.210.172]:45153)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1tAOGo-0007mS-Tv
 for 50698 <at> debbugs.gnu.org; Mon, 11 Nov 2024 01:51:31 -0500
Received: by mail-pf1-f172.google.com with SMTP id
 d2e1a72fcca58-720be27db27so3321454b3a.2
 for <50698 <at> debbugs.gnu.org>; Sun, 10 Nov 2024 22:51:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1731307825; x=1731912625; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=J+rWimHuzRUeggX5ye3qSUKjRJUw/ciS0mAiz5XUb0w=;
 b=To4fbejDLbNSvEjwdcwWx2zRyoxdj9ZR+7c4XKOSQM5M3gM945mxZLclInkTnFL5vd
 fju3ig39xUe2LdcBIYLzduJ5sePz56iyDkB9bVKQxKiq+6IlPS9hWwRDV6owFQv+C9vn
 S5VUEP15UVM0Wi/yIJBLZaIYT5KtVZzhXtAA+4au9oM5RF++4/FzSQJ0Pn6+NydD+RHl
 +YoiAo3KdoBas1FoX4AgEoWyRMnFVqBnSC4aPNM/h9738OJhSBPPDrLMNbV3iqcCLpeo
 92OQVCfjPjNjxuVVclgpJ/51FEVPR7rNkOws+UpT2BEGvySNFxrsiQua1IQ65uNLsuyi
 lX1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731307825; x=1731912625;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=J+rWimHuzRUeggX5ye3qSUKjRJUw/ciS0mAiz5XUb0w=;
 b=KhPKVETIwY8dObmGfJd4OHvZU5BaTNu+3oC1FB/Xkfs0I5idZ4oxRcECEq15Hs4YUI
 v0cM3P8Iy7BPcth5FjCFbrTQlnFrtg7C9X4ydtg/oPl0r9N30SpIedEoYgVtodJHrQFD
 Te5fnSmky5YGavJk4TylaGrE51/slQvu7TkZ54MQvw/DuTVYv7Qf3RqjmeOCsatRCiJK
 8FGTjBwyefOaYkQkg3WAtw9Lwatx3Sf0cQi2KzDNLrbYsPyhuVim/ltQpSrP1snhDf0z
 50EPGzp1EQAeYnuh/HWepVrj7KyyCvkjGT3VAvFYYipRegxnc6h7uBRmn0DET6UwHgcI
 +LGg==
X-Forwarded-Encrypted: i=1;
 AJvYcCVdlVn3YT09F7/1Ajvg/5/bbIO73+0KXfs1WKlxtuzodMVkD3jpyBuY6FaD7c1E80q6q4kcKA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzkN6VJgCpOysQ1sMaJnemMxCzSWG+sS9rKXMidHqnnsfrk7/ds
 0p4ufAkT8bGujwRVZ3hcZ4ZB6ypTm7FBhNM2V+cjAEJxIIxDb0DCzqtXyxC1
X-Google-Smtp-Source: AGHT+IHl83/9wBYxvsg1BluAMaHnUP36vpigTtQZdru5lKTD4WzSHa66FZscWDsOW8PgfdSLJ984+w==
X-Received: by 2002:a05:6a00:1397:b0:71e:44f6:6900 with SMTP id
 d2e1a72fcca58-72413380ef3mr15874940b3a.16.1731307824420; 
 Sun, 10 Nov 2024 22:50:24 -0800 (PST)
Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-72407a20347sm8333453b3a.160.2024.11.10.22.50.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 10 Nov 2024 22:50:23 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Janneke Nieuwenhuizen <janneke@HIDDEN>
Subject: Re: [bug#50698] [PATCH] WIP patches for recently-known hurd
 security vulnerabilities
In-Reply-To: <87wnmo55if.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Fri, 08 Oct 2021 09:40:08 +0200")
References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
 <87pmskq4mc.fsf@HIDDEN>
 <bf180129911ad9c0accc9a17c497bae8bd482ad2.camel@HIDDEN>
 <87wnmo55if.fsf@HIDDEN>
Date: Mon, 11 Nov 2024 15:50:17 +0900
Message-ID: <875xoub6xi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 50698
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Maxime Devos <maximedevos@HIDDEN>, 50698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Janneke,

Would you know if this series is still relevant, following your recent
series that update most of the Hurd components?

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.

Message received at 50698 <at> debbugs.gnu.org:


Received: (at 50698) by debbugs.gnu.org; 8 Oct 2021 07:40:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 08 03:40:27 2021
Received: from localhost ([127.0.0.1]:48957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mYkUV-00079R-7t
	for submit <at> debbugs.gnu.org; Fri, 08 Oct 2021 03:40:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:45470)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mYkUT-00079C-Hw
 for 50698 <at> debbugs.gnu.org; Fri, 08 Oct 2021 03:40:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59956)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mYkUO-0001SI-BN; Fri, 08 Oct 2021 03:40:20 -0400
Received: from [193.50.110.91] (port=39744 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1mYkUE-00021c-1b; Fri, 08 Oct 2021 03:40:20 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#50698: [PATCH] WIP patches for recently-known hurd security
 vulnerabilities
References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
 <87pmskq4mc.fsf@HIDDEN>
 <bf180129911ad9c0accc9a17c497bae8bd482ad2.camel@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 17 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la
 =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 08 Oct 2021 09:40:08 +0200
In-Reply-To: <bf180129911ad9c0accc9a17c497bae8bd482ad2.camel@HIDDEN>
 (Maxime Devos's message of "Mon, 04 Oct 2021 17:00:43 +0200")
Message-ID: <87wnmo55if.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50698
Cc: 50698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Maxime Devos <maximedevos@HIDDEN> skribis:

> Ludovic Court=C3=A8s schreef op ma 04-10-2021 om 15:52 [+0200]:
>> > +(define glibc/fixed
>> > +  (package-with-extra-patches
>> > +   glibc
>> > +   (search-patches "glibc-hurd-sendmsg-SCM_CREDS.patch"
>> > +                   "glibc-hurd-proc-reauth.patch")))
>>=20
>> Instead of a replacement, which makes no sense on GNU/Linux, could you
>> add a conditional phase for (hurd-target?) that applies the patches?
>
> A replacement would be useless on GNU/Linux, but harmless.

Performance-wise it would have an impact on GNU/Linux because we=E2=80=99d =
end
up grafting the new glibc on each and every package.

> Adding a phase (conditional on (hurd-target?)) to glibc
> calling 'patch' on these patches would be possible, but would
> cause a world-rebuild for GNU/Hurd (though not for GNU/Linux).
>
> Because i586-gnu is =E2=80=98experimental and under development=E2=80=99
> (according to (guix)GNU Distribution), I suppose the (partial)
> world-rebuild is acceptable here?=20

Yes, I think it=E2=80=99s okay to have a world-rebuild limited to i586-gnu,=
 even
more so that the =E2=80=9Cworld=E2=80=9D is pretty small there.  :-)
(It essentially stops at =E2=80=98util-linux=E2=80=99 currently.)

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.

Message received at 50698 <at> debbugs.gnu.org:


Received: (at 50698) by debbugs.gnu.org; 4 Oct 2021 15:00:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 04 11:00:58 2021
Received: from localhost ([127.0.0.1]:38072 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mXPSc-0006bg-IL
	for submit <at> debbugs.gnu.org; Mon, 04 Oct 2021 11:00:58 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:43154)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mXPSX-0006bT-UB
 for 50698 <at> debbugs.gnu.org; Mon, 04 Oct 2021 11:00:56 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by laurent.telenet-ops.be with bizsmtp
 id 1r0s260020mfAB401r0sNE; Mon, 04 Oct 2021 17:00:52 +0200
Message-ID: <bf180129911ad9c0accc9a17c497bae8bd482ad2.camel@HIDDEN>
Subject: Re: bug#50698: [PATCH] WIP patches for recently-known hurd security
 vulnerabilities
From: Maxime Devos <maximedevos@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Date: Mon, 04 Oct 2021 17:00:43 +0200
In-Reply-To: <87pmskq4mc.fsf@HIDDEN>
References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
 <87pmskq4mc.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-0gIDKwqpBpzhvzNzv4jE"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1633359652; bh=zn/CyJlhUKyqZ8G6tp9CSGZXWRZQ1Q0t0b8Vyfmua4o=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=QHMS16jCkrky6KuMpU13tD76REkCWCKzHYOL3pCLSy5D9YBUtiAoObb8CupinP6od
 hZ3zME/WCUt6viIedu6f0NbHl9P5uJzsBUKwOgcTbBqeNLDEdVm2ugAvaDeqTp28Mn
 gxSwFgjF6OagE90ZjSROL8Nv12hKazjCL0UY17CRcL9d9XYeLIvbbwCwLIIiOw7Jxa
 Qeb/CjRs8ss+KiCjdZ5sFyHlss4Ee6l7hIugdelqRRe7i6aiRD6FzE+TEXGaqhjpjv
 OVWU/7fyZAVeVnb/MadiTGZBj7xYYgOJqEwKKLLC5h+zb2zAIcX8fJZ0HiYmEBmBvG
 Sb7x/XIQ2JYLQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50698
Cc: 50698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-0gIDKwqpBpzhvzNzv4jE
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s schreef op ma 04-10-2021 om 15:52 [+0200]:
> > +(define glibc/fixed
> > +  (package-with-extra-patches
> > +   glibc
> > +   (search-patches "glibc-hurd-sendmsg-SCM_CREDS.patch"
> > +                   "glibc-hurd-proc-reauth.patch")))
>=20
> Instead of a replacement, which makes no sense on GNU/Linux, could you
> add a conditional phase for (hurd-target?) that applies the patches?

A replacement would be useless on GNU/Linux, but harmless.
Adding a phase (conditional on (hurd-target?)) to glibc
calling 'patch' on these patches would be possible, but would
cause a world-rebuild for GNU/Hurd (though not for GNU/Linux).

Because i586-gnu is =E2=80=98experimental and under development=E2=80=99
(according to (guix)GNU Distribution), I suppose the (partial)
world-rebuild is acceptable here?=20

Greetings,
Maxime.

--=-0gIDKwqpBpzhvzNzv4jE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVsXHBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nMxAP45FVW/LChPC/crnjAUqF5djayB
CJoATzWVpQt0G+JhqQD/esgcdRHI8B+016W+I60ThcW9b3jaujHRG+m3jmBmsQw=
=J3lD
-----END PGP SIGNATURE-----

--=-0gIDKwqpBpzhvzNzv4jE--





Information forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.

Message received at 50698 <at> debbugs.gnu.org:


Received: (at 50698) by debbugs.gnu.org; 4 Oct 2021 13:52:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 04 09:52:39 2021
Received: from localhost ([127.0.0.1]:35981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mXOOU-0003xH-Na
	for submit <at> debbugs.gnu.org; Mon, 04 Oct 2021 09:52:39 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mXOOS-0003x0-Re
 for 50698 <at> debbugs.gnu.org; Mon, 04 Oct 2021 09:52:37 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54592)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mXOOM-0005Bt-M5; Mon, 04 Oct 2021 09:52:30 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60548 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1mXOOL-0004lR-Kk; Mon, 04 Oct 2021 09:52:30 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#50698: [PATCH] WIP patches for recently-known hurd security
 vulnerabilities
References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
Date: Mon, 04 Oct 2021 15:52:27 +0200
In-Reply-To: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
 (Maxime Devos's message of "Mon, 20 Sep 2021 12:40:48 +0200")
Message-ID: <87pmskq4mc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50698
Cc: 50698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Maxime,

Maxime Devos <maximedevos@HIDDEN> skribis:

> I've tried to patch the glibc package for the problems noted at
> <https://lists.gnu.org/archive/html/bug-hurd/2021-08/msg00007.html>;.
>
> I've found two recent patches (glibc-hurd-proc-reauth.patch and
> glibc-hurd-sendmsg-SCM_CREDS.patch) that appeared relevant.  I tried
> to patch our glibc package with those patches.
>
> The modified tarball builds fine for --system=3Dx86_64-linux, but not
> for --system=3Di586-gnu (tested with ./pre-inst-env guix build hello
> --system=3Di586-gnu).  Any idea what's happening here?

Thanks for looking into it!

> From cdf38fbfcba4c87777d7ba2175f08e877dafe86a Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos@HIDDEN>
> Date: Mon, 13 Sep 2021 11:23:21 +0200
> Subject: [PATCH] WIP gnu: glibc: New security patches.
> MIME-Version: 1.0
> Content-Type: text/plain; charset=3DUTF-8
> Content-Transfer-Encoding: 8bit
>
> The existence of the vulnerabilities was noted at
> <https://lists.gnu.org/archive/html/bug-hurd/2021-08/msg00007.html>.
>
> TODO: check if these are all necessary packages for glibc.
> TODO: why does the glibc tarball build for --system=3Dx86_64-linux but not
> for --system=3Di586-gnu?
>
> Build error:
> =E2=80=98patching file hurd/hurdinit.c
> Hunk #1 FAILED at 177.
> 1 out of 1 hunk FAILED -- saving rejects to file hurd/hurdinit.c.rej=E2=
=80=99
>
> but this file isn't modified by the new patches!
>
> * gnu/local.mk (dist_patch_DATA): Register new patches.
> * gnu/packages/base.scm (glibc)[replacement]: Register replacement.
>   (glibc/fixed): New variable.
> * gnu/packages/patches/glibc-hurd-proc-reauth.patch: New file.
> * gnu/packages/patches/glibc-hurd-sendmsg-SCM_CREDS.patch.

[...]

> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -706,6 +706,7 @@ the store.")
>    (package
>     (name "glibc")
>     (version "2.31")
> +   (replacement glibc/fixed)
>     (source (origin
>              (method url-fetch)
>              (uri (string-append "mirror://gnu/glibc/glibc-" version ".ta=
r.xz"))
> @@ -966,6 +967,12 @@ with the Linux kernel.")
>     (license lgpl2.0+)
>     (home-page "https://www.gnu.org/software/libc/")))
>=20=20
> +(define glibc/fixed
> +  (package-with-extra-patches
> +   glibc
> +   (search-patches "glibc-hurd-sendmsg-SCM_CREDS.patch"
> +                   "glibc-hurd-proc-reauth.patch")))

Instead of a replacement, which makes no sense on GNU/Linux, could you
add a conditional phase for (hurd-target?) that applies the patches?

(On =E2=80=98core-updates=E2=80=99 (or =E2=80=98-frozen=E2=80=99?) we will =
apply patches
unconditionally.)

Not answering your initial question, but maybe the problem will vanish
if you do things this way, who knows.  :-)

> +++ b/gnu/packages/patches/glibc-hurd-proc-reauth.patch
> @@ -0,0 +1,114 @@
> +Index: glibc-2.31/hurd/hurdsig.c

Please add a comment explaining what this patch does, what its status
is, with a link to upstream discussions.

Thank you!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.
Added tag(s) security. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Sep 2021 10:40:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 06:40:59 2021
Received: from localhost ([127.0.0.1]:41058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSGjK-0007v8-Pp
	for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 06:40:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:37934)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mSGjI-0007v0-QQ
 for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 06:40:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47258)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1mSGjI-0001Db-9C
 for guix-patches@HIDDEN; Mon, 20 Sep 2021 06:40:56 -0400
Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:59922)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1mSGjF-0005nz-2X
 for guix-patches@HIDDEN; Mon, 20 Sep 2021 06:40:56 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by xavier.telenet-ops.be with bizsmtp
 id wAgp250010mfAB401AgpJf; Mon, 20 Sep 2021 12:40:49 +0200
Message-ID: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@HIDDEN>
Subject: [PATCH] WIP patches for recently-known hurd security vulnerabilities
From: Maxime Devos <maximedevos@HIDDEN>
To: guix-patches@HIDDEN
Date: Mon, 20 Sep 2021 12:40:48 +0200
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-m41uDnbCl2VJI+AMMJZd"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1632134449; bh=EcUhwPL7nBqCSf8OXQY2nOlSXO8AF+bt7ad5hpMwf7g=;
 h=Subject:From:To:Date;
 b=LUgDRUC8NAsypz26e6t8OZzkwX9n6P8suqEaAGWccWvTPiC1LWxdVzl2t7D2t0Euy
 QM9c6/CVcwrh32BBRGZOTBMEUDHhKSaX4R+fT7OvCGCwei9Xygx1TMTI80j6U4orHY
 IM7GxtTCm/C5FlzjTCUOkdtiVn9BURw+nT+g4RPNaruN2dAn15ex1lm2oNJ/Jea/lg
 7/6jcSlhqsnZwcUjwgjrWwE568y+pWpxQBih8VtCoHLZZuR+5cyuDtZFCUTnWb4Ueu
 RuF3YV2JrPU+DogVgfIxfLPqaCx8CtLthzQrGIFzB4GpsWvfgfI4xVzJC9XP2p8bem
 wiGWXAhXeb+1Q==
Received-SPF: pass client-ip=2a02:1800:120:4::f00:14;
 envelope-from=maximedevos@HIDDEN; helo=xavier.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-m41uDnbCl2VJI+AMMJZd
Content-Type: multipart/mixed; boundary="=-HoVwep0kBgUa1AItb646"


--=-HoVwep0kBgUa1AItb646
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I've tried to patch the glibc package for the problems noted at
<https://lists.gnu.org/archive/html/bug-hurd/2021-08/msg00007.html>;.

I've found two recent patches (glibc-hurd-proc-reauth.patch and
glibc-hurd-sendmsg-SCM_CREDS.patch) that appeared relevant.  I tried
to patch our glibc package with those patches.

The modified tarball builds fine for --system=3Dx86_64-linux, but not
for --system=3Di586-gnu (tested with ./pre-inst-env guix build hello
--system=3Di586-gnu).  Any idea what's happening here?

Greetings,
Maxime.

--=-HoVwep0kBgUa1AItb646
Content-Disposition: inline; filename="0001-WIP-gnu-glibc-New-security-patches.patch"
Content-Type: text/x-patch; name="0001-WIP-gnu-glibc-New-security-patches.patch";
	charset="UTF-8"
Content-Transfer-Encoding: base64

RnJvbSBjZGYzOGZiZmNiYTRjODc3NzdkN2JhMjE3NWYwOGU4NzdkYWZlODZhIE1vbiBTZXAgMTcg
MDA6MDA6MDAg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lPOworKwlnb3RvIG91dDsKKysgICAgICB9CisrCisrICAv
KiBDaGVjayBQSUQgICovCisrICAvKiBYWFg6IFVzaW5nIHByb2NfZ2V0cHJvY2luZm8gdW50aWwK
KysgICAgIHByb2NfdXNlcl9hdXRoZW50aWNhdGUgcHJvY19zZXJ2ZXJfYXV0aGVudGljYXRlIGlz
IGltcGxlbWVudGVkCisrICAqLworKyAgLyogR2V0IHByb2NpbmZvIHRvIGNoZWNrIHRoZSBvd25l
ci4gIE1heWJlIGhlIGZha2VkIHRoZSBwaWQsIGJ1dCBhdCBsZWFzdCB3ZQorKyAgICAgY2hlY2sg
dGhlIG93bmVyLiAgKi8KKysgIGVyciA9IF9fVVNFUE9SVCAoUFJPQywgX19wcm9jX2dldHByb2Np
bmZvIChwb3J0LCBwaWQsICZmbGFncywKKysJCQkJCSAgICAgKHByb2NpbmZvX3QgKikmcGksCisr
CQkJCQkgICAgICZwaV9zaXplLCAmdHcsICZ0d19zaXplKSk7CisrICBpZiAoZXJyKQorKyAgICBn
b3RvIG91dDsKKysKKysgIGlmICggICAhY29udGFpbnNfdWlkIChuZXVpZHMsIGV1aWRzLCBwaS0+
b3duZXIpCisrICAgICAgJiYgIWNvbnRhaW5zX3VpZCAobmF1aWRzLCBhdWlkcywgcGktPm93bmVy
KSkKKysgICAgZXJyID0gRUlPOworKworK291dDoKKysgIF9fbWFjaF9wb3J0X2RlYWxsb2NhdGUg
KF9fbWFjaF90YXNrX3NlbGYgKCksIHJlbmRlenZvdXMpOworKyAgaWYgKGV1aWRzICE9IGV1aWRz
X2J1ZikKKysgICAgX192bV9kZWFsbG9jYXRlIChfX21hY2hfdGFza19zZWxmKCksICh2bV9hZGRy
ZXNzX3QpIGV1aWRzLCBuZXVpZHMgKiBzaXplb2YodWlkX3QpKTsKKysgIGlmIChhdWlkcyAhPSBh
dWlkc19idWYpCisrICAgIF9fdm1fZGVhbGxvY2F0ZSAoX19tYWNoX3Rhc2tfc2VsZigpLCAodm1f
YWRkcmVz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V6dm91cywgTUFDSF9NU0df
VFlQRV9NQUtFX1NFTkQpKTsKKysJICBfX21hY2hfcG9ydF9kZWFsbG9jYXRlIChfX21hY2hfdGFz
a19zZWxmICgpLCByZXBseSk7CisrCSAgaWYgKGVycikKKysJICAgIGdvdG8gb3V0OworKwl9Cisg
ICAgIH0KKyAKKyAgIGlmIChhZGRyKQorLS0tIGEvaHVyZC9NYWtlZmlsZQorKysrIGIvaHVyZC9N
YWtlZmlsZQorQEAgLTI5LDcgKzI5LDcgQEAKKyAjIFRoZSBSUEMgaW50ZXJmYWNlcyBnbyBpbiBh
IHNlcGFyYXRlIGxpYnJhcnkuCisgaW50ZXJmYWNlLWxpYnJhcnkgOj0gbGliaHVyZHVzZXIKKyB1
c2VyLWludGVyZmFjZXMJCTo9ICQoYWRkcHJlZml4IGh1cmQvLFwKKy0JCQkJICAgICAgIGF1dGgg
c3RhcnR1cCBcCisrCQkJCSAgICAgICBhdXRoIGF1dGhfcmVxdWVzdCBhdXRoX3JlcGx5IHN0YXJ0
dXAgXAorIAkJCQkgICAgICAgcHJvY2VzcyBwcm9jZXNzX3JlcXVlc3QgXAorIAkJCQkgICAgICAg
bXNnIG1zZ19yZXBseSBtc2dfcmVxdWVzdCBcCisgCQkJCSAgICAgICBleGVjIGV4ZWNfc3RhcnR1
cCBjcmFzaCBpbnRlcnJ1cHQgXAotLSAKMi4zMy4wCgo=


--=-HoVwep0kBgUa1AItb646--

--=-m41uDnbCl2VJI+AMMJZd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYUhlMBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iWrAQD1ktyb6uKCWa+zNN7qsHV47ZtY
koQkU0lwuQP5hE8MDAD+PLRxrxmKLWcnZHtikmzVyas8E/3+ias1pe5UIRoX9A4=
=jKWR
-----END PGP SIGNATURE-----

--=-m41uDnbCl2VJI+AMMJZd--





Acknowledgement sent to Maxime Devos <maximedevos@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#50698; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.