Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18926

Executing invalid IPMI command generates invalid memory read/write

    XMLWordPrintable

Details

    • Incident report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.4.0alpha1
    • None
    • Server (S)
    • None

    Description

       executing global script with an invalid IPMI command like

      echo 55; exit 1;

       produces various memory errors:

      ==00:00:07:56.257 19178== 1 errors in context 1 of 34:
      ==00:00:07:56.257 19178== Invalid read of size 8
      ==00:00:07:56.257 19178== at 0x2D42FC: DCconfig_get_ipmi_poller_items (dbconfig.c:9231)
      ==00:00:07:56.257 19178== by 0x3BDBE1: ipmi_manager_schedule_requests (ipmi_manager.c:798)
      ==00:00:07:56.257 19178== by 0x3BE634: ipmi_manager_thread (ipmi_manager.c:1052)
      ==00:00:07:56.257 19178== by 0x30F1AA: zbx_thread_start (threads.c:136)
      ==00:00:07:56.257 19178== by 0x154C77: MAIN_ZABBIX_ENTRY (server.c:1361)
      ==00:00:07:56.257 19178== by 0x2FF769: daemon_start (daemon.c:398)
      ==00:00:07:56.257 19178== by 0x153BC4: main (server.c:1001)
      ==00:00:07:56.257 19178== Address 0x1ffec86f18 is on thread 1's stack
      ==00:00:07:56.257 19178== in frame #0, created by DCconfig_get_ipmi_poller_items (dbconfig.c:9157)
      ==00:00:07:56.257 19178==
      ==00:00:07:56.257 19178==
      ==00:00:07:56.257 19178== 1 errors in context 2 of 34:
      ==00:00:07:56.257 19178== Invalid write of size 8
      ==00:00:07:56.257 19178== at 0x3BDBDD: ipmi_manager_schedule_requests (ipmi_manager.c:798)
      ==00:00:07:56.257 19178== by 0x3BE634: ipmi_manager_thread (ipmi_manager.c:1052)
      ==00:00:07:56.257 19178== by 0x30F1AA: zbx_thread_start (threads.c:136)
      ==00:00:07:56.257 19178== by 0x154C77: MAIN_ZABBIX_ENTRY (server.c:1361)
      ==00:00:07:56.257 19178== by 0x2FF769: daemon_start (daemon.c:398)
      ==00:00:07:56.257 19178== by 0x153BC4: main (server.c:1001)
      ==00:00:07:56.257 19178== Address 0x1ffec86f18 is on thread 1's stack
      ==00:00:07:56.257 19178== in frame #0, created by ipmi_manager_schedule_requests (ipmi_manager.c:792)
      ==00:00:07:56.257 19178==
      ==00:00:07:56.257 19178==
      ==00:00:07:56.257 19178== 470 errors in context 3 of 34:
      ==00:00:07:56.257 19178== Invalid read of size 4
      ==00:00:07:56.257 19178== at 0x3BDED0: ipmi_manager_schedule_requests (ipmi_manager.c:829)
      ==00:00:07:56.257 19178== by 0x3BE634: ipmi_manager_thread (ipmi_manager.c:1052)
      ==00:00:07:56.257 19178== by 0x30F1AA: zbx_thread_start (threads.c:136)
      ==00:00:07:56.257 19178== by 0x154C77: MAIN_ZABBIX_ENTRY (server.c:1361)
      ==00:00:07:56.257 19178== by 0x2FF769: daemon_start (daemon.c:398)
      ==00:00:07:56.257 19178== by 0x153BC4: main (server.c:1001)
      ==00:00:07:56.257 19178== Location 0x1ffec86f54 is 0 bytes inside local var "num"
      ==00:00:07:56.257 19178== declared at ipmi_manager.c:793, in frame #0 of thread 1
      

       

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            arimdjonoks Artjoms Rimdjonoks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: