GHSA-PJ8M-5R47-WF2W

Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30
VLAI
Details

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: 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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142925"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:33Z",
    "severity": null
  },
  "details": "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 \u003e= 256 GB backed by 4 KiB pages), get_lvl2_pble()\ncalculates total leaves exceeding ~131,072. The memory required for\nlvl2-\u003eleafmem.va exceeds 4 MiB (sizeof(*leaf) * total \u003e 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   \u003cTASK\u003e\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.",
  "id": "GHSA-pj8m-5r47-wf2w",
  "modified": "2026-12-03T06:30:38Z",
  "published": "2026-12-03T06:30:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142925"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/06c5a668a40220614e22a4d332be50c4cb2a8810"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c34bad69ccb25d6f299fa198048a73d23d73cc2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73515120c00f9b2d045cddd157bd4b52e302a8d2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/753760684706fcb37b3f26714fd1dc22b947a53c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/82bf32ebdc3e0422fa5a3c45a9f663ea79eb8eb0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98c6b351fd8ac59bd304c02d1098b7ce27262791"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c40f13a63a4b87177de3e8c318af25068fc6ab4"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.