# CVE-2026-23452: PM: runtime: Fix a race condition related to device removal

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.12% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-04-03T15:15:34.680Z
- **Modified:** 2026-11-10T13:18:47.123Z

## Who should check

- Anyone running Linux \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 20f6e2e22a9c6234113812d5f300d3e952a82721; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< b6dd1a562ca8ba96c8ecb247c62b73f9fa02d47e; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 5649b46af8b167259e8a8e4e7eb3667ce74554b5; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 39f2d86f2ddde8d1beda05732f30c7cd945e0b5a; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< c6febaacfb8a0aec7d771a0e6c21cd68102d5679; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< bb081fd37f8312651140d7429557258afe51693d; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< cf65a77c0f9531eb6cfb97cc040974d2d8fff043; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 29ab768277617452d88c0607c9299cdc63b6e9ff
- Anyone running Linux 2.6.32

## Description

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

PM: runtime: Fix a race condition related to device removal

The following code in pm\_runtime\_work() may dereference the dev-\>parent
pointer after the parent device has been freed:

	/\* Maybe the parent is now able to suspend. \*/
	if (parent && !parent-\>power.ignore\_children) {
		spin\_unlock(&dev-\>power.lock);

		spin\_lock(&parent-\>power.lock);
		rpm\_idle(parent, RPM\_ASYNC);
		spin\_unlock(&parent-\>power.lock);

		spin\_lock(&dev-\>power.lock);
	}

Fix this by inserting a flush\_work() call in pm\_runtime\_remove().

Without this patch blktest block/001 triggers the following complaint
sporadically:

BUG: KASAN: slab-use-after-free in lock\_acquire+0x70/0x160
Read of size 1 at addr ffff88812bef7198 by task kworker/u553:1/3081
Workqueue: pm pm\_runtime\_work
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x61/0x80
 print\_address\_description.constprop.0+0x8b/0x310
 print\_report+0xfd/0x1d7
 kasan\_report+0xd8/0x1d0
 \_\_kasan\_check\_byte+0x42/0x60
 lock\_acquire.part.0+0x38/0x230
 lock\_acquire+0x70/0x160
 \_raw\_spin\_lock+0x36/0x50
 rpm\_suspend+0xc6a/0xfe0
 rpm\_idle+0x578/0x770
 pm\_runtime\_work+0xee/0x120
 process\_one\_work+0xde3/0x1410
 worker\_thread+0x5eb/0xfe0
 kthread+0x37b/0x480
 ret\_from\_fork+0x6cb/0x920
 ret\_from\_fork\_asm+0x11/0x20
 \</TASK\>

Allocated by task 4314:
 kasan\_save\_stack+0x2a/0x50
 kasan\_save\_track+0x18/0x40
 kasan\_save\_alloc\_info+0x3d/0x50
 \_\_kasan\_kmalloc+0xa0/0xb0
 \_\_kmalloc\_noprof+0x311/0x990
 scsi\_alloc\_target+0x122/0xb60 \[scsi\_mod\]
 \_\_scsi\_scan\_target+0x101/0x460 \[scsi\_mod\]
 scsi\_scan\_channel+0x179/0x1c0 \[scsi\_mod\]
 scsi\_scan\_host\_selected+0x259/0x2d0 \[scsi\_mod\]
 store\_scan+0x2d2/0x390 \[scsi\_mod\]
 dev\_attr\_store+0x43/0x80
 sysfs\_kf\_write+0xde/0x140
 kernfs\_fop\_write\_iter+0x3ef/0x670
 vfs\_write+0x506/0x1470
 ksys\_write+0xfd/0x230
 \_\_x64\_sys\_write+0x76/0xc0
 x64\_sys\_call+0x213/0x1810
 do\_syscall\_64+0xee/0xfc0
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

Freed by task 4314:
 kasan\_save\_stack+0x2a/0x50
 kasan\_save\_track+0x18/0x40
 kasan\_save\_free\_info+0x3f/0x50
 \_\_kasan\_slab\_free+0x67/0x80
 kfree+0x225/0x6c0
 scsi\_target\_dev\_release+0x3d/0x60 \[scsi\_mod\]
 device\_release+0xa3/0x220
 kobject\_cleanup+0x105/0x3a0
 kobject\_put+0x72/0xd0
 put\_device+0x17/0x20
 scsi\_device\_dev\_release+0xacf/0x12c0 \[scsi\_mod\]
 device\_release+0xa3/0x220
 kobject\_cleanup+0x105/0x3a0
 kobject\_put+0x72/0xd0
 put\_device+0x17/0x20
 scsi\_device\_put+0x7f/0xc0 \[scsi\_mod\]
 sdev\_store\_delete+0xa5/0x120 \[scsi\_mod\]
 dev\_attr\_store+0x43/0x80
 sysfs\_kf\_write+0xde/0x140
 kernfs\_fop\_write\_iter+0x3ef/0x670
 vfs\_write+0x506/0x1470
 ksys\_write+0xfd/0x230
 \_\_x64\_sys\_write+0x76/0xc0
 x64\_sys\_call+0x213/0x1810

