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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-20T15:21:41.121Z
- Modified: 2026-08-05T11:58:14.367Z
- Weaknesses: CWE-459
- Assigned by: Linux

## 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

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

(As written by CVE List.)

## Affected

- Linux Linux: from 21c690a349baab895dc68ab70d291e1598d7109d before dab2a13059a475b6392550f882276e170fe2fcff; from 21c690a349baab895dc68ab70d291e1598d7109d before 01db0e1a48345aa1937f3bdfc7c7108d03ebcf7e; from 21c690a349baab895dc68ab70d291e1598d7109d before be8250786ca94952a19ce87f98ad9906448bc9ef; 6.10 (not affected: before 6.10; from 6.12.28 up to 6.12.*; from 6.14.6 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.10 before 6.12.28; from 6.13 before 6.14.6; 6.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/dab2a13059a475b6392550f882276e170fe2fcff> (patch)
- <https://git.kernel.org/stable/c/01db0e1a48345aa1937f3bdfc7c7108d03ebcf7e> (patch)
- <https://git.kernel.org/stable/c/be8250786ca94952a19ce87f98ad9906448bc9ef> (patch)

## Sources

- CVE List: [CVE-2025-37908](https://www.cve.org/CVERecord?id=CVE-2025-37908), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37908](https://nvd.nist.gov/vuln/detail/CVE-2025-37908), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37908 · Whole record: https://cve.day/CVE-2025-37908.json · Rebuilt by cve.day 2026-11-25T22:58:58.280Z
