| 제목 | SGLang Project (sgl-project) SGLang 0.5.10.post1 Reachable Assertion |
|---|
| 설명 | SGLang through 0.5.10.post1, when launched with --enable-lora, does not enforce the --max-loras-per-batch N limit at scheduler batch-construction time. When concurrent inference requests in a single scheduling round target more than N distinct LoRA adapter UIDs (including base-model requests with no lora_path, which count as a distinct UID), the scheduler assembles a batch with N+1 adapters. This triggers a reachable assertion (assert len(cur_uids) <= self.max_loras_per_batch) in python/sglang/srt/lora/lora_manager.py that is evaluated by the model runner. The unhandled AssertionError terminates the scheduler process, SIGQUIT propagates to the server, and the server becomes permanently unresponsive until restarted. A remote attacker with network access to the inference HTTP endpoint can cause denial of service by sending a small burst of completion requests across more adapters than the configured cap. No authentication is required in default deployments. |
|---|
| 원천 | ⚠️ https://github.com/sgl-project/sglang/issues/23141 |
|---|
| 사용자 | Zyz3366 (UID 97230) |
|---|
| 제출 | 2026. 05. 13. AM 02:33 (5 개월 ago) |
|---|
| 모더레이션 | 2026. 05. 31. PM 08:11 (19 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 367593 [SGLang 0.5.10.post1 Inference HTTP Endpoint lora_manager.py lora_path 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|