Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-143

Router crash because of use after free of qdr_tcp_connection_t

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0
    • None
    • Protocol adaptors
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 1.0

      58: 2022-04-06 12:48:45.110905 TCP_TEST test_01_tcp_EC1_EC2 Running pair 0 EC1->EC2 size=1 count=1
      64:     #0 0x5628bbb153e1 in qdr_tcp_connection_egress ../src/adaptors/tcp_adaptor.c:1126
      64:     #1 0x5628bbb1f2b2 in qdr_tcp_deliver ../src/adaptors/tcp_adaptor.c:1657
      64:     #2 0x5628bbcc3861 in qdr_link_process_deliveries ../src/router_core/transfer.c:180
      64:     #3 0x5628bbb1e6f3 in qdr_tcp_push ../src/adaptors/tcp_adaptor.c:1586
      64:     #4 0x5628bbc21732 in qdr_connection_process ../src/router_core/connections.c:401
      64:     #5 0x5628bbb03961 in on_activate ../src/adaptors/tcp_adaptor.c:201
      64:     #6 0x5628bbd3c7c2 in qd_timer_visit ../src/timer.c:320
      64:     #7 0x5628bbd2aa87 in handle ../src/server.c:980
      64:     #8 0x5628bbd2c727 in thread_run ../src/server.c:1095
      64:     #9 0x5628bbbdbf23 in _thread_init ../src/posix/threading.c:172
      64:     #10 0x7f1e4e3fa608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477
      64:     #11 0x7f1e4cd49162 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f162)
      64: 
      64: 0x619000303a68 is located 232 bytes inside of 960-byte region [0x619000303980,0x619000303d40)
      64: allocated by thread T30 here:
      64:     #0 0x7f1e4e5706e5 in __interceptor_posix_memalign ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:217
      64:     #1 0x5628bbb2d909 in qd_alloc ../src/alloc_pool.c:396
      64:     #2 0x5628bbb02aca in new_qdr_tcp_connection_t ../src/adaptors/tcp_adaptor.c:125
      64:     #3 0x5628bbb13bfe in qdr_tcp_connection_egress ../src/adaptors/tcp_adaptor.c:1075
      64:     #4 0x5628bbb1f2b2 in qdr_tcp_deliver ../src/adaptors/tcp_adaptor.c:1657
      64:     #5 0x5628bbcc3861 in qdr_link_process_deliveries ../src/router_core/transfer.c:180
      64:     #6 0x5628bbb1e6f3 in qdr_tcp_push ../src/adaptors/tcp_adaptor.c:1586
      64:     #7 0x5628bbc21732 in qdr_connection_process ../src/router_core/connections.c:401
      64:     #8 0x5628bbb03961 in on_activate ../src/adaptors/tcp_adaptor.c:201
      64:     #9 0x5628bbd3c7c2 in qd_timer_visit ../src/timer.c:320
      64:     #10 0x5628bbd2aa87 in handle ../src/server.c:980
      64:     #11 0x5628bbd2c727 in thread_run ../src/server.c:1095
      64:     #12 0x5628bbbdbf23 in _thread_init ../src/posix/threading.c:172
      64:     #13 0x7f1e4e3fa608 in start_thread /build/glibc-sMfBJT/glibc-2.31/nptl/pthread_create.c:477 

       

      https://github.com/skupperproject/skupper-router/runs/5851026152?check_suite_focus=true#step:9:2712

              gmurthy@redhat.com Ganesh Murthy
              gmurthy@redhat.com Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: