# CVE-2026-23361: PCI: dwc: ep: Flush MSI-X write before unmapping its ATU entry

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-03-25T10:27:44.750Z
- **Modified:** 2026-10-30T13:18:37.140Z

## Who should check

- Anyone running Linux \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 1d35fc94cd723ae27371a31f404685a24b097d71; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< a7afb8f810c04845fdfc58c57d9cf0cc5f23ced0; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 6f60a783860c77b309f7d81003b6a0c73feca49e; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< eaa6a56801ddd2d9b4980f19e7fe002b00994804; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< c22533c66ccae10511ad6a7afc34bb26c47577e3
- Anyone running Linux 4.19

## Description

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

PCI: dwc: ep: Flush MSI-X write before unmapping its ATU entry

Endpoint drivers use dw\_pcie\_ep\_raise\_msix\_irq() to raise an MSI-X
interrupt to the host using a writel(), which generates a PCI posted write
transaction.  There's no completion for posted writes, so the writel() may
return before the PCI write completes.  dw\_pcie\_ep\_raise\_msix\_irq() also
unmaps the outbound ATU entry used for the PCI write, so the write races
with the unmap.

If the PCI write loses the race with the ATU unmap, the write may corrupt
host memory or cause IOMMU errors, e.g., these when running fio with a
larger queue depth against nvmet-pci-epf:

  arm-smmu-v3 fc900000.iommu:      0x0000010000000010
  arm-smmu-v3 fc900000.iommu:      0x0000020000000000
  arm-smmu-v3 fc900000.iommu:      0x000000090000f040
  arm-smmu-v3 fc900000.iommu:      0x0000000000000000
  arm-smmu-v3 fc900000.iommu: event: F\_TRANSLATION client: 0000:01:00.0 sid: 0x100 ssid: 0x0 iova: 0x90000f040 ipa: 0x0
  arm-smmu-v3 fc900000.iommu: unpriv data write s1 "Input address caused fault" stag: 0x0

Flush the write by performing a readl() of the same address to ensure that
the write has reached the destination before the ATU entry is unmapped.

The same problem was solved for dw\_pcie\_ep\_raise\_msi\_irq() in commit
8719c64e76bf ("PCI: dwc: ep: Cache MSI outbound iATU mapping"), but there
it was solved by dedicating an outbound iATU only for MSI. We can't do the
same for MSI-X because each vector can have a different msg\_addr and the
msg\_addr may be changed while the vector is masked.

\[bhelgaas: commit log\]

## Affected and fixed versions

- Linux: \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 1d35fc94cd723ae27371a31f404685a24b097d71; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< a7afb8f810c04845fdfc58c57d9cf0cc5f23ced0; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 6f60a783860c77b309f7d81003b6a0c73feca49e; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< eaa6a56801ddd2d9b4980f19e7fe002b00994804; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< c22533c66ccae10511ad6a7afc34bb26c47577e3 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23361.md
Affected: Linux >= beb4641a787df79a1423a8789d185b6b78fcbfea, < 1d35fc94cd723ae27371a31f404685a24b097d71; >= beb4641a787df79a1423a8789d185b6b78fcbfea, < 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7; >= beb4641a787df79a1423a8789d185b6b78fcbfea, < a7afb8f810c04845fdfc58c57d9cf0cc5f23ced0; >= beb4641a787df79a1423a87…
Fixed in: Linux 1d35fc94cd723ae27371a31f404685a24b097d71, Linux 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7, Linux 6f60a783860c77b309f7d81003b6a0c73feca49e

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

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

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

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

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

Linux \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 1d35fc94cd723ae27371a31f404685a24b097d71; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< a7afb8f810c04845fdfc58c57d9cf0cc5f23ced0; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< 6f60a783860c77b309f7d81003b6a0c73feca49e; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< eaa6a56801ddd2d9b4980f19e7fe002b00994804; \>= beb4641a787df79a1423a8789d185b6b78fcbfea, \< c22533c66ccae10511ad6a7afc34bb26c47577e3; Linux 4.19.

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

Yes. Fixed in Linux 1d35fc94cd723ae27371a31f404685a24b097d71, Linux 5e2fc90018635fc982d39f8c11cd3b368fdaf3b7, Linux 6f60a783860c77b309f7d81003b6a0c73feca49e. No fix listed yet: follow the vendor advisory.

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

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/a7afb8f810c04845fdfc58c57d9cf0cc5f23ced0>
- patch: <https://git.kernel.org/stable/c/6f60a783860c77b309f7d81003b6a0c73feca49e>
- patch: <https://git.kernel.org/stable/c/eaa6a56801ddd2d9b4980f19e7fe002b00994804>
- patch: <https://git.kernel.org/stable/c/c22533c66ccae10511ad6a7afc34bb26c47577e3>
- other: <https://git.kernel.org/stable/c/1d35fc94cd723ae27371a31f404685a24b097d71>
- other: <https://git.kernel.org/stable/c/5e2fc90018635fc982d39f8c11cd3b368fdaf3b7>

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

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