From 8fd22ac72d4679a735baf52157edaba452975a00 Mon Sep 17 00:00:00 2001 From: HuiGao-NV Date: Thu, 22 Jan 2026 11:04:47 +0800 Subject: [PATCH] [https://nvbugs/5740377][fix] Prevent out-of-bounds read (#10868) Signed-off-by: Hui Gao Co-authored-by: Thor Johnsen <41591019+thorjohnsen@users.noreply.github.com> Signed-off-by: Wangshanshan <30051912+dominicshanshan@users.noreply.github.com> --- cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp | 1 - tests/integration/test_lists/waives.txt | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp b/cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp index e533c00476..c30bfbdbc3 100644 --- a/cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp +++ b/cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp @@ -483,7 +483,6 @@ void KVCacheBlock::removeNextBlock(BlockKey const& blockKey) void KVCacheBlock::freeDescendantsRecursively() { - std::lock_guard lock(mNextBlocksMutex); bool hasChildren = !mNextBlocks.empty(); if (hasChildren) { diff --git a/tests/integration/test_lists/waives.txt b/tests/integration/test_lists/waives.txt index f4c339c56f..b76ad98e15 100644 --- a/tests/integration/test_lists/waives.txt +++ b/tests/integration/test_lists/waives.txt @@ -340,6 +340,10 @@ examples/test_ray.py::test_llm_inference_distributed_ray[tp2pp2] SKIP (https://n test_e2e.py::test_openai_chat_harmony SKIP (https://nvbugs/5819444) accuracy/test_cli_flow.py::TestLlama2_7B::test_fp8 SKIP (https://nvbugs/5819452) accuracy/test_llm_api_pytorch.py::TestDeepSeekV3Lite::test_bfloat16_4gpus[ep4-mtp_nextn=2-attention_dp=True-cuda_graph=True-overlap_scheduler=True-torch_compile=False] SKIP (https://nvbugs/5800646) +accuracy/test_llm_api_pytorch.py::TestLlama4ScoutInstruct::test_fp4[tp4-cuda_graph=True] SKIP (https://nvbugs/5820734) +llmapi/test_llm_examples.py::test_llmapi_tensorrt_engine SKIP (https://nvbugs/5820553) +accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_guided_decoding[xgrammar-mtp_nextn=0] SKIP (https://nvbugs/5748600) +accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_guided_decoding[llguidance-mtp_nextn=0] SKIP (https://nvbugs/5748600) accuracy/test_disaggregated_serving.py::TestQwen3_30B_A3B::test_mixed_ctx_gen_model[ctxpp2gentp2] SKIP (https://nvbugs/5748664) perf/test_perf_sanity.py::test_e2e[aggr_upload-deepseek_r1_fp4_v2_grace_blackwell-r1_fp4_v2_tep4_mtp3_8k1k] SKIP (https://nvbugs/5819053) examples/test_llama.py::test_llama_3_x_with_bf16_lora_torch[llama-3.2-1b-instruct] SKIP (https://nvbugs/5838178)