# CVE-2023-54095: powerpc/iommu: Fix notifiers being shared by PCI and VIO buses

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-12-24T13:06:23.157Z
- **Modified:** 2026-10-15T22:17:52.777Z

## Who should check

- Anyone running Linux \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< dc0d107e624ca96aef6dd8722eb33ba3a6d157b0; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 65bf8a196ba25cf65a858b5bb8de80f0aad76691; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f08944e3c6962b00827de7263a9e20688e79ad84; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< a9ddbfed53465bc7c411231db32a488066c0c1be; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f17d5efaafba3d5f02f0373f7c5f44711d676f3e; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c46af58588253e5e4063bb5ddc78cd12fdf9e55d; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 6670c65bf863cd0d44ca24d4c10ef6755b8d9529; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c37b6908f7b2bd24dcaaf14a180e28c9132b9c58
- Anyone running Linux 3.6

## Description

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

powerpc/iommu: Fix notifiers being shared by PCI and VIO buses

fail\_iommu\_setup() registers the fail\_iommu\_bus\_notifier struct to both
PCI and VIO buses.  struct notifier\_block is a linked list node, so this
causes any notifiers later registered to either bus type to also be
registered to the other since they share the same node.

This causes issues in (at least) the vgaarb code, which registers a
notifier for PCI buses.  pci\_notify() ends up being called on a vio
device, converted with to\_pci\_dev() even though it's not a PCI device,
and finally makes a bad access in vga\_arbiter\_add\_pci\_device() as
discovered with KASAN:

 BUG: KASAN: slab-out-of-bounds in vga\_arbiter\_add\_pci\_device+0x60/0xe00
 Read of size 4 at addr c000000264c26fdc by task swapper/0/1

 Call Trace:
   dump\_stack\_lvl+0x1bc/0x2b8 (unreliable)
   print\_report+0x3f4/0xc60
   kasan\_report+0x244/0x698
   \_\_asan\_load4+0xe8/0x250
   vga\_arbiter\_add\_pci\_device+0x60/0xe00
   pci\_notify+0x88/0x444
   notifier\_call\_chain+0x104/0x320
   blocking\_notifier\_call\_chain+0xa0/0x140
   device\_add+0xac8/0x1d30
   device\_register+0x58/0x80
   vio\_register\_device\_node+0x9ac/0xce0
   vio\_bus\_scan\_register\_devices+0xc4/0x13c
   \_\_machine\_initcall\_pseries\_vio\_device\_init+0x94/0xf0
   do\_one\_initcall+0x12c/0xaa8
   kernel\_init\_freeable+0xa48/0xba8
   kernel\_init+0x64/0x400
   ret\_from\_kernel\_thread+0x5c/0x64

Fix this by creating separate notifier\_block structs for each bus type.

\[mpe: Add \#ifdef to fix CONFIG\_IBMVIO=n build\]

## Affected and fixed versions

- Linux: \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< dc0d107e624ca96aef6dd8722eb33ba3a6d157b0; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 65bf8a196ba25cf65a858b5bb8de80f0aad76691; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f08944e3c6962b00827de7263a9e20688e79ad84; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< a9ddbfed53465bc7c411231db32a488066c0c1be; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f17d5efaafba3d5f02f0373f7c5f44711d676f3e; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c46af58588253e5e4063bb5ddc78cd12fdf9e55d; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 6670c65bf863cd0d44ca24d4c10ef6755b8d9529; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c37b6908f7b2bd24dcaaf14a180e28c9132b9c58 (cvelist)
- Linux: 3.6 (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-2023-54095. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54095.md
Affected: Linux >= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, < dc0d107e624ca96aef6dd8722eb33ba3a6d157b0; >= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, < 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52; >= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, < 65bf8a196ba25cf65a858b5bb8de80f0aad76691; >= d6b9a81b2a45786384f5bd3…
Fixed in: Linux 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52, Linux 65bf8a196ba25cf65a858b5bb8de80f0aad76691, Linux 6670c65bf863cd0d44ca24d4c10ef6755b8d9529

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-2023-54095 being exploited?

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

### How serious is CVE-2023-54095?

High: CVSS 7.0 (v3.1, scored by CNA). 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-2023-54095?

Linux \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< dc0d107e624ca96aef6dd8722eb33ba3a6d157b0; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 65bf8a196ba25cf65a858b5bb8de80f0aad76691; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f08944e3c6962b00827de7263a9e20688e79ad84; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< a9ddbfed53465bc7c411231db32a488066c0c1be; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< f17d5efaafba3d5f02f0373f7c5f44711d676f3e; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c46af58588253e5e4063bb5ddc78cd12fdf9e55d; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< 6670c65bf863cd0d44ca24d4c10ef6755b8d9529; \>= d6b9a81b2a45786384f5bd3516bd6ddfb4b772c6, \< c37b6908f7b2bd24dcaaf14a180e28c9132b9c58; Linux 3.6.

### Is there a fix for CVE-2023-54095?

Yes. Fixed in Linux 075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52, Linux 65bf8a196ba25cf65a858b5bb8de80f0aad76691, Linux 6670c65bf863cd0d44ca24d4c10ef6755b8d9529. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54095?

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

- other: <https://git.kernel.org/stable/c/dc0d107e624ca96aef6dd8722eb33ba3a6d157b0>
- other: <https://git.kernel.org/stable/c/075a4dcdbc9a5ea793cb8ec8b78a6c0b7636fd52>
- other: <https://git.kernel.org/stable/c/65bf8a196ba25cf65a858b5bb8de80f0aad76691>
- other: <https://git.kernel.org/stable/c/f08944e3c6962b00827de7263a9e20688e79ad84>
- other: <https://git.kernel.org/stable/c/a9ddbfed53465bc7c411231db32a488066c0c1be>
- other: <https://git.kernel.org/stable/c/f17d5efaafba3d5f02f0373f7c5f44711d676f3e>
- other: <https://git.kernel.org/stable/c/c46af58588253e5e4063bb5ddc78cd12fdf9e55d>
- other: <https://git.kernel.org/stable/c/6670c65bf863cd0d44ca24d4c10ef6755b8d9529>
- other: <https://git.kernel.org/stable/c/c37b6908f7b2bd24dcaaf14a180e28c9132b9c58>

## 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-2023-54095>

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