summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJunrui Luo <moonafterrain@outlook.com>2026-04-16 17:18:05 +0300
committerWei Liu <wei.liu@kernel.org>2026-06-08 09:22:46 +0300
commita4ffc59238be84dd1c26bf1c001543e832674fc6 (patch)
treedae6de451f8b0debde233d16d1a05295d96f7955 /scripts/Makefile.thinlto
parent145613eb15eaed537825363a59523a0dcfa2d0f3 (diff)
downloadlinux-a4ffc59238be84dd1c26bf1c001543e832674fc6.tar.xz
mshv: add bounds check on vp_index in mshv_intercept_isr()
mshv_intercept_isr() extracts vp_index from the hypervisor message payload and uses it directly to index into pt_vp_array without validation. handle_bitset_message() and handle_pair_message() already validate vp_index against MSHV_MAX_VPS before array access. Add the same MSHV_MAX_VPS bounds check for consistency with the other message handlers. Fixes: 621191d709b1 ("Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs") Reported-by: Yuhao Jiang <danisjiang@gmail.com> Signed-off-by: Junrui Luo <moonafterrain@outlook.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions