segmentation fault with glibc-2.34

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Dec 3 14:55:12 GMT 2021


On Fri, Dec 3, 2021 at 10:38 AM Andreas Fink via Libc-help
<libc-help@sourceware.org> wrote:
>
> Hello,
> I have observed a crash in firefox with glibc-2.34 and have found a
> small reproducer.
> Is the sigsys signal handler valid? If yes, then there is a bug in
> glibc-2.34.
> If it is invalid to set the result in the context, I think the firefox
> sandbox is doing dodgy things.
>
> gcc test.c -lseccomp
> strace ./a.out

The seccomp filter *explicitly* blocks newfstatat, which might be used
by getpwuid.

>
> This test reproducer does not segfault with 2.33 (it gives a
> "Permission denied")
>
> Cheers
> Andreas


More information about the Libc-help mailing list