CVE-2025-37908 mm, slab: clean up slab->obj_exts always

High 7.8 Published Updated

A memory management flaw in the Linux kernel can cause a bad page state and system crash when memory profiling is disabled.

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-37908?

CVE-2025-37908 is a high-severity memory corruption vulnerability in Linux kernel, published on 20 May 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:

mm, slab: clean up slab->obj_exts always

When memory allocation profiling is disabled at runtime or due to an error, shutdown_mem_profiling() is called: slab->obj_exts which previously allocated remains. It won't be cleared by unaccount_slab() because of mem_alloc_profiling_enabled() not true. It's incorrect, slab->obj_exts should always be cleaned up in unaccount_slab() to avoid following error:

[...]BUG: Bad page state in process... .. [...]page dumped because: page still charged to cgroup

[[email protected]: fold need_slab_obj_ext() into its only user]

Weakness: CWE-459

Which versions are affected by CVE-2025-37908?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-37908?

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-37908 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-37908, DEBIAN-CVE-2025-37908, GHSA-q55g-j56q-r6fq, UBUNTU-CVE-2025-37908.

Is CVE-2025-37908 in your software?

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

Check your SBOMs for free