Menu

Star on GitHub · 3.2k

CVE-2025-37807

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix kmemleak warning for percpu hashmap Vlad Poenaru reported the following kmemleak issue: unreferenced object 0x606fd…

Published May 8, 2025CWE-401EPSS 0.20%

Overview

CVE-2025-37807 is a medium-severity vulnerability. It was published on May 8, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

bpf: Fix kmemleak warning for percpu hashmap

Vlad Poenaru reported the following kmemleak issue:

unreferenced object 0x606fd7c44ac8 (size 32):

backtrace (crc 0):

pcpu_alloc_noprof+0x730/0xeb0

bpf_map_alloc_percpu+0x69/0xc0

prealloc_init+0x9d/0x1b0

htab_map_alloc+0x363/0x510

map_create+0x215/0x3a0

__sys_bpf+0x16b/0x3e0

__x64_sys_bpf+0x18/0x20

do_syscall_64+0x7b/0x150

entry_SYSCALL_64_after_hwframe+0x4b/0x53

Further investigation shows the reason is due to not 8-byte aligned

store of percpu pointer in htab_elem_set_ptr():

*(void __percpu **)(l->key + key_size) = pptr;

Note that the whole htab_elem alignment is 8 (for x86_64). If the key_size

is 4, that means pptr is stored in a location which is 4 byte aligned but

not 8 byte aligned. In mm/kmemleak.c, scan_block() scans the memory based

on 8 byte stride, so it won't detect above pptr, hence reporting the

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-37807?

CVE-2025-37807 is a medium-severity vulnerability. It was published on May 8, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-37807?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-37807?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-37807?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-37807 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all