Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-54135

published high CVSS 3.1 · 7.8

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

Published
24 Dec 2025, 13:06:51 UTC
Updated
05 Aug 2026, 09:17:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < 4e2ad53ababeaac44d71162650984abfe783960c · 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < dc4751bd4aba01ccfc02f91adfeee0ba4cda405c · 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < f5fcf6555a2a4f32947d17b92b173837cc652891 · 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < cd00dd2585c4158e81fdfac0bbcc0446afbad26d · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.37 through 6.1.* (unaffected · semver) · 6.3.11 through 6.3.* (unaffected · semver) · 6.4.1 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-251 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The maple tree write path is reached only through local syscalls — `mmap()`, `munmap()`, `mprotect()`, `mremap()`, `brk()` via `vma_iter_store*()`/`vma_iter_clear*()` → `mas_store_gfp()`/`mas_store_prealloc()` → `mas_wr_end_piv()`. The other in-tree users (btrfs send LRU cache, regcache-maple) are likewise local/driver-internal, with no remote packet-processing path. AC:L - The trigger is a completely full 16-slot leaf node plus a store whose range starts in an earlier slot and ends inside the final slot — a tree shape an unprivileged attacker deterministically constructs by creating thousands of non-mergeable VMAs and then unmapping a spanning range. No race and no memory layout outside the attacker's influence is involved. PR:L - Any unprivileged local process reaches the code with plain `mmap()`/`munmap()` calls on its own address space; there is no capability check, LSM gate, or namespace requirement anywhere along `do_vmi_align_munmap()` → `vma_iter_clear_gfp()` → `mas_wr_store_entry()`. UI:N - The attacking process triggers the faulty write path entirely through its own address-space syscalls; no victim action, mount, or file open is required. S:U - The out-of-bounds pivot read and the resulting maple-tree corruption are confined to the kernel's own memory-management structures, which are the same security authority as the compromised kernel. No VM, IOMMU, or sandbox boundary is crossed. C:H - The array overrun reads a live kernel pointer (`slot[0]`, a `struct vm_area_struct *`) and turns it into a range boundary, and the resulting `mas->last`/`new_end` corruption leaves stale VMA pointers and bogus ranges in the VMA tree — memory corruption that can be leveraged into an arbitrary-read primitive, and whose pivot values are indirectly observable through mmap gap placement. I:H - A bogus `end_piv` propagates into `mas_wr_extend_null()`, which can set `mas->last` to a kernel heap pointer value beyond the node's `mas->max`, and into `mas_wr_node_store()`'s `new_end` computation, causing the store to overwrite the wrong ranges and leave stale slots — VMA-tree corruption exploitable for use-after-free and arbitrary-write primitives. A:H - Writing a range past the node maximum and leaving stale slots violates maple-tree invariants, producing `MT_BUG_ON`/`VM_BUG_ON` hits, oopses, or use-after-free on `vm_area_struct` during any subsequent tree walk or address-space teardown, crashing the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < 4e2ad53ababeaac44d71162650984abfe783960c (affected · git)54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < dc4751bd4aba01ccfc02f91adfeee0ba4cda405c (affected · git)54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < f5fcf6555a2a4f32947d17b92b173837cc652891 (affected · git)54a611b605901c7d5d05b6b8f5d04a6ceb0962aa to < cd00dd2585c4158e81fdfac0bbcc0446afbad26d (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.37 through 6.1.* (unaffected · semver)6.3.11 through 6.3.* (unaffected · semver)6.4.1 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
424a1c669d25ea42bba8713f40fceedeb7c3bb2d4e8e30475794084e944a74d5
Ingested
23 Sep 2026, 08:15:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected