Bug 1957592

Summary: check_disk -l --skip-fake-fs on RHEL8.3 core dumps.
Product: [Fedora] Fedora EPEL Reporter: Christian <christ64>
Component: nagios-pluginsAssignee: Guido Aulisi <guido.aulisi>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel8CC: b.heden, guido.aulisi, herrold, lemenkov, smooge, swilkerson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian 2021-05-06 06:00:41 UTC
Description of problem:
When running:
   /usr/lib64/nagios/plugins/check_disk -l --skip-fake-fs
the command core dumps on a SIGSEV.

Version-Release number of selected component (if applicable):
Only tried 2.3.3-5.el8 from EPEL8

How reproducible:
Always

Steps to Reproduce:
1.  /usr/lib64/nagios/plugins/check_disk -l                  # Works
2.  /usr/lib64/nagios/plugins/check_disk -l --skip-fake-fs   # Crashes
3.

Actual results:
Segmentation fault (core dumped)

Expected results:
Listing of all normal filesystems and their level of usage.

Additional info:
1. From dmesg:
[Wed May  5 16:52:10 2021] check_disk[59372]: segfault at 55c659af5e58 ip 000055c659aea927 sp 00007ffdced25510 error 7 in check_disk[55c659ae7000+14000]
[Wed May  5 16:52:10 2021] Code: 74 21 48 8d 35 e5 b9 00 00 4c 89 f7 e8 02 fa ff ff 48 85 c0 0f 84 69 03 00 00 66 0f 1f 84 00 00 00 00 00 49 8b 47 28 4c 89 ff <48> 89 45 28 e8 d0 8d 00 00 4d 8

2. On RHEL7.9 with versions 2.3.3-2.el7, the command works as expected.