Menu

Star on GitHub · 3.4k

CVE-2023-52562

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy() After the commit in Fixes:, if a module that created…

Published Mar 2, 2024EPSS 0.22%

Overview

CVE-2023-52562 is a medium-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()

After the commit in Fixes:, if a module that created a slab cache does not

release all of its allocated objects before destroying the cache (at rmmod

time), we might end up releasing the kmem_cache object without removing it

from the slab_caches list thus corrupting the list as kmem_cache_destroy()

ignores the return value from shutdown_cache(), which in turn never removes

the kmem_cache object from slabs_list in case __kmem_cache_shutdown() fails

to release all of the cache's slabs.

This is easily observable on a kernel built with CONFIG_DEBUG_LIST=y

as after that ill release the system will immediately trip on list_add,

or list_del, assertions similar to the one shown below as soon as another

kmem_cache gets created, or destroyed:

[ 1041.213632] list_del corruption. next->prev should be ffff89f596fb5768, but was 52f1e5016aeee75d. (next=f

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52562?

CVE-2023-52562 is a medium-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52562?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52562?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52562?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52562 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all
LiveWatch live →