---
id: CVE-2026-31480
title: 'tracing: Fix potential deadlock in cpu hotplug with osnoise'
summary: |-
  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
      -----   …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    cf929c21eeed5bd39873fb14bfdfff963fa6f1da
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    7aa095ce7d224308cb6979956f0de8607df93d4f
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    ef41a85a55022e27cdaebf22a6676910b66f65aa
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    03474a01c199de17a8e2d39b51df6beb9c76e831
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f
  - >-
    Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 <
    1f9885732248d22f788e4992c739a98c88ab8a55
  - Linux 5.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:34:34.600654Z'
published: '2026-04-22'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:45:00.955Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-31480'
references:
  - url: 'https://git.kernel.org/stable/c/cf929c21eeed5bd39873fb14bfdfff963fa6f1da'
  - url: 'https://git.kernel.org/stable/c/7aa095ce7d224308cb6979956f0de8607df93d4f'
  - url: 'https://git.kernel.org/stable/c/ef41a85a55022e27cdaebf22a6676910b66f65aa'
  - url: 'https://git.kernel.org/stable/c/03474a01c199de17a8e2d39b51df6beb9c76e831'
  - url: 'https://git.kernel.org/stable/c/f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7'
  - url: 'https://git.kernel.org/stable/c/7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f'
  - url: 'https://git.kernel.org/stable/c/1f9885732248d22f788e4992c739a98c88ab8a55'
tags:
  - cve.org
epss: 0.00095
epssPercentile: 0.00599
ingestedAt: '2026-11-05T22:38:32.152Z'
---

## Overview

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).

## Affected

- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < cf929c21eeed5bd39873fb14bfdfff963fa6f1da`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < 7aa095ce7d224308cb6979956f0de8607df93d4f`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < ef41a85a55022e27cdaebf22a6676910b66f65aa`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < 03474a01c199de17a8e2d39b51df6beb9c76e831`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < f278b8ebf7eba2a1699cfc7bf30dd3ef898d60d7`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < 7a41d4633cd2c15eb5ed31e8f3b16910e50a8c9f`
- `Linux >= bce29ac9ce0bb0b0b146b687ab978378c21e9078 < 1f9885732248d22f788e4992c739a98c88ab8a55`
- `Linux 5.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
