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

valgrind 3.25.0 regression close_range syscall

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.1
    • valgrind
    • None
    • valgrind-3.25.1-1.el10
    • Yes
    • Important
    • 1
    • rhel-pt-perf-tools
    • ssg_platform_tools
    • 13
    • 15
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT PerfDebug 2025 S07
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      After the valrgind 3.25.0 release a couple of bugs were found which are already fixed upstream on the VALGRIND_3_25_BRANCH (and already imported into fedora).

      The most critical of these is a regression in the close_range syscall which makes it fail in certain cases where it shouldn't causing programs running under valgrind to have file descriptors in an inconsistent state.

      A simple testcase from the pcp project that causes running pmrepconf under valgrind into an infinite loop producing lots of Warning: invalid file descriptor 1026 in syscall close()

      1. dnf install pcp
      2. systemctl start pmcd.service
      3. touch /tmp/newfile
      4. valgrind pmrepconf /tmp/newfile </dev/null

              rhn-engineering-mjw Mark Wielaard
              rhn-engineering-mjw Mark Wielaard
              Mark Wielaard Mark Wielaard
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: