# CVE-2026-142925: RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:26:02.195Z
- **Modified:** 2026-12-03T04:18:33.243Z

> **AI summary (AI-generated, claude-haiku-5-5):** A kernel-side allocation failure in the Linux RDMA irdma driver for large memory region registration is fixed by switching to kvzalloc, which the record describes as a warning trigger rather than an exploitable flaw.

## Who should check

- Anyone running Linux \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 2c34bad69ccb25d6f299fa198048a73d23d73cc2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 73515120c00f9b2d045cddd157bd4b52e302a8d2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 06c5a668a40220614e22a4d332be50c4cb2a8810; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 753760684706fcb37b3f26714fd1dc22b947a53c; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 98c6b351fd8ac59bd304c02d1098b7ce27262791; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 9c40f13a63a4b87177de3e8c318af25068fc6ab4
- Anyone running Linux 5.14

## Description

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

RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation

During VM live migration or when registering large memory regions
(e.g., guest memory \>= 256 GB backed by 4 KiB pages), get\_lvl2\_pble()
calculates total leaves exceeding ~131,072. The memory required for
lvl2-\>leafmem.va exceeds 4 MiB (sizeof(\*leaf) \* total \> 5.24 MiB).

Because kzalloc() requires physically contiguous pages, requests larger
than MAX\_PAGE\_ORDER (4 MiB on x86\_64) fail and trigger a warning:

  WARNING: CPU: 123 PID: 119906 at mm/page\_alloc.c:5997 \_\_alloc\_frozen\_pages\_noprof+0x50c/0x1050
  Call Trace:
   \<TASK\>
   alloc\_frozen\_pages\_noprof+0xc0/0x240
   \_\_\_kmalloc\_large\_node+0x3d/0xd0
   \_\_kmalloc\_large\_node\_noprof+0x1b/0x90
   \_\_kmalloc\_noprof+0x254/0x660
   get\_lvl1\_lvl2\_pble+0xbc/0x270 \[irdma\]
   irdma\_get\_pble+0x44/0xc0 \[irdma\]
   irdma\_setup\_pbles+0x46/0x1d0 \[irdma\]
   irdma\_reg\_user\_mr\_type\_mem+0x41/0x230 \[irdma\]
   irdma\_reg\_user\_mr+0x194/0x1c0 \[irdma\]
   ib\_uverbs\_reg\_mr+0x1b0/0x2c0 \[ib\_uverbs\]

The leafmem array is purely host software tracking structures (struct
irdma\_pble\_info) and does not require physically contiguous memory.

Switch the allocation from kzalloc() to kvzalloc() and free it with
kvfree() so that requests exceeding MAX\_PAGE\_ORDER fall back to
virtually contiguous memory via vmalloc.

## Affected and fixed versions

- Linux: \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 2c34bad69ccb25d6f299fa198048a73d23d73cc2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 73515120c00f9b2d045cddd157bd4b52e302a8d2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 06c5a668a40220614e22a4d332be50c4cb2a8810; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 753760684706fcb37b3f26714fd1dc22b947a53c; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 98c6b351fd8ac59bd304c02d1098b7ce27262791; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 9c40f13a63a4b87177de3e8c318af25068fc6ab4 (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-142925.md
Affected: Linux >= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, < 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0; >= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, < 2c34bad69ccb25d6f299fa198048a73d23d73cc2; >= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, < 73515120c00f9b2d045cddd157bd4b52e302a8d2; >= e8c4dbc2fcacf5a7468d312…
Fixed in: Linux 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0, Linux 2c34bad69ccb25d6f299fa198048a73d23d73cc2, Linux 73515120c00f9b2d045cddd157bd4b52e302a8d2, Linux 06c5a668a40220614e22a4d332be50c4cb2a8810, Linux 753760684706fcb37b3f26714fd1dc22b947a53c, Linux 98c6b351fd8ac59bd304c02d1098b7ce27262791, Linux 9c40f…

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

There is no confirmed exploitation: CVE-2026-142925 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

It has no CVSS score yet. Unknown.

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

Linux \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 2c34bad69ccb25d6f299fa198048a73d23d73cc2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 73515120c00f9b2d045cddd157bd4b52e302a8d2; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 06c5a668a40220614e22a4d332be50c4cb2a8810; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 753760684706fcb37b3f26714fd1dc22b947a53c; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 98c6b351fd8ac59bd304c02d1098b7ce27262791; \>= e8c4dbc2fcacf5a7468d312168bb120c27c38b32, \< 9c40f13a63a4b87177de3e8c318af25068fc6ab4; Linux 5.14.

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

Yes. Fixed in Linux 82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0, Linux 2c34bad69ccb25d6f299fa198048a73d23d73cc2, Linux 73515120c00f9b2d045cddd157bd4b52e302a8d2, Linux 06c5a668a40220614e22a4d332be50c4cb2a8810, Linux 753760684706fcb37b3f26714fd1dc22b947a53c, Linux 98c6b351fd8ac59bd304c02d1098b7ce27262791, Linux 9c40f13a63a4b87177de3e8c318af25068fc6ab4. Upgrade Linux to 9c40f13a63a4b87177de3e8c318af25068fc6ab4 or later.

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

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/82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0>
- other: <https://git.kernel.org/stable/c/2c34bad69ccb25d6f299fa198048a73d23d73cc2>
- other: <https://git.kernel.org/stable/c/73515120c00f9b2d045cddd157bd4b52e302a8d2>
- other: <https://git.kernel.org/stable/c/06c5a668a40220614e22a4d332be50c4cb2a8810>
- other: <https://git.kernel.org/stable/c/753760684706fcb37b3f26714fd1dc22b947a53c>
- other: <https://git.kernel.org/stable/c/98c6b351fd8ac59bd304c02d1098b7ce27262791>
- other: <https://git.kernel.org/stable/c/9c40f13a63a4b87177de3e8c318af25068fc6ab4>

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

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