Article View: muc.lists.freebsd.current
Article #138Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel
From: Alexander Leidinger
Date: Mon, 02 Nov 2026 10:21
Date: Mon, 02 Nov 2026 10:21
119 lines
8499 bytes
8499 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_65e04a6b4ea7674e015e42f7dc67d7e8 Content-Type: multipart/alternative; boundary="=_4089360c1c3cc549d0e2996899b5949f" --=_4089360c1c3cc549d0e2996899b5949f Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Am 2026-11-02 10:42, schrieb Alexander Leidinger: > Am 2026-11-02 08:35, schrieb Alexander Leidinger: > >> Userland programs segfault. Basically you get an unusable system at >> boot time. > > And now with a bit more time to explain... > > The problem is a ccache bug, not a FreeBSD bug. ccache 4.14 can return > a stale vDSO when it builds a FreeBSD kernel, and the kernel then > crashes userland processes that use signals. A fresh objdir or a clean > rebuild doesn't fix it. https://github.com/ccache/ccache/issues/1843 Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_4089360c1c3cc549d0e2996899b5949f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p id=3D"reply-intro">Am 2026-11-02 10:42, schrieb Alexander Leidinger:</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"replybody1" style=3D"font-size: 10pt; font-family: Verdana,Genev= a,sans-serif;"> <p id=3D"v1reply-intro">Am 2026-11-02 08:35, schrieb Alexander Leidinger:</= p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"> <div id=3D"v1replybody1"> <div dir=3D"auto"> <div dir=3D"auto">Userland programs segfault. Basically you get an unusable= system at boot time. </div> </div> </div> </blockquote> <div id=3D"v1replybody1"> <div dir=3D"auto"> <div dir=3D"auto"> </div> <div dir=3D"auto">And now with a bit more time to explain...</div> <div dir=3D"auto"> </div> <div dir=3D"auto">The problem is a ccache bug, not a FreeBSD bug. ccache 4.= 14 can return a stale vDSO when it builds a FreeBSD kernel, and the kernel = then crashes userland processes that use signals. A fresh objdir or a clean= rebuild doesn’t fix it.</div> <div dir=3D"auto"> </div> </div> </div> </div> </blockquote> <p><a href=3D"https://github.com/ccache/ccache/issues/1843">https://github.= com/ccache/ccache/issues/1843</a></p> <p>Bye,<br />Alexander.</p> <div id=3D"signature">-- <br /> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= <a href=3D"http://www.Leidinger.net" target=3D"_blank" rel=3D"noreferrer no= opener">http://www.Leidinger.net</a> <a href=3D"mailto:Alexander@Leidinger.= net">Alexander@Leidinger.net</a>: PGP 0x8F31830F9F2772BF<br /><a href=3D"ht= tp://www.FreeBSD.org" target=3D"_blank" rel=3D"noreferrer noopener">http://= www.FreeBSD.org</a> <a href=3D"mailto:netchild@FreeBSD.org">ne= tchild@FreeBSD.org</a> : PGP 0x8F31830F9F2772BF</div> </div> </body></html> --=_4089360c1c3cc549d0e2996899b5949f-- --=_65e04a6b4ea7674e015e42f7dc67d7e8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=870 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmroZDEbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwzAAoJEBINsJsD+NiG4NwQAKsbzbQGVyCuhK1ms/dR CsXe94JmH2ZcIyw6K61hO89AHBhpMf2yvMr9qzInClixMq4tlMXliKs+DwadhYtb qp322C8PsT/So2r0NaaEvhNzaRcuhX8Ta2KUJzM8c8/67F92Pk3dreeRgOdae1+3 Y1GdbtZnY44sufeVX3qCiG6gDgTKVbqPTP/8/ypZPCuwQJhMO9WdS72aKEDDzGXI hYCQa+TXu7CMPOaCItcWhnzjy2AbYZBZTy5CA1JdeSLbjGrw/vwg7+/ivmTYyGdw oqxBW5GfERs1sLBCknEZAbN57bE2tJcz6DdK+3Ketczn19PDAMLh3HWX7KgbDGGs H5ell2G0YsBVLnWITFw0n1+Zk/1/LkTbFz4Xf9NBFEu02W2A7sbtdU9qtGwRMV5I hW8nNoERMBwIoD3RiWMlS4p6jp6w/qHrQBP2/JgrxtN3/Rh8lj8LXxlWAxzTPT+q tdpZ+u8zpB1+u/TXXN6mDr9GS2bGHfCGMmB6j3Pvfq7dYgFmXRztr2fnBZv45MwK q5LdNaFk2kHdmET3WSPnxkcr3kaTG9Ki+uZEh+YiEoO2zGFyddGqtDhvtXJeZhdK B6X7vRpo2qiuqryCZOUgYMVYILe7cPh5Nnlqv/maRhWAPc4ipvOJJoe4GXVMIh6+ Z59uPaBAxm2KIg7/B0kzKIml =smkG -----END PGP SIGNATURE----- --=_65e04a6b4ea7674e015e42f7dc67d7e8-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<95611035973e88fb3b5d5a5e23f97ac0@Leidinger.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <ab3d3725b7a6e64d8b90931ee30ebe05@Leidinger.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Alexander Leidinger <Alexander@Leidinger.net> Newsgroups: muc.lists.freebsd.current Subject: Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel Date: Mon, 02 Nov 2026 11:21:27 +0100 Organization: No organization, this is a private message. Sender: owner-freebsd-current@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <95611035973e88fb3b5d5a5e23f97ac0@Leidinger.net> References: <> <ab3d3725b7a6e64d8b90931ee30ebe05@Leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_65e04a6b4ea7674e015e42f7dc67d7e8"; micalg=pgp-sha256 Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="12505"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793614939; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-owner:list-unsubscribe: list-subscribe:list-post; bh=C1iFs+bZKYS/RMKJcCNUgYbo7HpZP82VEmWmZnyVewE=; b=B/y/26mFLusQeSnY0KKrAFd++3v5GhdtI6lmG3sZ2BwgE7I7N8an8Govkw8J88pBvQH9YT 2dkf/SvykH4OxHwXVOmo0ZUE6190PgsLuD5iuOKpal4/3NRCN7xExtjkEZYDORH1S1z/qX pT5rbmtn0YmKmXEhKdrH39xb0PDPJWbBrvIo/xIlE6SMVpS52PQSFisPsvSYowdY38DvjR DTbBO1Y6AjE+Hdb3pq5W2GtZGIHi32INIMHpz9ogSc9qLdQX4gY1QyfY1l4pKSK+Rtx6zm JXI1teeB9RJf7pXPiHof86OaibxYSSJUs94OKCLYCRDRdY3IBJxtvdKZoxmoEg== X-Original-To: current@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=LIujdkWg; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Precedence: list DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1793614900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C1iFs+bZKYS/RMKJcCNUgYbo7HpZP82VEmWmZnyVewE=; b=LIujdkWgN+drhm1CDgpae/oxLYYW3nQnc8Vj/kk2iXthLMudgjvcL5STOmC+bGEfXlYm1e WOzaEP+4C9sP54LlJYi0M9N1DT33OkBxBAFbrw9Ivo9uG7mo9bORCZCJd388off89yR3AU 6XNSj2cgnDgdZqfMn9q3LNCUFYJPg+YMSuShUPoHBwel5jPRd2RECkG46McLhZ77d0FmRt GIWzkUB9oHHNyaEPIIwEewqzguDtn/muTuXMauj0p9P3WnlFFfIsXrZ+hUfYNs2ox3SQUf z2eey5kge8rLCHzflh6i5riC3bko9skmCGcZcGPqfwIK/l3oJaP873U+abyyIA== In-Reply-To: <ab3d3725b7a6e64d8b90931ee30ebe05@Leidinger.net> X-Rspamd-Queue-Id: 4jJ76S6LBmz4Wx3 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.10 / 15.00]; SIGNED_PGP(-2.00)[]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+mx:c]; HAS_ATTACHMENT(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; MISSING_XM_UA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes