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

Published Dec 3, 2026
·
Updated

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), getlvl2pble() 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 MAXPAGEORDER (4 MiB on x8664) fail and trigger a warning:

WARNING: CPU: 123 PID: 119906 at mm/pagealloc.c:5997 allocfrozenpagesnoprof+0x50c/0x1050 Call Trace: <TASK> allocfrozenpagesnoprof+0xc0/0x240 kmalloclargenode+0x3d/0xd0 kmalloclargenodenoprof+0x1b/0x90 kmallocnoprof+0x254/0x660 getlvl1lvl2pble+0xbc/0x270 [irdma] irdmagetpble+0x44/0xc0 [irdma] irdmasetuppbles+0x46/0x1d0 [irdma] irdmaregusermrtypemem+0x41/0x230 [irdma] irdmaregusermr+0x194/0x1c0 [irdma] ibuverbsregmr+0x1b0/0x2c0 [ibuverbs]

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

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

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.14.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  7. Compensating control

    In RDMA/irdma, allocate lvl2 leafmem with kvzalloc() instead of kzalloc() and free it with kvfree() so large allocations can use virtually contiguous memory.

Event History

Dec 3, 2026
CVE Published
via MITRE·03:26 AM
Data Sourced
via MITRE·03:26 AM
Description
Data Sourced
via OSV·03:26 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

Which systems are most likely to encounter this issue?

Systems using the Linux irdma RDMA driver are affected when they perform VM live migration or register very large memory regions. The described trigger is guest memory of at least 256 GB backed by 4 KiB pages, which can require more than approximately 131,072 level-2 leaves.

2

How can I identify this condition in logs?

The failure produces a kernel allocation warning from __alloc_frozen_pages_noprof. The call trace includes get_lvl1_lvl2_pble and irdma_get_pble in the irdma module, followed by irdma_reg_user_mr_type_mem or irdma_reg_user_mr.

3

What is the practical failure mode?

The driver attempts a physically contiguous kzalloc allocation for the level-2 leafmem array. When that request exceeds the maximum page order, the allocation fails and emits a warning during memory-region setup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203