[gnutls-devel] GnuTLS | Timeout in _asn1_find_up (#1327)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Feb 28 15:54:49 CET 2022



tongxiaoge1001 created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1327



## Description of problem:
==3981605== ERROR: libFuzzer: timeout after 61 seconds
    #0 0x52b281 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:86:3
    #1 0x475ca8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5
    #2 0x45a2f9 in fuzzer::Fuzzer::AlarmCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:301:5
    #3 0x7f2cc9bfc4bf  (/lib64/libpthread.so.0+0x134bf)
    #4 0x860809 in _asn1_find_up /src/libtasn1/lib/parser_aux.c:533:47
    #5 0x852ad7 in asn1_der_decoding2 /src/libtasn1/lib/decoding.c:1566:6
    #6 0x55b990 in _asn1_strict_der_decode /src/gnutls/lib/x509/./common.h:302:9
    #7 0x55b64a in gnutls_x509_crq_import /src/gnutls/lib/x509/crq.c:150:6
    #8 0x555ad5 in LLVMFuzzerTestOneInput /src/gnutls/fuzz/gnutls_x509_crq_parser_fuzzer.c:42:8
    #9 0x45bb23 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15
    #10 0x447292 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6
    #11 0x44cf36 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:856:9
    #12 0x476442 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #13 0x7f2cc9a2db26 in __libc_start_main (/lib64/libc.so.6+0x25b26)
    #14 0x423149 in _start (/root/oss-fuzz/build/out/gnutls/gnutls_x509_crq_parser_fuzzer+0x423149)

## Version of gnutls used:
3.6.14

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
openEuler

## How reproducible:
[fusiontest-testcase-gnutls_x509_crq_parser_fuzzer-202111260001.rar](/uploads/62d97541661d40a04bba34394160322e/fusiontest-testcase-gnutls_x509_crq_parser_fuzzer-202111260001.rar)

## Actual results:
Error occurred

## Expected results:
No ERROR

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1327
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220228/958b885d/attachment.html>


More information about the Gnutls-devel mailing list