Menu

Star on GitHub · 3.2k

CVE-2023-52489

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: mm/sparsemem: fix race in accessing memory_section->usage The below race is observed on a PFN which falls into the device memor…

Published Mar 11, 2024CWE-362EPSS 0.29%

Overview

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

This vulnerability has a CVSS 3.1 base score of 4.7, 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/sparsemem: fix race in accessing memory_section->usage

The below race is observed on a PFN which falls into the device memory

region with the system memory configuration where PFN's are such that

[ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL]. Since normal zone start and end

pfn contains the device memory PFN's as well, the compaction triggered

will try on the device memory PFN's too though they end up in NOP(because

pfn_to_online_page() returns NULL for ZONE_DEVICE memory sections). When

from other core, the section mappings are being removed for the

ZONE_DEVICE region, that the PFN in question belongs to, on which

compaction is currently being operated is resulting into the kernel crash

with CONFIG_SPASEMEM_VMEMAP enabled. The crash logs can be seen at [1].

compact_zone() memunmap_pages

------------- ---------------

__pageblock_pfn_to_page

......

(a)pfn_valid():

valid_section()//return true

(b)_

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

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

How severe is CVE-2023-52489?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-52489?

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52489 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