In the Linux kernel, the following vulnerability has been resolved:
mapletree: fix MASTATEPREALLOC flag in maspreallocate()
Temporarily clear the preallocation flag when explicitly requesting allocations. Pre-existing allocations are already counted against the request through masnodecountgfp(), but the allocations will not happen if the MASTATE_PREALLOC flag is set. This flag is meant to avoid re-allocating in bulk allocation mode, and to detect issues with preallocation calculations.
The MASTATEPREALLOC flag should also always be set on zero allocations so that detection of underflow allocations will print a WARN_ON() during consumption.
User visible effect of this flaw is a WARNON() followed by a null pointer dereference when subsequent requests for larger number of nodes is ignored, such as the vma merge retry in mmapregion() caused by drivers altering the vma flags (which happens in v6.6, at least)
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "38941879712395779671080746691793368747",
                "180024703071426733290357431953812232749",
                "214391576394007045663523287545182357910",
                "70599353531904914452499674479360391088",
                "115458511356530550049465739301251486902",
                "243536715186528857378666722335810488063",
                "125099695326828792470721672584244344655"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-1916a987",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d69cd64bd5af41c6fd409313504089970edaf02f",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "160909429104741378305720153324986142248",
            "length": 1273.0
        },
        "target": {
            "function": "mas_preallocate",
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-54d211af",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e63032e66bca1d06e600033f3369ba3db3af0870",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "274955470403236226385647696870955546610",
            "length": 501.0
        },
        "target": {
            "function": "mas_preallocate",
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-55cf3672",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fba46a5d83ca8decb338722fb4899026d8d9ead2",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "185297980204248216433207488381140893854",
                "238166956062943340757939001790661344044",
                "118082991772644127329201881221246078523",
                "139120692713236956965582224208250316214",
                "215909832565911858385442457311538563499",
                "119049105195632630531275379523545654526",
                "11262188559024894189051300665984719284"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-5f0b36ce",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e32f4700867abbd5d19abfcf698dbd0d2ce36a4",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "6702581905321453572417039609997513480",
            "length": 366.0
        },
        "target": {
            "function": "mas_preallocate",
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-65cc39c6",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d69cd64bd5af41c6fd409313504089970edaf02f",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "49171525202698349704072923354902450364",
                "32472062887367715549749143616968431285",
                "118082991772644127329201881221246078523",
                "139120692713236956965582224208250316214",
                "215909832565911858385442457311538563499",
                "119049105195632630531275379523545654526",
                "11262188559024894189051300665984719284"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-72e7d1fa",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fba46a5d83ca8decb338722fb4899026d8d9ead2",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "219851628802605575835802256480091073449",
                "238166956062943340757939001790661344044",
                "118082991772644127329201881221246078523",
                "139120692713236956965582224208250316214",
                "215909832565911858385442457311538563499",
                "119049105195632630531275379523545654526",
                "11262188559024894189051300665984719284"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-929263cb",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf95f8426f889949b738f51ffcd72884411f3a6a",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "200038215494364088722514787128936982939",
                "99416332449124282472344703513985332443",
                "37954882765968293034087075529315994000",
                "79354574132482482143272262733035204021",
                "318759133641832733432372327310664832899",
                "2722176447909352524520275375861200408",
                "6016762695172709740171447968295807772",
                "34738181387599616915696106229424821460",
                "24414829062621052834272239626665073207",
                "290224004033265920944309896422969735170",
                "259061719160608056232624138327095882839",
                "166895715742943975424408821046783920681",
                "305831919442765847943079452973772747173",
                "274732369743416199233658206018752038501",
                "48297000632341513463850072516642346705",
                "115458511356530550049465739301251486902",
                "243536715186528857378666722335810488063",
                "125099695326828792470721672584244344655"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-d3caede5",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e63032e66bca1d06e600033f3369ba3db3af0870",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "70636676430395218499961047298060408692",
            "length": 498.0
        },
        "target": {
            "function": "mas_preallocate",
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-f935c938",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e32f4700867abbd5d19abfcf698dbd0d2ce36a4",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "236090845989851632744675409355488060079",
            "length": 476.0
        },
        "target": {
            "function": "mas_preallocate",
            "file": "lib/maple_tree.c"
        },
        "id": "CVE-2025-38364-feaeb52c",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf95f8426f889949b738f51ffcd72884411f3a6a",
        "signature_type": "Function"
    }
]