Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5252437FF77 for ; Wed, 22 Apr 2026 13:56:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866162; cv=none; b=uTgJttLs+mBt8zHT/DjltDsAFMCAwJ4bIn35GXj9OGo9DHEejhN/CiVfwGnrsfSKv5o9Tbn1ggyCXIx1HonLiZ/ngO24hC9fiCwJ1DrPO25Hjj3ZFQ74022TusESLc5qdTzcbYXcjav1O0Yc6FXWu/D3TCTa0/2DJClzH08g3RE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866162; c=relaxed/simple; bh=mzk6uIxPxgwukM9s6CosEtD05q5vEN7Ud64/mf0lSoE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iKqtEcjlzTG9pDsKPe4nepbVSO1yg6k2SnCuWX29UcxqBowC1wuy1riuFsEAeXIHb4WX2jFvvZbTXoJVivCOwtROvRtd4GRHIscgRN1CqeWXXthJB7RTviEboz+3AvncWFLjFPkFmRGhFv94SGCEw3vsx7kuq9X0afT8Zq1gOTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q54dMqFC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Q54dMqFC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBF6BC19425; Wed, 22 Apr 2026 13:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866162; bh=mzk6uIxPxgwukM9s6CosEtD05q5vEN7Ud64/mf0lSoE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Q54dMqFCLpFl7gzQnlwYi4c8MLDPj9j7Se1DK9Cv2zwSzXlBVm+tJ16MF0+p25kMB UZT+qyI2/MMJckTAvnrU9ZuJaaazniLL47+hWkacqMFGE3S5eRtyYnoZKDHbcMemPP LQwvC7ngTfzB/5FfDLFKdLbGHw7Q7MtK7BWQg8bw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31480: tracing: Fix potential deadlock in cpu hotplug with osnoise Date: Wed, 22 Apr 2026 15:54:26 +0200 Message-ID: <2026042258-CVE-2026-31480-c2bf@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3471; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8Ju2DjLNcL5+ruppUY+8nh1S6Q+wRcbqnuUrnlt/efU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLn1Lbt9VoLY1deXy79Njkh5qX/O2meT5fT1r8NsTl pd2POPl6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHJNlWLBu4Z5Tf1VM/gZP jLiY757+LurIJwaGebY60w8wxNxzZYy/d3beO+O+xW+DNQE= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential deadlock in cpu hotplug with osnoise The following sequence may leads deadlock in cpu hotplug: task1 task2 task3 ----- ----- ----- mutex_lock(&interface_lock) [CPU GOING OFFLINE] cpus_write_lock(); osnoise_cpu_die(); kthread_stop(task3); wait_for_completion(); osnoise_sleep(); mutex_lock(&interface_lock); cpus_read_lock(); [DEAD LOCK] Fix by swap the order of cpus_read_lock() and mutex_lock(&interface_lock). The Linux kernel CVE team has assigned CVE-2026-31480 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 5.15.203 with commit cf929c21eeed5bd39873fb14bfdfff963fa6f1da Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 6.1.168 with commit 7aa095ce7d224308cb6979956f0de8607df93d4f Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 6.6.131 with commit ef41a85a55022e27cdaebf22a6676910b66f65aa Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 6.12.80 with commit 03474a01c199de17a8e2d39b51df6beb9c76e831 Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 6.18.21 with commit f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7 Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 6.19.11 with commit 7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f Issue introduced in 5.14 with commit bce29ac9ce0bb0b0b146b687ab978378c21e9078 and fixed in 7.0 with commit 1f9885732248d22f788e4992c739a98c88ab8a55 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-31480 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: kernel/trace/trace_osnoise.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/cf929c21eeed5bd39873fb14bfdfff963fa6f1da https://git.kernel.org/stable/c/7aa095ce7d224308cb6979956f0de8607df93d4f https://git.kernel.org/stable/c/ef41a85a55022e27cdaebf22a6676910b66f65aa https://git.kernel.org/stable/c/03474a01c199de17a8e2d39b51df6beb9c76e831 https://git.kernel.org/stable/c/f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7 https://git.kernel.org/stable/c/7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f https://git.kernel.org/stable/c/1f9885732248d22f788e4992c739a98c88ab8a55