---
id: CVE-2025-68378
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  bpf: Fix stackmap overflow check in __bpf_get_stackid()

  Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()
  when copying stack trace data
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  bpf: Fix stackmap overflow check in __bpf_get_stackid()

  Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()
  when copying stack trace data. The i…
severity: none
published: '2025-12-24'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68378'
references:
  - url: 'https://git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00188
epssPercentile: 0.07732
ingestedAt: '2026-10-13T11:23:51.156Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix stackmap overflow check in __bpf_get_stackid()

Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()
when copying stack trace data. The issue occurs when the perf trace
 contains more stack entries than the stack map bucket can hold,
 leading to an out-of-bounds write in the bucket's data array.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
