Bug 2073141 - Busybox segfaults when running any command
Summary: Busybox segfaults when running any command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: busybox
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-07 18:01 UTC by Ricardo Garcia
Modified: 2022-05-07 04:20 UTC (History)
6 users (show)

Fixed In Version: busybox-1.35.0-4.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 04:20:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ricardo Garcia 2022-04-07 18:01:21 UTC
Description of problem:

Busybox crashes when running any command. Examples:

$ busybox cat
Segmentation fault (core dumped)
$ /usr/sbin/busybox ls -l
Segmentation fault (core dumped)
$ busybox echo test
Segmentation fault (core dumped)


Version-Release number of selected component (if applicable):

busybox-1.35.0-2.fc36.x86_64


How reproducible:

Always, as seen above.


Steps to Reproduce:

See above.


Actual results:

Segmentation fault.


Expected results:

Program working properly. :)


Additional info:

The coredump as show by coredumpctl always looks the same:

$ coredumpctl info
           PID: 7739 (busybox)
           UID: 1000 (rg3)
           GID: 1000 (rg3)
        Signal: 11 (SEGV)
     Timestamp: Thu 2022-04-07 19:58:18 CEST (2min 8s ago)
  Command Line: busybox echo test
    Executable: /usr/sbin/busybox
 Control Group: /user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/gnome-terminal-server.service
          Unit: user
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (rg3)
       Boot ID: 12b9764a50714b8a81593063f86c5ab6
    Machine ID: 413dd3eafb9b4998949e24db6549c493
      Hostname: deckard
       Storage: /var/lib/systemd/coredump/core.busybox.1000.12b9764a50714b8a81593063f86c5ab6.7739.1649354298000000.zst (present)
     Disk Size: 10.8K
       Package: busybox/1.35.0-2.fc36
      build-id: 88baa87c0a47de9361e9abdbea1d01d5ee79f832
       Message: Process 7739 (busybox) of user 1000 dumped core.
                
                Module /usr/sbin/busybox with build-id 88baa87c0a47de9361e9abdbea1d01d5ee79f832
                Metadata for module /usr/sbin/busybox owned by FDO found: {
                        "type" : "rpm",
                        "name" : "busybox",
                        "version" : "1.35.0-2.fc36",
                        "architecture" : "x86_64",
                        "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module linux-vdso.so.1 with build-id 1e1f6d732d4ae146d998a78a133181ef56456893
                Stack trace of thread 7739:
                #0  0x0000000000409597 parse_config_file (/usr/sbin/busybox + 0x9597)
                #1  0x00000000004098f6 main (/usr/sbin/busybox + 0x98f6)
                #2  0x00000000004fdd9e __uClibc_main (/usr/sbin/busybox + 0xfdd9e)
                #3  0x0000000000401998 _start (/usr/sbin/busybox + 0x1998)
                ELF object binary architecture: AMD x86-64

Comment 1 Fedora Update System 2022-04-08 16:11:58 UTC
FEDORA-2022-75031be4c9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-75031be4c9

Comment 2 Ricardo Garcia 2022-04-08 16:44:07 UTC
The update above fixes the issue. 👍

Comment 3 Fedora Update System 2022-04-08 18:57:39 UTC
FEDORA-2022-75031be4c9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-75031be4c9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-75031be4c9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-05-07 04:20:00 UTC
FEDORA-2022-75031be4c9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.