CVE-2025-37908

mm, slab: clean up slab->obj_exts always

published May 20, 2025

CVSS
—
EPSS
0%
Percentile
10.5
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00209 · 10.5th percentile
Published
2025-05-20T15:21Z
EPSS history
Timeline
  • 20 MAY 15:21Z
    mm, slab: clean up slab->obj_exts always
    cvelistv5