Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-107518

glibc: Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [rhel-9]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • glibc-2.34-231.el9
    • No
    • Low
    • Hide
      e5363e6f460c2d58809bf10fc96d70fd1ef8b5b2
      Show
      e5363e6f460c2d58809bf10fc96d70fd1ef8b5b2
    • 1
    • rhel-pt-c-libs
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • PT Libraries 2025 S11
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      RHEL-72017 was backported before this additional upstream fix landed:

      commit e5363e6f460c2d58809bf10fc96d70fd1ef8b5b2
      Author: Jens Remus <jremus@linux.ibm.com>
      Date:   Fri Jul 25 15:40:03 2025 +0200
      
          Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234]
          
          Commit 10a66a8e421b ("Remove <libc-tsd.h>") removed the TLS initial-exec
          (IE) model attribute from the __libc_tsd_CTYPE_* thread variable declarations
          and definitions.  Commit a894f04d8776 ("Optimize __libc_tsd_* thread
          variable access") restored it on declarations.
          
          Restore the TLS initial-exec model attribute on __libc_tsd_CTYPE_* thread
          variable definitions.
          
          This resolves test tst-locale1 failure on s390 32-bit, when using a
          GNU linker without the fix from GNU binutils commit aefebe82dc89
          ("IBM zSystems: Fix offset relative to static TLS").
          
          Reviewed-by: Florian Weimer <fweimer@redhat.com>
      

      We should pick up this additional fix to avoid the unexpected code generation changes.

              skolosov@redhat.com Sergey Kolosov
              fweimer@redhat.com Florian Weimer
              Platform Tools - Libraries Bot Platform Tools - Libraries Bot
              Sergey Kolosov Sergey Kolosov
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: