CVE-2025-37908

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37908
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37908.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37908
Downstream
Published
2025-05-20T16:15:27Z
Modified
2025-06-07T05:01:30Z
Summary
[none]
Details

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, shutdownmemprofiling() is called: slab->objexts which previously allocated remains. It won't be cleared by unaccountslab() because of memallocprofilingenabled() not true. It's incorrect, slab->objexts 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

[andriy.shevchenko@linux.intel.com: fold needslabobj_ext() into its only user]

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.29-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}