CVE-2025-68355
Unknown Unknown - Not Provided
Memory Leak in Linux Kernel BPF Map Causes Resource Exhaustion

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix exclusive map memory leak When excl_prog_hash is 0 and excl_prog_hash_size is non-zero, the map also needs to be freed. Otherwise, the map memory will not be reclaimed, just like the memory leak problem reported by syzbot [1]. syzbot reported: BUG: memory leak backtrace (crc 7b9fb9b4): map_create+0x322/0x11e0 kernel/bpf/syscall.c:1512 __sys_bpf+0x3556/0x3610 kernel/bpf/syscall.c:6131
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-05-07
AI Q&A
2025-12-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. Specifically, when the variable excl_prog_hash is 0 and excl_prog_hash_size is non-zero, the associated map memory is not freed properly, causing the memory to not be reclaimed. This issue was reported by syzbot and fixed by ensuring the map memory is freed correctly.


How can this vulnerability impact me? :

The memory leak can cause the system to consume more memory over time, potentially leading to degraded performance or system instability if the leaked memory accumulates significantly.


What immediate steps should I take to mitigate this vulnerability?

Apply the Linux kernel update that includes the fix for the exclusive map memory leak vulnerability (CVE-2025-68355). This update ensures that when excl_prog_hash is 0 and excl_prog_hash_size is non-zero, the map memory is properly freed, preventing the memory leak.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart