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

Zabbix Agent Crash on Beaglebone Black (no SMBIOS device)

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.10, 4.2.4
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Linux bbb 4.19.31-armv7-x30 #1jessie SMP PREEMPT Sat Mar 30 01:07:10 UTC 2019 armv7l GNU/Linux
    • Team:
      Team C
    • Sprint:
      Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      1. Build from source (./configure --enable-agent) or install from .deb (1:2.2.23+dfsg-0+deb8u1)
      2. run form command line "zabbix_agentd -c config.conf -p"

      Result:

      zabbix_agentd [1640]: ERROR: Got signal [signal:7(SIGBUS),reason:0,refaddr:0xb6f31000]. Crashing ...

      Expected:
      Zabbix agent start

       

      Reason:

      Buffer overrun in ./src/libs/zbxsysinfo/linux/hardware.c:145

       

      Can be fixed with the following patch/hack before 145:

       

      if (((char*)mmp + len) > sizeof(membuf))
      {
        goto close;
      }

       

        Attachments

          Activity

            People

            Assignee:
            atumilovics Andrejs Tumilovics
            Reporter:
            bue bue
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: