Bug 1753506
Summary: | net-snmpd invalid free | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Josef Ridky <jridky> |
Component: | net-snmp | Assignee: | Josef Ridky <jridky> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | bryan, extras-qa, jliedy, jridky, jsafrane, pavel, ravpatil, wattersm, zdohnal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | net-snmp-5.8-19.fc30 net-snmp-5.8-19.fc32 net-snmp-5.8-19.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1663027 | Environment: | |
Last Closed: | 2020-04-25 02:41:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1663027 | ||
Bug Blocks: |
Description
Josef Ridky
2019-09-19 06:38:47 UTC
I have prepared scratch build with possible solution. @pavel Are you able to test it on your case? Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=37736050 5.8-13, fc30: snmpd daemon do not crash, command line tools work as required but now i see problem with perl module SNMP::Session i have test table with 2000 records, snmptable fetches all rows, SNMP::Session::get_table stops after ~127 rows with status: (genError) A general failure occured (tooBig) Response message would have been too large. can successfully retrieve the same table under fc28 This issue also appears to affect RHEL/CentOS 8. The snmpd service crashes every few hours with log entries similar to below. Dec 30 01:25:39 host.example.com systemd-coredump[788]: Process 30476 (snmpd) of user 0 dumped core. Stack trace of thread 30476: #0 0x00007f26c126e93f raise (libc.so.6) #1 0x00007f26c1258c95 abort (libc.so.6) #2 0x00007f26c12b1d57 __libc_message (libc.so.6) #3 0x00007f26c12b868c malloc_printerr (libc.so.6) #4 0x00007f26c12ba027 _int_free (libc.so.6) #5 0x00007f26c2bd1275 usm_generate_out_msg (libnetsnmp.so.35) #6 0x00007f26c2bd1ae9 usm_secmod_generate_out_msg (libnetsnmp.so.35) #7 0x00007f26c2b74ed2 snmpv3_packet_build (libnetsnmp.so.35) #8 0x00007f26c2b76f07 snmp_build (libnetsnmp.so.35) #9 0x00007f26c2b7742b netsnmp_build_packet (libnetsnmp.so.35) #10 0x00007f26c2b776d6 _build_initial_pdu_packet (libnetsnmp.so.35) #11 0x00007f26c33df5c9 netsnmp_wrap_up_request (libnetsnmpagent.so.35) #12 0x00007f26c33e277b netsnmp_handle_request (libnetsnmpagent.so.35) #13 0x00007f26c33e2a9a handle_snmp_packet (libnetsnmpagent.so.35) #14 0x00007f26c2b7f712 _sess_process_packet (libnetsnmp.so.35) #15 0x00007f26c2b80776 _sess_read (libnetsnmp.so.35) #16 0x00007f26c2b812dd snmp_sess_read2 (libnetsnmp.so.35) #17 0x00007f26c2b8132b snmp_read2 (libnetsnmp.so.35) #18 0x000055dd2afb9377 receive (snmpd) #19 0x000055dd2afb866e main (snmpd) #20 0x00007f26c125a813 __libc_start_main (libc.so.6) #21 0x000055dd2afb8abe _start (snmpd) Package info is as follows. [root@host ~]# rpm -qi net-snmp Name : net-snmp Epoch : 1 Version : 5.8 Release : 7.el8_0.2 Architecture: x86_64 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. |