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:002069,sig:11,src:023493,time:400607527,execs:824978403,op:havoc,rep:2)

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

Summary

SEGV in tflite-xnnpack (id:002069,sig:11,src:023493,time:400607527,execs:824978403,op:havoc,rep:2). 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 (609 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/stablehlo_shift_left.cc:42:30: runtime error: load of null pointer of type 'const int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_shift_left.cc:42:30 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==4004371==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x61682b002e9a bp 0x7ffd98b31d90 sp 0x7ffd98b31d40 T0)
==4004371==The signal is caused by a READ memory access.
==4004371==Hint: address points to the zero page.
    #0 0x61682b002e9a in TfLiteStatus tflite::ops::builtin::stablehlo_shift_left::(anonymous namespace)::EvalImpl<int>(TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_shift_left.cc:42:30
    #1 0x61682b001517 in tflite::ops::builtin::stablehlo_shift_left::(anonymous namespace)::Eval(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_shift_left.cc:84:12
    #2 0x616829c7b064 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #3 0x616829c77ec0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #4 0x616829bbbbb6 in tflite::impl::Interpreter::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:243:3
    #5 0x616829b3a749 in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2.cpp:29:18
    #6 0x616829b3980a in main (/home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2+0x9f880a) (BuildId: 379682ff8803bcfee7b5e3bcbfcfe3d55390c609)
    #7 0x7fdb7cc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #8 0x7fdb7cc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3
    #9 0x616829a5ad04 in _start (/home/lab

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