https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15455

            Bug ID: 15455
           Summary: Buildbot crash output: fuzz-2019-01-25-22135.pcap
           Product: Wireshark
           Version: unspecified
          Hardware: x86-64
                OS: Ubuntu
            Status: CONFIRMED
          Severity: Major
          Priority: High
         Component: Dissection engine (libwireshark)
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: buildbot-do-not-re...@wireshark.org
  Target Milestone: ---

Problems have been found with the following capture file:

https://www.wireshark.org/download/automated/captures/fuzz-2019-01-25-22135.pcap

stderr:
Input file: /home/wireshark/menagerie/menagerie/10129-trc_00004_20130227111552

Build host information:
Linux wsbb04 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

Buildbot information:
BUILDBOT_WORKERNAME=clang-code-analysis
BUILDBOT_BUILDNUMBER=4995
BUILDBOT_BUILDERNAME=Clang Code Analysis
BUILDBOT_URL=http://buildbot.wireshark.org/wireshark-master/
BUILDBOT_REPOSITORY=ssh://wireshark-build...@code.wireshark.org:29418/wireshark
BUILDBOT_GOT_REVISION=3ee9c0facf758908236ee43e0effe3b6afdbdf68

Return value:  0

Dissector bug:  0

Valgrind error count:  1



Git commit
commit 3ee9c0facf758908236ee43e0effe3b6afdbdf68
Author: Anders Broman <anders.bro...@ericsson.com>
Date:   Fri Jan 25 15:45:53 2019 +0100

    GTP: Dissect PDU Session Container.

    Change-Id: I4022d1d47aeaaa4a4d3d51c365bd8fad138a8e97
    Reviewed-on: https://code.wireshark.org/review/31735
    Petri-Dish: Anders Broman <a.broma...@gmail.com>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broma...@gmail.com>


Command and args: ./tools/valgrind-wireshark.sh -b
/home/wireshark/builders/wireshark-master-fuzz/clangcodeanalysis/install.plain/bin
 
==21239== Memcheck, a memory error detector
==21239== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==21239== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==21239== Command:
/home/wireshark/builders/wireshark-master-fuzz/clangcodeanalysis/install.plain/bin/tshark
-nr /fuzz/buildbot/clangcodeanalysis/valgrind-fuzz/fuzz-2019-01-25-22135.pcap
==21239== 
==21239== Conditional jump or move depends on uninitialised value(s)
==21239==    at 0xC98D106: ??? (in /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1)
==21239==    by 0xC9855E4: ??? (in /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1)
==21239==    by 0x76ACAA4: update_preauth_hash (packet-smb2.c:834)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239== 
==21239== Conditional jump or move depends on uninitialised value(s)
==21239==    at 0x4C366F2: memmove (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21239==    by 0x76ACB12: update_preauth_hash (packet-smb2.c:837)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239==    by 0x8163E89: call_dissector_work (packet.c:791)
==21239== 
==21239== Conditional jump or move depends on uninitialised value(s)
==21239==    at 0x4C36702: memmove (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21239==    by 0x76ACB12: update_preauth_hash (packet-smb2.c:837)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239==    by 0x8163E89: call_dissector_work (packet.c:791)
==21239== 
==21239== Use of uninitialised value of size 8
==21239==    at 0x4C367E3: memmove (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21239==    by 0x76ACB12: update_preauth_hash (packet-smb2.c:837)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239==    by 0x8163E89: call_dissector_work (packet.c:791)
==21239== 
==21239== Invalid write of size 8
==21239==    at 0x4C367E3: memmove (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21239==    by 0x76ACB12: update_preauth_hash (packet-smb2.c:837)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239==    by 0x8163E89: call_dissector_work (packet.c:791)
==21239==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==21239== 
==21239== 
==21239== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==21239==  Access not within mapped region at address 0x0
==21239==    at 0x4C367E3: memmove (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21239==    by 0x76ACB12: update_preauth_hash (packet-smb2.c:837)
==21239==    by 0x76A89AF: dissect_smb2_session_setup_request
(packet-smb2.c:3163)
==21239==    by 0x76A736A: dissect_smb2_command (packet-smb2.c:9189)
==21239==    by 0x76A66EE: dissect_smb2 (packet-smb2.c:9543)
==21239==    by 0x76A3309: dissect_smb2_heur (packet-smb2.c:9598)
==21239==    by 0x816647F: dissector_try_heuristic (packet.c:2750)
==21239==    by 0x73331A4: dissect_netbios_payload (packet-nbt.c:1066)
==21239==    by 0x7333726: dissect_nbss_packet (packet-nbt.c:1374)
==21239==    by 0x7331165: dissect_nbss (packet-nbt.c:1674)
==21239==    by 0x81681B7: call_dissector_through_handle (packet.c:706)
==21239==    by 0x8163E89: call_dissector_work (packet.c:791)
==21239==  If you believe this happened as a result of a stack
==21239==  overflow in your program's main thread (unlikely but
==21239==  possible), you can try to increase the size of the
==21239==  main thread stack using the --main-stacksize= flag.
==21239==  The main thread stack size used in this run was 2084864.
==21239== 
==21239== HEAP SUMMARY:
==21239==     in use at exit: 25,836,206 bytes in 268,266 blocks
==21239==   total heap usage: 322,715 allocs, 54,449 frees, 39,791,435 bytes
allocated
==21239== 
==21239== LEAK SUMMARY:
==21239==    definitely lost: 0 bytes in 0 blocks
==21239==    indirectly lost: 0 bytes in 0 blocks
==21239==      possibly lost: 1,520 bytes in 5 blocks
==21239==    still reachable: 25,829,199 bytes in 268,176 blocks
==21239==         suppressed: 5,487 bytes in 85 blocks
==21239== Rerun with --leak-check=full to see details of leaked memory
==21239== 
==21239== For counts of detected and suppressed errors, rerun with: -v
==21239== Use --track-origins=yes to see where uninitialised values come from
==21239== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)

[ no debug trace ]

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to