lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACT4Y+a9GnOh3wHKSRwzoKF6_OSksQ8qehnHfpCgkQSt_OOmYg@mail.gmail.com>
Date: Wed, 28 Jan 2026 09:54:45 +0100
From: Dmitry Vyukov <dvyukov@...gle.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: David Matlack <dmatlack@...gle.com>, Thomas Gleixner <tglx@...nel.org>, Marco Elver <elver@...gle.com>, 
	Peter Zijlstra <peterz@...radead.org>, LKML <linux-kernel@...r.kernel.org>, 
	Michael Jeanson <mjeanson@...icios.com>, Jens Axboe <axboe@...nel.dk>, 
	"Paul E. McKenney" <paulmck@...nel.org>, X86 ML <x86@...nel.org>, 
	Sean Christopherson <seanjc@...gle.com>, Wei Liu <wei.liu@...nel.org>
Subject: Re: SIGSEGVs after 39a167560a61 ("rseq: Optimize event setting")

On Tue, 27 Jan 2026 at 21:34, Mathieu Desnoyers
<mathieu.desnoyers@...icios.com> wrote:
>
> +CC Dmitry and Marco.
>
> On 2026-01-26 17:35, Mathieu Desnoyers wrote:
> > On 2026-01-26 17:27, David Matlack wrote:
> >> On Mon, Jan 26, 2026 at 1:51 PM Thomas Gleixner <tglx@...nel.org> wrote:
> > [...]
> >>>> Perhaps this is the nudge Google needs to go fix this.
> >>>
> >>> The real question is whether the segfault is triggered from the rseq
> >>> sanity checks or if the application segfaults becauses it relies on
> >>> something something which is not guaranteed by the ABI. As this is
> >>> secret sauce, I can't tell.
> >>
> >> I tried enabling /debug/rseq/debug but many of the daemons on my host
> >> started crash-looping so much that I wasn't able to even run my test.
> >>
> >> Next I tried disabling CONFIG_RSEQ and as expected the issue went
> >> away. I will use that for now to unblock my VFIO testing.
> >>
> >> I have reported the tcmalloc regression internally within Google to
> >> figure out what next step they want to take.
> >
> > Note that I've proposed to help out the tcmalloc people a few
> > times in the past years to fix this, but I've been told that
> > it was not a priority on their end, and that they would not be
> > able to even test whatever I would come up with.

I see the patch sets t->rseq.event.ids_changed when cid changes.
David, perhaps we miss the same update vcpu changes b/c logically vcpu
is the same as cid?
Otherwise I don't see why this change would interfere with tcmalloc's
[ab]use of rseq. Fences (membarrier) should continue to update rseq
unconditionally for tcmalloc, but that's not the scheduler fast paths.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