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

glibc: Adjust __rseq_size behavior to upstream [rhel-9.7]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • glibc-2.34-174.el9
    • No
    • Low
    • ZStream, Patch
    • Hide
      8754a4133e154ca853e6765a3fe5c7a904c77626
      2b92982e2369d292560793bee8e730f695f48ff3
      2e456ccf0c34a056e3ccafac4a0c7effef14d918
      97f60abd25628425971f07e9b0e7f8eec0741235
      d9f40387d3305d97e30a8cf8724218c42a63680a
      Show
      8754a4133e154ca853e6765a3fe5c7a904c77626 2b92982e2369d292560793bee8e730f695f48ff3 2e456ccf0c34a056e3ccafac4a0c7effef14d918 97f60abd25628425971f07e9b0e7f8eec0741235 d9f40387d3305d97e30a8cf8724218c42a63680a
    • 1
    • rhel-pt-c-libs
    • ssg_platform_tools
    • 1
    • False
    • False
    • Hide

      None

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

      Upstream fixed an API glitch in __rseq_size with this commit:

      commit 2e456ccf0c34a056e3ccafac4a0c7effef14d918
      Author: Florian Weimer <fweimer@redhat.com>
      Date:   Mon Jul 8 21:14:00 2024 +0200
      
          Linux: Make __rseq_size useful for feature detection (bug 31965)
          
          The __rseq_size value is now the active area of struct rseq
          (so 20 initially), not the full struct size including padding
          at the end (32 initially).
          
          Update misc/tst-rseq to print some additional diagnostics.
          
          Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
          Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      

      This was deemed a glibc bug fix for an incorrectly implemented interface, so it applies retroactively.

      We need to backport this into all RHEL 9 releases with __rseq_size support (so all of them), so that applications can use __rseq_size for feature checks in the expected way.

              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:
              11 Start watching this issue

                Created:
                Updated: