Bug 1957592 - check_disk -l --skip-fake-fs on RHEL8.3 core dumps.
Summary: check_disk -l --skip-fake-fs on RHEL8.3 core dumps.
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios-plugins
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-06 06:00 UTC by Christian
Modified: 2021-05-06 06:00 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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