# CVE-2026-31647: idpf: fix PREEMPT\_RT raw/bh spinlock nesting for async VC handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-28)
- **Published:** 2026-04-24T14:45:00.734Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< b448529f2f2921c6fe82fd4e985cc7c05cbf02a3; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< e02c974fc331f04b5ba2007d4bc6862df8a43148; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 591478118293c1bd628de330a99eb1eb2ef8d76b
- Anyone running Linux 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

idpf: fix PREEMPT\_RT raw/bh spinlock nesting for async VC handling

Switch from using the completion's raw spinlock to a local lock in the
idpf\_vc\_xn struct. The conversion is safe because complete/\_all() are
called outside the lock and there is no reason to share the completion
lock in the current logic. This avoids invalid wait context reported by
the kernel due to the async handler taking BH spinlock:

\[  805.726977\] =============================
\[  805.726991\] \[ BUG: Invalid wait context \]
\[  805.727006\] 7.0.0-rc2-net-devq-031026+ \#28 Tainted: G S         OE
\[  805.727026\] -----------------------------
\[  805.727038\] kworker/u261:0/572 is trying to lock:
\[  805.727051\] ff190da6a8dbb6a0 (&vport\_config-\>mac\_filter\_list\_lock){+...}-{3:3}, at: idpf\_mac\_filter\_async\_handler+0xe9/0x260 \[idpf\]
\[  805.727099\] other info that might help us debug this:
\[  805.727111\] context-{5:5}
\[  805.727119\] 3 locks held by kworker/u261:0/572:
\[  805.727132\]  \#0: ff190da6db3e6148 ((wq\_completion)idpf-0000:83:00.0-mbx){+.+.}-{0:0}, at: process\_one\_work+0x4b5/0x730
\[  805.727163\]  \#1: ff3c6f0a6131fe50 ((work\_completion)(&(&adapter-\>mbx\_task)-\>work)){+.+.}-{0:0}, at: process\_one\_work+0x1e5/0x730
\[  805.727191\]  \#2: ff190da765190020 (&x-\>wait\#34){+.+.}-{2:2}, at: idpf\_recv\_mb\_msg+0xc8/0x710 \[idpf\]
\[  805.727218\] stack backtrace:
...
\[  805.727238\] Workqueue: idpf-0000:83:00.0-mbx idpf\_mbx\_task \[idpf\]
\[  805.727247\] Call Trace:
\[  805.727249\]  \<TASK\>
\[  805.727251\]  dump\_stack\_lvl+0x77/0xb0
\[  805.727259\]  \_\_lock\_acquire+0xb3b/0x2290
\[  805.727268\]  ? \_\_irq\_work\_queue\_local+0x59/0x130
\[  805.727275\]  lock\_acquire+0xc6/0x2f0
\[  805.727277\]  ? idpf\_mac\_filter\_async\_handler+0xe9/0x260 \[idpf\]
\[  805.727284\]  ? \_printk+0x5b/0x80
\[  805.727290\]  \_raw\_spin\_lock\_bh+0x38/0x50
\[  805.727298\]  ? idpf\_mac\_filter\_async\_handler+0xe9/0x260 \[idpf\]
\[  805.727303\]  idpf\_mac\_filter\_async\_handler+0xe9/0x260 \[idpf\]
\[  805.727310\]  idpf\_recv\_mb\_msg+0x1c8/0x710 \[idpf\]
\[  805.727317\]  process\_one\_work+0x226/0x730
\[  805.727322\]  worker\_thread+0x19e/0x340
\[  805.727325\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[  805.727328\]  kthread+0xf4/0x130
\[  805.727333\]  ? \_\_pfx\_kthread+0x10/0x10
\[  805.727336\]  ret\_from\_fork+0x32c/0x410
\[  805.727345\]  ? \_\_pfx\_kthread+0x10/0x10
\[  805.727347\]  ret\_from\_fork\_asm+0x1a/0x30
\[  805.727354\]  \</TASK\>

## Affected and fixed versions

- Linux: \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< b448529f2f2921c6fe82fd4e985cc7c05cbf02a3; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< e02c974fc331f04b5ba2007d4bc6862df8a43148; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 591478118293c1bd628de330a99eb1eb2ef8d76b (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 591478118293c1bd628de330a99eb1eb2ef8d76b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31647. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31647.md
Affected: Linux >= 34c21fa894a1af6166f4284c81d1dc21efed8f38, < b448529f2f2921c6fe82fd4e985cc7c05cbf02a3; >= 34c21fa894a1af6166f4284c81d1dc21efed8f38, < e02c974fc331f04b5ba2007d4bc6862df8a43148; >= 34c21fa894a1af6166f4284c81d1dc21efed8f38, < 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a; >= 34c21fa894a1af6166f4284…
Fixed in: Linux 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a, Linux 591478118293c1bd628de330a99eb1eb2ef8d76b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31647 being exploited?

There is no confirmed exploitation: CVE-2026-31647 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31647?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31647?

Linux \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< b448529f2f2921c6fe82fd4e985cc7c05cbf02a3; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< e02c974fc331f04b5ba2007d4bc6862df8a43148; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a; \>= 34c21fa894a1af6166f4284c81d1dc21efed8f38, \< 591478118293c1bd628de330a99eb1eb2ef8d76b; Linux 6.9.

### Is there a fix for CVE-2026-31647?

Yes. Fixed in Linux 3bb632c6b6d8154e9019beda4a43a4b518ee3e8a, Linux 591478118293c1bd628de330a99eb1eb2ef8d76b. Upgrade Linux to 591478118293c1bd628de330a99eb1eb2ef8d76b or later.

### How do I check if I'm affected by CVE-2026-31647?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b448529f2f2921c6fe82fd4e985cc7c05cbf02a3>
- patch: <https://git.kernel.org/stable/c/e02c974fc331f04b5ba2007d4bc6862df8a43148>
- patch: <https://git.kernel.org/stable/c/3bb632c6b6d8154e9019beda4a43a4b518ee3e8a>
- patch: <https://git.kernel.org/stable/c/591478118293c1bd628de330a99eb1eb2ef8d76b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31647>

HTML: <https://flawdb.com/CVE-2026-31647> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31647>
