public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/32215] New: Signal handlers after fork may encounter missing robust list
@ 2024-09-26  9:53 fweimer at redhat dot com
  2024-09-26  9:53 ` [Bug libc/32215] Signal handlers after fork may encounter missing robust mutex list fweimer at redhat dot com
  2024-09-26 15:51 ` cristian at rodriguez dot im
  0 siblings, 2 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2024-09-26  9:53 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=32215

            Bug ID: 32215
           Summary: Signal handlers after fork may encounter missing
                    robust list
           Product: glibc
           Version: 2.41
            Status: NEW
          Severity: normal
          Priority: P3
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The fork system call in Linux does not preserve the robust list pointer from
the parent process. Linux does this to prevent double-unlocking because
userspace should clear the robust list first. We currently do not disable
signals around fork/_Fork (like we do for thread creation), so this
intermittent state (missing robust list registration) is observable by
applications.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/32215] Signal handlers after fork may encounter missing robust mutex list
  2024-09-26  9:53 [Bug libc/32215] New: Signal handlers after fork may encounter missing robust list fweimer at redhat dot com
@ 2024-09-26  9:53 ` fweimer at redhat dot com
  2024-09-26 15:51 ` cristian at rodriguez dot im
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2024-09-26  9:53 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=32215

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Signal handlers after fork  |Signal handlers after fork
                   |may encounter missing       |may encounter missing
                   |robust list                 |robust mutex list
                 CC|                            |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/32215] Signal handlers after fork may encounter missing robust mutex list
  2024-09-26  9:53 [Bug libc/32215] New: Signal handlers after fork may encounter missing robust list fweimer at redhat dot com
  2024-09-26  9:53 ` [Bug libc/32215] Signal handlers after fork may encounter missing robust mutex list fweimer at redhat dot com
@ 2024-09-26 15:51 ` cristian at rodriguez dot im
  1 sibling, 0 replies; 3+ messages in thread
From: cristian at rodriguez dot im @ 2024-09-26 15:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=32215

Cristian Rodríguez <cristian at rodriguez dot im> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cristian at rodriguez dot im

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-26 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-26  9:53 [Bug libc/32215] New: Signal handlers after fork may encounter missing robust list fweimer at redhat dot com
2024-09-26  9:53 ` [Bug libc/32215] Signal handlers after fork may encounter missing robust mutex list fweimer at redhat dot com
2024-09-26 15:51 ` cristian at rodriguez dot im

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).