Skip to content
Snippets Groups Projects
  1. Nov 12, 2021
  2. Nov 11, 2021
  3. Sep 21, 2021
  4. Sep 10, 2021
    • Victorien Le Couviour--Tuffet's avatar
      oss-fuzz: Add a test case for hbd flag change · 14eec6eb
      Victorien Le Couviour--Tuffet authored
      Fixed by 69ff474a7f3a7ccc61c5e6881e45e0afe693f352.
      
      =================================================================
      ==71453==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x629000009a40 at pc 0x00010dad0530 bp 0x7ffee25c2ab0 sp 0x7ffee25c2278
      READ of size 948 at 0x629000009a40 thread T0
          #0 0x10dad052f in __asan_memcpy+0x1af (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4652f)
          #1 0x10d8b6cf7 in backup_lpf lr_apply_tmpl.c:88
          #2 0x10d8b6157 in dav1d_lr_copy_lpf_16bpc lr_apply_tmpl.c:148
          #3 0x10d9064f3 in dav1d_filter_sbrow_deblock_rows_16bpc recon_tmpl.c:2076
          #4 0x10d908e96 in dav1d_filter_sbrow_16bpc recon_tmpl.c:2154
          #5 0x10d723442 in dav1d_decode_frame_main decode.c:3331
          #6 0x10d724123 in dav1d_decode_frame decode.c:3396
          #7 0x10d72d11a in dav1d_submit_frame decode.c:3767
          #8 0x10d7ce192 in dav1d_parse_obus obu.c:1608
          #9 0x10d90dbe9 in gen_picture lib.c:394
          #10 0x10d90db12 in dav1d_send_data lib.c:424
          #11 0x10d63b888 in LLVMFuzzerTestOneInput dav1d_fuzzer.c:164
          #12 0x10d63c7c1 in main main.c:94
          #13 0x7fff20626f3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)
      
      0x629000009a40 is located 0 bytes to the right of 18496-byte region [0x629000005200,0x629000009a40)
      allocated by thread T0 here:
          #0 0x10dad2b73 in wrap_posix_memalign+0xb3 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x48b73)
          #1 0x10d71ee5f in dav1d_alloc_aligned mem.h:66
          #2 0x10d71a8f6 in dav1d_decode_frame_init decode.c:3127
          #3 0x10d723d13 in dav1d_decode_frame decode.c:3378
          #4 0x10d72d11a in dav1d_submit_frame decode.c:3767
          #5 0x10d7ce192 in dav1d_parse_obus obu.c:1608
          #6 0x10d90dbe9 in gen_picture lib.c:394
          #7 0x10d90db12 in dav1d_send_data lib.c:424
          #8 0x10d63b888 in LLVMFuzzerTestOneInput dav1d_fuzzer.c:164
          #9 0x10d63c7c1 in main main.c:94
          #10 0x7fff20626f3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)
      14eec6eb
  5. Sep 09, 2021
    • Matthias Dressel's avatar
      CI: Output the dav1d commit used in the run · 1caf4ca8
      Matthias Dressel authored
      Having the exact commit hash in the logs helps with debugging.
      1caf4ca8
    • Victorien Le Couviour--Tuffet's avatar
      oss-fuzz: Add a test case for failed submit induced hang · 1c5c72fc
      Victorien Le Couviour--Tuffet authored
      ==747== ERROR: libFuzzer: timeout after 61 seconds
          #0 0x4b9340 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/ubsan/ubsan_diag_standalone.cpp:33:3
          #1 0x464278 in fuzzer::PrintStackTrace()
          #2 0x4484d9 in fuzzer::Fuzzer::AlarmCallback()
          #3 0x7f9f2cbeb3bf in libpthread.so.0
          #4 0x7f9f2cbe6375 in futex_wait_cancelable /build/glibc-eX1tMB/glibc-2.31/sysdeps/nptl/futex-internal.h:183:13
          #5 0x7f9f2cbe6375 in __pthread_cond_wait_common /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_cond_wait.c:508:14
          #6 0x7f9f2cbe6375 in pthread_cond_wait@@GLIBC_2.3.2 /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_cond_wait.c:638:10
          #7 0x4bbe94 in drain_picture /src/dav1d/src/lib.c:353:13
          #8 0x4bb942 in dav1d_get_picture /src/dav1d/src/lib.c:447:16
          #9 0x4baf71 in LLVMFuzzerTestOneInput /src/dav1d/tests/libfuzzer/dav1d_fuzzer.c:182:16
          #10 0x449d03 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long)
          #11 0x435472 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6
          #12 0x43b13e in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long))
          #13 0x464a12 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
          #14 0x7f9f2c9e50b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/libc-start.c:308:16
          #15 0x41071d in _start
      1c5c72fc
  6. Sep 07, 2021
    • Victorien Le Couviour--Tuffet's avatar
      oss-fuzz: Add a test case for sbh change in frame allocations · 16dd3df8
      Victorien Le Couviour--Tuffet authored
      =================================================================
      ==59763==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62c000027a40 at pc 0x000100ccd5e3 bp 0x700008ffd670 sp 0x700008ffce38
      WRITE of size 320 at 0x62c000027a40 thread T4
          #0 0x100ccd5e2 in __asan_memcpy+0x262 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x465e2)
          #1 0x100ab1e4c in backup_lpf lr_apply_tmpl.c:96
          #2 0x100ab11c1 in dav1d_lr_copy_lpf_16bpc lr_apply_tmpl.c:148
          #3 0x100b01573 in dav1d_filter_sbrow_deblock_rows_16bpc recon_tmpl.c:2076
          #4 0x100b15984 in dav1d_worker_task thread_task.c:602
          #5 0x7fff2060b953 in _pthread_start+0xdf (libsystem_pthread.dylib:x86_64+0x6953)
          #6 0x7fff206074a6 in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x24a6)
      
      0x62c000027a40 is located 0 bytes to the right of 30784-byte region [0x62c000020200,0x62c000027a40)
      allocated by thread T1 here:
          #0 0x100ccfb73 in wrap_posix_memalign+0xb3 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x48b73)
          #1 0x10091a0bf in dav1d_alloc_aligned mem.h:66
          #2 0x100914ff0 in dav1d_decode_frame_init decode.c:3090
          #3 0x100b12d9d in dav1d_worker_task thread_task.c:496
          #4 0x7fff2060b953 in _pthread_start+0xdf (libsystem_pthread.dylib:x86_64+0x6953)
          #5 0x7fff206074a6 in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x24a6)
      
      Thread T4 created by T0 here:
          #0 0x100cc958a in wrap_pthread_create+0x5a (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4258a)
          #1 0x100b3e22d in dav1d_open lib.c:214
          #2 0x100834618 in LLVMFuzzerTestOneInput dav1d_fuzzer.c:131
          #3 0x1008357c1 in main main.c:94
          #4 0x7fff20626f3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)
      
      Thread T1 created by T0 here:
          #0 0x100cc958a in wrap_pthread_create+0x5a (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4258a)
          #1 0x100b3e22d in dav1d_open lib.c:214
          #2 0x100834618 in LLVMFuzzerTestOneInput dav1d_fuzzer.c:131
          #3 0x1008357c1 in main main.c:94
          #4 0x7fff20626f3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)
      16dd3df8
  7. May 12, 2021
  8. Mar 29, 2021
  9. Feb 15, 2021
  10. Jan 21, 2021
  11. Jan 20, 2021
  12. Jan 18, 2021
  13. Jul 02, 2020
  14. Jun 02, 2020
  15. Apr 03, 2020
  16. Apr 02, 2020
  17. Mar 21, 2020
  18. Mar 07, 2020
  19. Mar 03, 2020
  20. Feb 20, 2020
  21. Feb 18, 2020
  22. Jan 21, 2020
  23. Jan 10, 2020
  24. Jan 02, 2020
  25. Jan 01, 2020
  26. Dec 31, 2019
  27. Dec 29, 2019
  28. Dec 28, 2019
  29. Nov 21, 2019
Loading