{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142925","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.337Z","datePublished":"2026-12-03T03:26:02.195Z","dateUpdated":"2026-12-03T03:26:02.195Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T03:26:02.195Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Use kvzalloc for lvl2 leafmem allocation\n\nDuring VM live migration or when registering large memory regions\n(e.g., guest memory >= 256 GB backed by 4 KiB pages), get_lvl2_pble()\ncalculates total leaves exceeding ~131,072. The memory required for\nlvl2->leafmem.va exceeds 4 MiB (sizeof(*leaf) * total > 5.24 MiB).\n\nBecause kzalloc() requires physically contiguous pages, requests larger\nthan MAX_PAGE_ORDER (4 MiB on x86_64) fail and trigger a warning:\n\n  WARNING: CPU: 123 PID: 119906 at mm/page_alloc.c:5997 __alloc_frozen_pages_noprof+0x50c/0x1050\n  Call Trace:\n   <TASK>\n   alloc_frozen_pages_noprof+0xc0/0x240\n   ___kmalloc_large_node+0x3d/0xd0\n   __kmalloc_large_node_noprof+0x1b/0x90\n   __kmalloc_noprof+0x254/0x660\n   get_lvl1_lvl2_pble+0xbc/0x270 [irdma]\n   irdma_get_pble+0x44/0xc0 [irdma]\n   irdma_setup_pbles+0x46/0x1d0 [irdma]\n   irdma_reg_user_mr_type_mem+0x41/0x230 [irdma]\n   irdma_reg_user_mr+0x194/0x1c0 [irdma]\n   ib_uverbs_reg_mr+0x1b0/0x2c0 [ib_uverbs]\n\nThe leafmem array is purely host software tracking structures (struct\nirdma_pble_info) and does not require physically contiguous memory.\n\nSwitch the allocation from kzalloc() to kvzalloc() and free it with\nkvfree() so that requests exceeding MAX_PAGE_ORDER fall back to\nvirtually contiguous memory via vmalloc."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/pble.c"],"versions":[{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"2c34bad69ccb25d6f299fa198048a73d23d73cc2","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"73515120c00f9b2d045cddd157bd4b52e302a8d2","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"06c5a668a40220614e22a4d332be50c4cb2a8810","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"753760684706fcb37b3f26714fd1dc22b947a53c","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"98c6b351fd8ac59bd304c02d1098b7ce27262791","status":"affected","versionType":"git"},{"version":"e8c4dbc2fcacf5a7468d312168bb120c27c38b32","lessThan":"9c40f13a63a4b87177de3e8c318af25068fc6ab4","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/pble.c"],"versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0"},{"url":"https://git.kernel.org/stable/c/2c34bad69ccb25d6f299fa198048a73d23d73cc2"},{"url":"https://git.kernel.org/stable/c/73515120c00f9b2d045cddd157bd4b52e302a8d2"},{"url":"https://git.kernel.org/stable/c/06c5a668a40220614e22a4d332be50c4cb2a8810"},{"url":"https://git.kernel.org/stable/c/753760684706fcb37b3f26714fd1dc22b947a53c"},{"url":"https://git.kernel.org/stable/c/98c6b351fd8ac59bd304c02d1098b7ce27262791"},{"url":"https://git.kernel.org/stable/c/9c40f13a63a4b87177de3e8c318af25068fc6ab4"}],"title":"RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation","x_generator":{"engine":"bippy-1.2.0"}}}}