Skip to content
Heist/ feed
Back to feed
UnratedFix available

powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap memtrace mmap issue has an out of bounds issue. This patch fixes the by checking that the requested mapping region size should stay within the allocated region size.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.186, 6.1.142, 6.12.34, 6.15.3, 6.6.94
CVEs
CVE-2025-38088
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 11:05 UTC · Revision 1

Source evidence

powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap

core-osv · Original source

Published 30 Jun 2025, 07:29 UTC

In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap memtrace mmap issue has an out of bounds issue. This patch fixes the by checking that the requested mapping region size should stay within the allocated region size.

osv:CVE-2025-38088

Kernel

Fixed versions: 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3

Complete source record
{
  "id": "0ce7d17db9550b4bea48d6f3c48012c1eee6f47a8b2287b2ee807482fc9eb32a",
  "url": "https://osv.dev/vulnerability/CVE-2025-38088",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap memtrace mmap issue has an out of bounds issue. This patch fixes the by checking that the requested mapping region size should stay within the allocated region size.",
    "evidence": "osv:CVE-2025-38088",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.186",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.142",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.94",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38088",
      "aliases": [
        "CVE-2025-38088"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "08a022ad3dfafc7e33d4529015e14bb75179cacc"
                },
                {
                  "fixed": "81260c41b518b6f32c701425f1427562fa92f293"
                },
                {
                  "fixed": "620b77b23c41a6546e5548ffe2ea3ad71880dde4"
                },
                {
                  "fixed": "8635e325b85dfb9ddebdfaa6b5605d40d16cd147"
                },
                {
                  "fixed": "9c340b56d60545e4a159e41523dd8b23f81d3261"
                },
                {
                  "fixed": "bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39"
                },
                {
                  "fixed": "cd097df4596f3a1e9d75eb8520162de1eb8485b2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38088.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.13.0"
                },
                {
                  "fixed": "5.15.186"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.142"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.94"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38088.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.967683313Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/620b77b23c41a6546e5548ffe2ea3ad71880dde4",
        "https://git.kernel.org/stable/c/81260c41b518b6f32c701425f1427562fa92f293",
        "https://git.kernel.org/stable/c/8635e325b85dfb9ddebdfaa6b5605d40d16cd147",
        "https://git.kernel.org/stable/c/9c340b56d60545e4a159e41523dd8b23f81d3261",
        "https://git.kernel.org/stable/c/bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39",
        "https://git.kernel.org/stable/c/cd097df4596f3a1e9d75eb8520162de1eb8485b2",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38088.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38088",
        "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/2025/38xxx/CVE-2025-38088.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38088",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 511689,
  "published_at": "2025-06-30T07:29:44.086+00:00"
}