Skip to content
Heist/ feed
Back to feed
UnratedFix available

regmap: maple: free entry on mas_store_gfp() failure

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: regmap: maple: free entry on mas_store_gfp() failure regcache_maple_write() allocates a new block ('entry') to merge adjacent ranges and then stores it with mas_store_gfp(). When mas_store_gfp() fails, the new 'entry' remains allocated and is never freed, leaking memory. Free 'entry' on the failure path; on success continue freeing the replaced neighbor blocks ('lower', 'upper').

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.70, 6.18.10, 6.6.124
CVEs
CVE-2026-23260
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:13 UTC · Revision 1

Source evidence

regmap: maple: free entry on mas_store_gfp() failure

core-osv · Original source

Published 18 Mar 2026, 17:41 UTC

In the Linux kernel, the following vulnerability has been resolved: regmap: maple: free entry on mas_store_gfp() failure regcache_maple_write() allocates a new block ('entry') to merge adjacent ranges and then stores it with mas_store_gfp(). When mas_store_gfp() fails, the new 'entry' remains allocated and is never freed, leaking memory. Free 'entry' on the failure path; on success continue freeing the replaced neighbor blocks ('lower', 'upper').

osv:CVE-2026-23260

Kernel

Fixed versions: 6.6.124, 6.12.70, 6.18.10

Complete source record
{
  "id": "c46fd149372442a82202d6bfd5dd9729fec3ab53c05d8394d42503a0917a7457",
  "url": "https://osv.dev/vulnerability/CVE-2026-23260",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "regmap: maple: free entry on mas_store_gfp() failure",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: regmap: maple: free entry on mas_store_gfp() failure regcache_maple_write() allocates a new block ('entry') to merge adjacent ranges and then stores it with mas_store_gfp(). When mas_store_gfp() fails, the new 'entry' remains allocated and is never freed, leaking memory. Free 'entry' on the failure path; on success continue freeing the replaced neighbor blocks ('lower', 'upper').",
    "evidence": "osv:CVE-2026-23260",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.124",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.70",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-23260",
      "aliases": [
        "CVE-2026-23260"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f033c26de5a5734625d2dd1dc196745fae186f1b"
                },
                {
                  "fixed": "d61171cf097156030142643942c217759a9cc806"
                },
                {
                  "fixed": "811b45e2d795d955bb7fd9c816b40036f4fde350"
                },
                {
                  "fixed": "f08f2d2907675926ac5657b25f86d921f269602a"
                },
                {
                  "fixed": "f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23260.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.124"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.70"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23260.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.601863436Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/811b45e2d795d955bb7fd9c816b40036f4fde350",
        "https://git.kernel.org/stable/c/d61171cf097156030142643942c217759a9cc806",
        "https://git.kernel.org/stable/c/f08f2d2907675926ac5657b25f86d921f269602a",
        "https://git.kernel.org/stable/c/f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23260.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23260",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23260.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23260",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504534,
  "published_at": "2026-03-18T17:41:06.738+00:00"
}