You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

SEGV in tflite-xnnpack (id:002085,sig:11,src:006705,time:412245813,execs:850401657,op:havoc,rep:1)

Severity: medium CWE: CWE-119 Target: tflite-xnnpack Generated: 2026-02-27

Summary

SEGV in tflite-xnnpack (id:002085,sig:11,src:006705,time:412245813,execs:850401657,op:havoc,rep:1). See ASAN output below for details.

Reproduction

chmod +x reproduce.sh
./reproduce.sh

Or manually:

# Build target with ASAN
# Run: <target> poc.tflite

PoC File

  • poc.tflite (1380 bytes)

ASAN Output

/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:85:11: runtime error: call to function parse_line through pointer to incorrect function type 'bool (*)(const char *, const char *, void *, unsigned long)'
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/x86/linux/cpuinfo.c:87: note: parse_line defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:85:11 in 
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9: runtime error: call to function parse_line through pointer to incorrect function type 'bool (*)(const char *, const char *, void *, unsigned long)'
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/x86/linux/cpuinfo.c:87: note: parse_line defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9 in 
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/assign_variable.cc:56:21: runtime error: load of null pointer of type 'int32_t' (aka 'int')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/assign_variable.cc:56:21 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1298264==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5889ef4f8697 bp 0x7ffcd4eace30 sp 0x7ffcd4eacda0 T0)
==1298264==The signal is caused by a READ memory access.
==1298264==Hint: address points to the zero page.
    #0 0x5889ef4f8697 in tflite::ops::builtin::assign_variable::Eval(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/assign_variable.cc:56:21
    #1 0x5889ef2e9064 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #2 0x5889ef2e5ec0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #3 0x5889ef69c054 in tflite::ops::builtin::call_once_kernel::Eval(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/call_once.cc:98:3
    #4 0x5889ef2e9064 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #5 0x5889ef2e5ec0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #6 0x5889ef229bb6 in tflite::impl::Interpreter::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:243:3
    #7 0x5889ef1a8749 in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2.cpp:29:18
    #8 0x5889ef1a780a in main (/home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2+0x9f880a) (BuildId: 379682ff8803bcfee7b5e3bcbfcfe3d55390c609)
    #9 0x73f79ae2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/

Impact

Memory corruption vulnerability reachable by processing a malformed tflite-xnnpack file. An attacker could craft a malicious file and distribute it to cause denial of service or potentially leak sensitive heap data.

Downloads last month
1