CVE-2025-68378: bpf: Fix stackmap overflow check in __bpf_get_stackid()

Published Dec 24, 2025
·
Updated

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

bpf: Fix stackmap overflow check in bpfgetstackid()

Syzkaller reported a KASAN slab-out-of-bounds write in bpfgetstackid() 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.

Affected Software

2 affected components
Linux Linux kernel
Microsoft azl3 kernel 6.6.117.1-1

Event History

Dec 24, 2025
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
Description
Data Sourced
via NVD·11:16 AM
Description
Dec 25, 2025
Data Sourced
via Microsoft·01:05 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-68378?

CVE-2025-68378 is classified as a high severity vulnerability due to its potential for causing a stack overflow.

2

How do I fix CVE-2025-68378?

To fix CVE-2025-68378, update to the latest stable version of the Linux kernel that includes the patch for this vulnerability.

3

What are the potential impacts of CVE-2025-68378?

The potential impacts of CVE-2025-68378 include remote code execution or system crashes due to stack corruption.

4

Who is affected by CVE-2025-68378?

CVE-2025-68378 affects users of the Linux kernel running versions prior to the security fix.

5

What is the cause of CVE-2025-68378?

CVE-2025-68378 is caused by a stackmap overflow check error in the __bpf_get_stackid() function when handling performance trace data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203