karpathy / karpathy/llm.c

memory-safety findings in llm.c CUDA kernels

Open
#855 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Cuda
Stars
31k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

Hello maintainers,

I am working on a research project for automating fuzz testing of CUDA libraries using cuFuzz (https://github.com/NVlabs/cuFuzz), and I came across llm.c while evaluating open-source CUDA projects.

While experimenting with llm.c, we found some memory-safety issues affecting CUDA kernels and related host-side launch paths. At a high level, these include out-of-bounds accesses, integer-overflow-driven unsafe launches, null-pointer/invalid-pointer cases, and synchronization/race issues.

We have prepared a small report package with per-finding summaries, reproducers, triggering inputs where applicable, sanitizer output, CWE labels, and suggested fix directions. Would you prefer that we attach the reports here, or is there a different communication channel you would like us to use?

Thank you,
Mohamed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.