Skip to content
MediumVulnerabilityLLM-specific

GHSA-5jv2-g5wq-cmr4: vLLM: GGUF dequantize kernel int truncation exposes uninitialized GPU memory in multi-tenant serving

Published
Record updated
View JSON
Affected
  • vllm >= 0.5.5, <= 0.23.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

vLLM's GGUF dequantize kernels in csrc/quantization/gguf/gguf_kernel.cu truncate tensor element counts because the to_cuda_ggml_t function pointer takes the count as a 32-bit int, while the caller passes m * n. The output tensors are allocated with torch::empty and left uninitialized, so when m * n exceeds INT_MAX the unfilled portion retains stale GPU memory. In multi-tenant serving this residual memory may contain other users' inference data, a silent confidentiality violation.

Mitigation

Change the int k parameter in the to_cuda_ggml_t typedef to int64_t k, which all dequantize functions inherit through the same typedef.