# CVE-2026-46141: powerpc/xive: fix kmemleak caused by incorrect chip\_data lookup

> 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-05-28T09:35:56.940Z
- **Modified:** 2026-06-24T17:08:28.837Z

## Who should check

- Anyone running Linux \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 2546fb8c9acc8c7512ed4339ce2a982cb7407065; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< e66ed135cdf23a318e9727dca48f98f7f6142f78; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 6771c54728c278bf1e4bfdab4fddbbb186e33498
- Anyone running Linux 6.18

## Description

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

powerpc/xive: fix kmemleak caused by incorrect chip\_data lookup

The kmemleak reports the following memory leak:

Unreferenced object 0xc0000002a7fbc640 (size 64):
  comm "kworker/8:1", pid 540, jiffies 4294937872
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 00 00 09 04 00 04 00 00  ................
    00 00 a7 81 00 00 0a c0 00 00 08 04 00 04 00 00  ................
  backtrace (crc 177d48f6):
    \_\_kmalloc\_cache\_noprof+0x520/0x730
    xive\_irq\_alloc\_data.constprop.0+0x40/0xe0
    xive\_irq\_domain\_alloc+0xd0/0x1b0
    irq\_domain\_alloc\_irqs\_parent+0x44/0x6c
    pseries\_irq\_domain\_alloc+0x1cc/0x354
    irq\_domain\_alloc\_irqs\_parent+0x44/0x6c
    msi\_domain\_alloc+0xb0/0x220
    irq\_domain\_alloc\_irqs\_locked+0x138/0x4d0
    \_\_irq\_domain\_alloc\_irqs+0x8c/0xfc
    \_\_msi\_domain\_alloc\_irqs+0x214/0x4d8
    msi\_domain\_alloc\_irqs\_all\_locked+0x70/0xf8
    pci\_msi\_setup\_msi\_irqs+0x60/0x78
    \_\_pci\_enable\_msix\_range+0x54c/0x98c
    pci\_alloc\_irq\_vectors\_affinity+0x16c/0x1d4
    nvme\_pci\_enable+0xac/0x9c0 \[nvme\]
    nvme\_probe+0x340/0x764 \[nvme\]

This occurs when allocating MSI-X vectors for an NVMe device. During
allocation the XIVE code creates a struct xive\_irq\_data and stores it
in irq\_data-\>chip\_data.

When the MSI-X irqdomain is later freed, xive\_irq\_free\_data() is
responsible for retrieving this structure and freeing it. However,
after commit cc0cc23babc9 ("powerpc/xive: Untangle xive from child
interrupt controller drivers"), xive\_irq\_free\_data() retrieves the
chip\_data using irq\_get\_chip\_data(), which looks up the data through
the child domain.

This is incorrect because the XIVE-specific irq data is associated with
the XIVE (parent) domain. As a result the lookup fails and the allocated
struct xive\_irq\_data is never freed, leading to the kmemleak report
shown above.

Fix this by retrieving the irq\_data from the correct domain using
irq\_domain\_get\_irq\_data() and then accessing the chip\_data via
irq\_data\_get\_irq\_chip\_data().

## Affected and fixed versions

- Linux: \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 2546fb8c9acc8c7512ed4339ce2a982cb7407065; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< e66ed135cdf23a318e9727dca48f98f7f6142f78; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 6771c54728c278bf1e4bfdab4fddbbb186e33498 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-46141.md
Affected: Linux >= cc0cc23babc979e399f34f53e4bccf702a389558, < 2546fb8c9acc8c7512ed4339ce2a982cb7407065; >= cc0cc23babc979e399f34f53e4bccf702a389558, < e66ed135cdf23a318e9727dca48f98f7f6142f78; >= cc0cc23babc979e399f34f53e4bccf702a389558, < 6771c54728c278bf1e4bfdab4fddbbb186e33498; Linux 6.18
Fixed in: Linux 2546fb8c9acc8c7512ed4339ce2a982cb7407065, Linux 6771c54728c278bf1e4bfdab4fddbbb186e33498

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

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

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

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

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

Linux \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 2546fb8c9acc8c7512ed4339ce2a982cb7407065; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< e66ed135cdf23a318e9727dca48f98f7f6142f78; \>= cc0cc23babc979e399f34f53e4bccf702a389558, \< 6771c54728c278bf1e4bfdab4fddbbb186e33498; Linux 6.18.

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

Yes. Fixed in Linux 2546fb8c9acc8c7512ed4339ce2a982cb7407065, Linux 6771c54728c278bf1e4bfdab4fddbbb186e33498. Upgrade Linux to 6771c54728c278bf1e4bfdab4fddbbb186e33498 or later.

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

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/2546fb8c9acc8c7512ed4339ce2a982cb7407065>
- patch: <https://git.kernel.org/stable/c/e66ed135cdf23a318e9727dca48f98f7f6142f78>
- patch: <https://git.kernel.org/stable/c/6771c54728c278bf1e4bfdab4fddbbb186e33498>

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

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