Thread View: muc.lists.freebsd.current
2 messages
2 total messages
Started by Alexander Leidinger
Mon, 02 Nov 2026 10:21
Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel
Author: 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
Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel
Author: void
Date: Wed, 04 Nov 2026 22:16
Date: Wed, 04 Nov 2026 22:16
39 lines
8615 bytes
8615 bytes
--0UZD4nbpazOA5XHj Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 02, 2026 at 11:21:27AM +0100, Alexander Leidinger wrote: >>The problem is a ccache bug, not a FreeBSD bug. ccache 4.14 can=20 >>return a stale vDSO when it builds a FreeBSD kernel, and the kernel=20 >>then crashes userland processes that use signals. A fresh objdir or=20 >>a clean rebuild doesn't fix it. > >https://github.com/ccache/ccache/issues/1843 Appears to be fixed in https://github.com/ccache/ccache/pull/1844 --=20 void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE 7DD4 FD32 D1F9 = 0814 DECD Please don't Cc: as I'm already subscribed to the list. --0UZD4nbpazOA5XHj Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauuusxsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s3CjAD9H0lQ4ZZglfWnaQe6wCFW 9vkAAM6yTGg9JvxRsqyuprkA/RTAJf7SisPmXQEzD2RmrT3CIM4iqKL14i/fC/8v +bIE =W4rN -----END PGP SIGNATURE----- --0UZD4nbpazOA5XHj-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads