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

[10.0-beta] rpcdebug leads to coredump on arch s390x, ppc64le, and aarch64

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • nfs-utils
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • aarch64, ppc64le, s390x
    • None

      What were you trying to do that didn't work?

      [root@ibm-z-512 ~]# rpm -q kernel nfs-utils
      kernel-6.10.0-15.el10.s390x
      nfs-utils-2.6.4-0.rc4.el10.1.s390x
      [root@ibm-z-512 ~]# rpcdebug
      *** buffer overflow detected ***: terminated
      Aborted (core dumped)
      [root@ibm-z-512 ~]# rpm -qf `which rpcdebug`
      nfs-utils-2.6.4-0.rc4.el10.1.s390x
      [root@ibm-z-512 ~]# coredumpctl
      TIME                         PID UID GID SIG     COREFILE EXE                 SIZE
      Mon 2024-08-05 03:58:06 EDT 6165   0   0 SIGABRT present  /usr/sbin/rpcdebug 17.3K
      [root@ibm-z-512 ~]#
      [root@ibm-z-512 ~]# coredumpctl info
                 PID: 6165 (rpcdebug)
                 UID: 0 (root)
                 GID: 0 (root)
              Signal: 6 (ABRT)
           Timestamp: Mon 2024-08-05 03:58:06 EDT (4min 54s ago)
        Command Line: rpcdebug
          Executable: /usr/sbin/rpcdebug
       Control Group: /user.slice/user-0.slice/session-2.scope
                Unit: session-2.scope
               Slice: user-0.slice
             Session: 2
           Owner UID: 0 (root)
             Boot ID: a239b7854d324850b98ea8676699f7bf
          Machine ID: 699378704eb7401fa5ee0565ba37aed8
            Hostname: ibm-z-512.lab.eng.rdu2.redhat.com
             Storage: /var/lib/systemd/coredump/core.rpcdebug.0.a239b7854d324850b98ea8676699f7bf.6165.1722844686000000.zst (present)
        Size on Disk: 17.3K
             Package: nfs-utils/2.6.4-0.rc4.el10.1
            build-id: cbf45430a358b9bd2c4d44667baf6cb3ac2101c5
             Message: Process 6165 (rpcdebug) of user 0 dumped core.
      
                      Module rpcdebug from rpm nfs-utils-2.6.4-0.rc4.el10.1.s390x
                      Stack trace of thread 6165:
                      #0  0x000003ff9b3adb5a __pthread_kill_implementation (libc.so.6 + 0xadb5a)
                      #1  0x000003ff9b353d70 raise (libc.so.6 + 0x53d70)
                      #2  0x000003ff9b333d5c abort (libc.so.6 + 0x33d5c)
                      #3  0x000003ff9b3a01fa __libc_message_impl (libc.so.6 + 0xa01fa)
                      #4  0x000003ff9b439a6c __fortify_fail (libc.so.6 + 0x139a6c)
                      #5  0x000003ff9b4392f8 __chk_fail (libc.so.6 + 0x1392f8)
                      #6  0x000003ff9b43ac1e __strcpy_chk (libc.so.6 + 0x13ac1e)
                      #7  0x000002aa02e818c6 main (rpcdebug + 0x18c6)
                      #8  0x000003ff9b33431c __libc_start_call_main (libc.so.6 + 0x3431c)
                      #9  0x000003ff9b33441e __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x3441e)
                      #10 0x000002aa02e81d80 n/a (rpcdebug + 0x1d80)
                      ELF object binary architecture: IBM S/390
      

      Please provide the package NVR for which bug is seen:

      nfs-utils-2.6.4-0.rc4.el10.1.s390x

      How reproducible:

      always

      Steps to reproduce

      1.  run `rpcdebug`
      2.  
      3.  

      Expected results

      Actual results

              stevedatrhn Steve Dickson
              rhn-support-yoyang Yongcheng Yang
              Steve Dickson Steve Dickson
              Yongcheng Yang Yongcheng Yang
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: