public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/27842] New: Race condition in _IO_FLAGS2_NEED_LOCK optimization
@ 2021-05-10 19:24 fweimer at redhat dot com
  2022-06-10 12:38 ` [Bug stdio/27842] " cvs-commit at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: fweimer at redhat dot com @ 2021-05-10 19:24 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27842
           Summary: Race condition in _IO_FLAGS2_NEED_LOCK optimization
           Product: glibc
           Version: 2.34
            Status: NEW
          Severity: minor
          Priority: P3
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

flockfile uses a read-modify-write operation on _flags2 outside a lock region,
which can potentially clobber concurrent _flags2 updates performed under the
lock.

Found via code review, no reproducer known.

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

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

end of thread, other threads:[~2022-06-10 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 19:24 [Bug stdio/27842] New: Race condition in _IO_FLAGS2_NEED_LOCK optimization fweimer at redhat dot com
2022-06-10 12:38 ` [Bug stdio/27842] " cvs-commit at gcc dot gnu.org

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