# CVE-2024-26738: powerpc/pseries/iommu: DLPAR add doesn't completely initialize pci\_controller

> 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.30% (percentile 16, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-04-03T17:00:24.126Z
- **Modified:** 2026-06-17T07:18:13.070Z

## Who should check

- Anyone running Linux \>= a940904443e432623579245babe63e2486ff327b, \< b8315b2e25b4e68e42fcb74630f824b9a5067765; \>= a940904443e432623579245babe63e2486ff327b, \< 46e36ebd5e00a148b67ed77c1d31675996f77c25; \>= a940904443e432623579245babe63e2486ff327b, \< a5c57fd2e9bd1c8ea8613a8f94fd0be5eccbf321
- Anyone running Linux 6.4

## Description

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

powerpc/pseries/iommu: DLPAR add doesn't completely initialize pci\_controller

When a PCI device is dynamically added, the kernel oopses with a NULL
pointer dereference:

  BUG: Kernel NULL pointer dereference on read at 0x00000030
  Faulting instruction address: 0xc0000000006bbe5c
  Oops: Kernel access of bad area, sig: 11 \[\#1\]
  LE PAGE\_SIZE=64K MMU=Radix SMP NR\_CPUS=2048 NUMA pSeries
  Modules linked in: rpadlpar\_io rpaphp rpcsec\_gss\_krb5 auth\_rpcgss nfsv4 dns\_resolver nfs lockd grace fscache netfs xsk\_diag bonding nft\_compat nf\_tables nfnetlink rfkill binfmt\_misc dm\_multipath rpcrdma sunrpc rdma\_ucm ib\_srpt ib\_isert iscsi\_target\_mod target\_core\_mod ib\_umad ib\_iser libiscsi scsi\_transport\_iscsi ib\_ipoib rdma\_cm iw\_cm ib\_cm mlx5\_ib ib\_uverbs ib\_core pseries\_rng drm drm\_panel\_orientation\_quirks xfs libcrc32c mlx5\_core mlxfw sd\_mod t10\_pi sg tls ibmvscsi ibmveth scsi\_transport\_srp vmx\_crypto pseries\_wdt psample dm\_mirror dm\_region\_hash dm\_log dm\_mod fuse
  CPU: 17 PID: 2685 Comm: drmgr Not tainted 6.7.0-203405+ \#66
  Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1060.00 (NH1060\_008) hv:phyp pSeries
  NIP:  c0000000006bbe5c LR: c000000000a13e68 CTR: c0000000000579f8
  REGS: c00000009924f240 TRAP: 0300   Not tainted  (6.7.0-203405+)
  MSR:  8000000000009033 \<SF,EE,ME,IR,DR,RI,LE\>  CR: 24002220  XER: 20040006
  CFAR: c000000000a13e64 DAR: 0000000000000030 DSISR: 40000000 IRQMASK: 0
  ...
  NIP sysfs\_add\_link\_to\_group+0x34/0x94
  LR  iommu\_device\_link+0x5c/0x118
  Call Trace:
   iommu\_init\_device+0x26c/0x318 (unreliable)
   iommu\_device\_link+0x5c/0x118
   iommu\_init\_device+0xa8/0x318
   iommu\_probe\_device+0xc0/0x134
   iommu\_bus\_notifier+0x44/0x104
   notifier\_call\_chain+0xb8/0x19c
   blocking\_notifier\_call\_chain+0x64/0x98
   bus\_notify+0x50/0x7c
   device\_add+0x640/0x918
   pci\_device\_add+0x23c/0x298
   of\_create\_pci\_dev+0x400/0x884
   of\_scan\_pci\_dev+0x124/0x1b0
   \_\_of\_scan\_bus+0x78/0x18c
   pcibios\_scan\_phb+0x2a4/0x3b0
   init\_phb\_dynamic+0xb8/0x110
   dlpar\_add\_slot+0x170/0x3b8 \[rpadlpar\_io\]
   add\_slot\_store.part.0+0xb4/0x130 \[rpadlpar\_io\]
   kobj\_attr\_store+0x2c/0x48
   sysfs\_kf\_write+0x64/0x78
   kernfs\_fop\_write\_iter+0x1b0/0x290
   vfs\_write+0x350/0x4a0
   ksys\_write+0x84/0x140
   system\_call\_exception+0x124/0x330
   system\_call\_vectored\_common+0x15c/0x2ec

Commit a940904443e4 ("powerpc/iommu: Add iommu\_ops to report capabilities
and allow blocking domains") broke DLPAR add of PCI devices.

The above added iommu\_device structure to pci\_controller. During
system boot, PCI devices are discovered and this newly added iommu\_device
structure is initialized by a call to iommu\_device\_register().

During DLPAR add of a PCI device, a new pci\_controller structure is
allocated but there are no calls made to iommu\_device\_register()
interface.

Fix is to register the iommu device during DLPAR add as well.

## Affected and fixed versions

- Linux: \>= a940904443e432623579245babe63e2486ff327b, \< b8315b2e25b4e68e42fcb74630f824b9a5067765; \>= a940904443e432623579245babe63e2486ff327b, \< 46e36ebd5e00a148b67ed77c1d31675996f77c25; \>= a940904443e432623579245babe63e2486ff327b, \< a5c57fd2e9bd1c8ea8613a8f94fd0be5eccbf321 (cvelist)
- Linux: 6.4 (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-2024-26738. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26738.md
Affected: Linux >= a940904443e432623579245babe63e2486ff327b, < b8315b2e25b4e68e42fcb74630f824b9a5067765; >= a940904443e432623579245babe63e2486ff327b, < 46e36ebd5e00a148b67ed77c1d31675996f77c25; >= a940904443e432623579245babe63e2486ff327b, < a5c57fd2e9bd1c8ea8613a8f94fd0be5eccbf321; Linux 6.4
Fixed in: Linux 46e36ebd5e00a148b67ed77c1d31675996f77c25

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-2024-26738 being exploited?

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

### How serious is CVE-2024-26738?

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

### Which versions are affected by CVE-2024-26738?

Linux \>= a940904443e432623579245babe63e2486ff327b, \< b8315b2e25b4e68e42fcb74630f824b9a5067765; \>= a940904443e432623579245babe63e2486ff327b, \< 46e36ebd5e00a148b67ed77c1d31675996f77c25; \>= a940904443e432623579245babe63e2486ff327b, \< a5c57fd2e9bd1c8ea8613a8f94fd0be5eccbf321; Linux 6.4.

### Is there a fix for CVE-2024-26738?

Yes. Fixed in Linux 46e36ebd5e00a148b67ed77c1d31675996f77c25. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26738?

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/b8315b2e25b4e68e42fcb74630f824b9a5067765>
- patch: <https://git.kernel.org/stable/c/46e36ebd5e00a148b67ed77c1d31675996f77c25>
- patch: <https://git.kernel.org/stable/c/a5c57fd2e9bd1c8ea8613a8f94fd0be5eccbf321>

## 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-2024-26738>

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