## Affected and fixed versions

- Linux: \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 20f6e2e22a9c6234113812d5f300d3e952a82721; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< b6dd1a562ca8ba96c8ecb247c62b73f9fa02d47e; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 5649b46af8b167259e8a8e4e7eb3667ce74554b5; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 39f2d86f2ddde8d1beda05732f30c7cd945e0b5a; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< c6febaacfb8a0aec7d771a0e6c21cd68102d5679; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< bb081fd37f8312651140d7429557258afe51693d; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< cf65a77c0f9531eb6cfb97cc040974d2d8fff043; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 29ab768277617452d88c0607c9299cdc63b6e9ff (cvelist)
- Linux: 2.6.32 (cvelist)

## Mitigation

- Upgrade Linux to 29ab768277617452d88c0607c9299cdc63b6e9ff 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-23452. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23452.md
Affected: Linux >= 5e928f77a09a07f9dd595bb8a489965d69a83458, < 20f6e2e22a9c6234113812d5f300d3e952a82721; >= 5e928f77a09a07f9dd595bb8a489965d69a83458, < b6dd1a562ca8ba96c8ecb247c62b73f9fa02d47e; >= 5e928f77a09a07f9dd595bb8a489965d69a83458, < 5649b46af8b167259e8a8e4e7eb3667ce74554b5; >= 5e928f77a09a07f9dd595bb…
Fixed in: Linux 20f6e2e22a9c6234113812d5f300d3e952a82721, Linux 5649b46af8b167259e8a8e4e7eb3667ce74554b5, Linux 39f2d86f2ddde8d1beda05732f30c7cd945e0b5a, Linux 29ab768277617452d88c0607c9299cdc63b6e9ff

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-23452 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 20f6e2e22a9c6234113812d5f300d3e952a82721; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< b6dd1a562ca8ba96c8ecb247c62b73f9fa02d47e; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 5649b46af8b167259e8a8e4e7eb3667ce74554b5; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 39f2d86f2ddde8d1beda05732f30c7cd945e0b5a; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< c6febaacfb8a0aec7d771a0e6c21cd68102d5679; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< bb081fd37f8312651140d7429557258afe51693d; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< cf65a77c0f9531eb6cfb97cc040974d2d8fff043; \>= 5e928f77a09a07f9dd595bb8a489965d69a83458, \< 29ab768277617452d88c0607c9299cdc63b6e9ff; Linux 2.6.32.

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

Yes. Fixed in Linux 20f6e2e22a9c6234113812d5f300d3e952a82721, Linux 5649b46af8b167259e8a8e4e7eb3667ce74554b5, Linux 39f2d86f2ddde8d1beda05732f30c7cd945e0b5a, Linux 29ab768277617452d88c0607c9299cdc63b6e9ff. Upgrade Linux to 29ab768277617452d88c0607c9299cdc63b6e9ff or later.

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

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/20f6e2e22a9c6234113812d5f300d3e952a82721>
- patch: <https://git.kernel.org/stable/c/b6dd1a562ca8ba96c8ecb247c62b73f9fa02d47e>
- patch: <https://git.kernel.org/stable/c/5649b46af8b167259e8a8e4e7eb3667ce74554b5>
- patch: <https://git.kernel.org/stable/c/39f2d86f2ddde8d1beda05732f30c7cd945e0b5a>
- patch: <https://git.kernel.org/stable/c/c6febaacfb8a0aec7d771a0e6c21cd68102d5679>
- patch: <https://git.kernel.org/stable/c/bb081fd37f8312651140d7429557258afe51693d>
- patch: <https://git.kernel.org/stable/c/cf65a77c0f9531eb6cfb97cc040974d2d8fff043>
- patch: <https://git.kernel.org/stable/c/29ab768277617452d88c0607c9299cdc63b6e9ff>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## 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-23452>

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