CVE-2025-68355 bpf: Fix exclusive map memory leak

Not scored Published Updated

A memory leak in the Linux kernel BPF subsystem allows local attackers to exhaust system memory, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68355?

CVE-2025-68355 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Which versions are affected by CVE-2025-68355?

How do I fix CVE-2025-68355?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-68355 being exploited?

There is no known exploitation of CVE-2025-68355 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-68355, GHSA-j3fw-w5gf-rpg8, UBUNTU-CVE-2025-68355.

Is CVE-2025-68355 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free