Skip to content
Heist/ feed
Back to feed
HighFix available

maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix potential out-of-bounds access in mas_wr_end_piv() Check the write offset end bounds before using it as the offset into the pivot array. This avoids a possible out-of-bounds access on the pivot array if the write extends to the last slot in the node, in which case the node maximum should be used as the end pivot. akpm: this doesn't affect any current callers, but new users of mapletree may encounter this problem if backported into earlier kernels, so let's fix it in -stable kernels in case of this.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.37, 6.3.11, 6.4.1
CVEs
CVE-2023-54135
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:11 UTC · Revision 1

Source evidence

maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()

core-osv · Original source

Published 24 Dec 2025, 13:06 UTC

In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix potential out-of-bounds access in mas_wr_end_piv() Check the write offset end bounds before using it as the offset into the pivot array. This avoids a possible out-of-bounds access on the pivot array if the write extends to the last slot in the node, in which case the node maximum should be used as the end pivot. akpm: this doesn't affect any current callers, but new users of mapletree may encounter this problem if backported into earlier kernels, so let's fix it in -stable kernels in case of this.

osv:CVE-2023-54135

Kernel

Fixed versions: 6.1.37, 6.3.11, 6.4.1

Complete source record
{
  "id": "29acd4f685cac7fab64b6d55b85e7e05607d6ee46e200335b43b5e8d38a05ccc",
  "url": "https://osv.dev/vulnerability/CVE-2023-54135",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix potential out-of-bounds access in mas_wr_end_piv() Check the write offset end bounds before using it as the offset into the pivot array. This avoids a possible out-of-bounds access on the pivot array if the write extends to the last slot in the node, in which case the node maximum should be used as the end pivot. akpm: this doesn't affect any current callers, but new users of mapletree may encounter this problem if backported into earlier kernels, so let's fix it in -stable kernels in case of this.",
    "evidence": "osv:CVE-2023-54135",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.37",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-54135",
      "aliases": [
        "CVE-2023-54135"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "54a611b605901c7d5d05b6b8f5d04a6ceb0962aa"
                },
                {
                  "fixed": "4e2ad53ababeaac44d71162650984abfe783960c"
                },
                {
                  "fixed": "dc4751bd4aba01ccfc02f91adfeee0ba4cda405c"
                },
                {
                  "fixed": "f5fcf6555a2a4f32947d17b92b173837cc652891"
                },
                {
                  "fixed": "cd00dd2585c4158e81fdfac0bbcc0446afbad26d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54135.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.37"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.3.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.4.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54135.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.788854941Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4e2ad53ababeaac44d71162650984abfe783960c",
        "https://git.kernel.org/stable/c/cd00dd2585c4158e81fdfac0bbcc0446afbad26d",
        "https://git.kernel.org/stable/c/dc4751bd4aba01ccfc02f91adfeee0ba4cda405c",
        "https://git.kernel.org/stable/c/f5fcf6555a2a4f32947d17b92b173837cc652891",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54135.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54135",
        "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/2023/54xxx/CVE-2023-54135.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54135",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504035,
  "published_at": "2025-12-24T13:06:51.329+00:00"
}