public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/28353] New: Race condition on __opensock
@ 2021-09-19 12:45 adhemerval.zanella at linaro dot org
  2021-09-20  5:13 ` [Bug network/28353] " pgowda.cve at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-09-19 12:45 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28353
           Summary: Race condition on __opensock
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
  Target Milestone: ---

The __opensock contains two static variables (last_type, last_family) that can
race, triggering an assert on line 63 of opensock.c.  We should either add some
memory barrier, making it thread-local, or just remove the optimization.

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

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

end of thread, other threads:[~2022-02-03 19:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19 12:45 [Bug network/28353] New: Race condition on __opensock adhemerval.zanella at linaro dot org
2021-09-20  5:13 ` [Bug network/28353] " pgowda.cve at gmail dot com
2021-09-21 20:53 ` rwmacleod at gmail dot com
2021-09-27  5:19 ` pgowda.cve at gmail dot com
2021-09-27 14:37 ` fweimer at redhat dot com
2021-09-28 17:50 ` fweimer at redhat dot com
2021-10-06 19:27 ` rwmacleod at gmail dot com
2022-02-03 19:30 ` fweimer at redhat dot com

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).