Bug 1810104
| Summary: | snmpd crashes with segfault while walking host table | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Jackson <mhjacks> |
| Component: | net-snmp | Assignee: | Josef Ridky <jridky> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | jridky, jsafrane, s.bennett, zdohnal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | net-snmp-5.8-19.fc30 net-snmp-5.8-19.fc32 net-snmp-5.8-19.fc31 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-25 02:41:01 UTC | 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: | |||
This applies to the version in updates-testing; the regression with the hrSoftwareInstalled table is fixed by -17. I'm seeing this same behaviour with 5.8.16 (which is on updates-released for Fedora 30). FEDORA-2020-c3ab547325 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c3ab547325 FEDORA-2020-44b769adaf has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-44b769adaf FEDORA-2020-7303a69282 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7303a69282 FEDORA-2020-c3ab547325 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c3ab547325` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c3ab547325 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-44b769adaf has been pushed to the Fedora 30 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-44b769adaf` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-44b769adaf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-7303a69282 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7303a69282` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7303a69282 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-44b769adaf has been pushed to the Fedora 30 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-7303a69282 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-c3ab547325 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: snmpwalk fails and crashes agent on version 5.8-17.fc31.x86_64 Version-Release number of selected component (if applicable): net-snmp-1:5.8-17.fc31.x86_64 How reproducible: every time Steps to Reproduce: 1.start snmp agent with rocommunity configured 2.snmpwalk host table with configured rocommunity 3. Actual results: Agent crashes mid-table Expected results: Agent completes query of table Additional info: From the query side: snmpwalk -v2c -c p0ller localhost host HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (12179879) 1 day, 9:49:58.79 HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2020-3-4,8:35:15.0,-6:0 HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 393216 HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: "BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.5.7-200.fc31.x86_64 root=/dev/mapper/fedora_mithrandir-root ro resume=/dev/mapper/fedora_mithran" HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 1 HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 283 HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 0 HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 7786308 KBytes Timeout: No Response from localhost Systemctl status indicates the agent core dumped: % systemctl status snmpd ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/usr/lib/systemd/system/snmpd.service; enabled; vendor preset: disabled) Active: failed (Result: core-dump) since Wed 2020-03-04 08:35:15 CST; 2min 25s ago Process: 193309 ExecStart=/usr/sbin/snmpd $OPTIONS -f (code=dumped, signal=SEGV) Main PID: 193309 (code=dumped, signal=SEGV) CPU: 59ms