From 278737d81d8ce38fe0613c9b5462806a8f17ebaa Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Mon, 21 Jul 2025 16:18:41 -0400 Subject: [PATCH] parisc: Drop WARN_ON_ONCE() from flush_cache_vmap mainline inclusion from mainline-v6.17-rc1 commit 4eab1c27ce1f0e89ab67b01bf1e4e4c75215708a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ICXMAX CVE: CVE-2025-39781 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4eab1c27ce1f0e89ab67b01bf1e4e4c75215708a -------------------------------- I have observed warning to occassionally trigger. Signed-off-by: John David Anglin Signed-off-by: Helge Deller Cc: stable@vger.kernel.org # v5.12+ Signed-off-by: Qingshuang Fu --- arch/parisc/kernel/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index f7953b0391cf..1ccc9d3d9158 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c @@ -841,7 +841,7 @@ void flush_cache_vmap(unsigned long start, unsigned long end) } vm = find_vm_area((void *)start); - if (WARN_ON_ONCE(!vm)) { + if (!vm) { flush_cache_all(); return; } -- Gitee