Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEGV in /gpac/src/filter_core/filter_pid.c:5820:6 in filter_pid_get_prop_map #2625

Closed
gandalf4a opened this issue Oct 8, 2023 · 0 comments
Closed

Comments

@gandalf4a
Copy link

Version

$ ./MP4Box -version
MP4Box - GPAC version 2.3-DEV-rev566-g50c2ab06f-master

Platform

$ uname -a
Linux user-GE40-2PC-Dragon-Eyes 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep  7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Asan

/home/user/vul/MP4Box_crash/id000086sig11src000545time51253264execs479632ophavocrep4
[31m[NHMLDmx] parsing NHML file - StreamType or MediaType not specified
[0mAddressSanitizer:DEADLYSIGNAL
=================================================================
==833447==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f53efb329a0 bp 0x0000504d5354 sp 0x7ffd7c1363c0 T0)
==833447==The signal is caused by a READ memory access.
==833447==Hint: address points to the zero page.
    #0 0x7f53efb329a0 in filter_pid_get_prop_map /home/user/fuzzing_gpac/gpac/src/filter_core/filter_pid.c:5820:6
    #1 0x7f53efb32908 in gf_filter_pid_get_property /home/user/fuzzing_gpac/gpac/src/filter_core/filter_pid.c:5852:24
    #2 0x7f53efd2cd52 in nhmldmx_init_parsing /home/user/fuzzing_gpac/gpac/src/filters/dmx_nhml.c:1144:6
    #3 0x7f53efd2cd52 in nhmldmx_process /home/user/fuzzing_gpac/gpac/src/filters/dmx_nhml.c:1710:7
    #4 0x7f53efbafa33 in gf_filter_process_task /home/user/fuzzing_gpac/gpac/src/filter_core/filter.c:2971:7
    #5 0x7f53efb7d47b in gf_fs_thread_proc /home/user/fuzzing_gpac/gpac/src/filter_core/filter_session.c:2105:3
    #6 0x7f53efb7b5cf in gf_fs_run /home/user/fuzzing_gpac/gpac/src/filter_core/filter_session.c:2405:3
    #7 0x7f53ef42ac6a in gf_dasher_process /home/user/fuzzing_gpac/gpac/src/media_tools/dash_segmenter.c:1236:6
    #8 0x5579e66ac6dc in do_dash /home/user/fuzzing_gpac/gpac/applications/mp4box/mp4box.c:4831:15
    #9 0x5579e669db6e in mp4box_main /home/user/fuzzing_gpac/gpac/applications/mp4box/mp4box.c:6245:7
    #10 0x7f53ee429d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #11 0x7f53ee429e3f in __libc_start_main csu/../csu/libc-start.c:392:3
    #12 0x5579e65c5dd4 in _start (/home/user/fuzzing_gpac/gpac/bin/gcc/MP4Box+0x82dd4) (BuildId: 53333ca7bff59dd9a3d1b2821e7c5f3a9aac76b9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/user/fuzzing_gpac/gpac/src/filter_core/filter_pid.c:5820:6 in filter_pid_get_prop_map
==833447==ABORTING

Reproduce

./MP4Box -dash 10000 poc

POC File

https://github.com/gandalf4a/crash_report/blob/main/gpac/MP4Box/segv_5820

Credit

Gandalf4a
@jeanlf jeanlf closed this as completed in 7edc40f Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant