summaryrefslogtreecommitdiff
path: root/include/linux/ptp_clock_kernel.h
diff options
context:
space:
mode:
authorYanfei Xu <yanfei.xu@bytedance.com>2026-06-11 20:46:43 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-06-11 20:46:43 +0800
commit3474037904c20ff915e3ebab0ab5c1e41bbe549e (patch)
tree56550a72e929a3d680ee649529b1d0986f0aec87 /include/linux/ptp_clock_kernel.h
parentebd50de14f1a06b7e0206083904bcc62b9ba65be (diff)
downloadlwn-3474037904c20ff915e3ebab0ab5c1e41bbe549e.tar.gz
lwn-3474037904c20ff915e3ebab0ab5c1e41bbe549e.zip
LoongArch: KVM: Validate irqchip index in irqfd routing
Sashiko reported that the irqchip index is not validated for LoongArch. Add validation and reject out-of-range irqchip indexes to avoid indexing past the routing table's chip array. Cc: stable@vger.kernel.org Fixes: 1928254c5ccb ("LoongArch: KVM: Add irqfd support") Closes: https://lore.kernel.org/kvm/20260525051714.485D51F000E9@smtp.kernel.org/ Reported-by: Sashiko <sashiko-bot@kernel.org> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Yanfei Xu <yanfei.xu@bytedance.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/ptp_clock_kernel.h')
0 files changed, 0 insertions, 0 deletions