Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2023-52489: mm/sparsemem: fix race in accessing memory_section->usage

Noroxi assessment

Priority: Monitor (action score 18/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.29% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 3a01daace71b521563c38bbbf874e14c3e58adb7, 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, 68ed9e33324021e9d6b798e9db00ca3093d2012a.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 3a01daace71b521563c38bbbf874e14c3e58adb7, 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, 68ed9e33324021e9d6b798e9db00ca3093d2012a or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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)__remove_pages()-> sparse_remove_section()-> section_deactivate(): [Free the array ms->usage and set ms->usage = NULL] pfn_section_valid() [Access ms->usage which is NULL] NOTE: From the above it can be said that the race is reduced to between the pfn_valid()/pfn_section_valid() and the section deactivate with SPASEMEM_VMEMAP enabled. The commit b943f045a9af("mm/sparse: fix kernel crash with pfn_section_valid check") tried to address the same problem by clearing the SECTION_HAS_MEM_MAP with the expectation of valid_section() returns false thus ms->usage is not accessed. Fix this issue by the below steps: a) Clear SECTION_HAS_MEM_MAP before freeing the ->usage. b) RCU protected read side critical section will either return NULL when SECTION_HAS_MEM_MAP is cleared or can successfully access ->usage. c) Free the ->usage with kfree_rcu() and set ms->usage = NULL. No attempt will be made to access ->usage after this as the SECTION_HAS_MEM_MAP is cleared thus valid_section() return false. Thanks to David/Pavan for their inputs on this patch. [1] https://lore.kernel.org/linux-mm/994410bb-89aa-d987-1f50-f514903c55aa@quicinc.com/ On Snapdragon SoC, with the mentioned memory configuration of PFN's as [ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL], we are able to see bunch of issues daily while testing on a device farm. For this particular issue below is the log. Though the below log is not directly pointing to the pfn_section_valid(){ ms->usage;}, when we loaded this dump on T32 lauterbach tool, it is pointing. [ 540.578056] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 540.578068] Mem abort info: [ 540.578070] ESR = 0x0000000096000005 [ 540.578073] EC = 0x25: DABT (current EL), IL = 32 bits [ 540.578077] SET = 0, FnV = 0 [ 540.578080] EA = 0, S1PTW = 0 [ 540.578082] FSC = 0x05: level 1 translation fault [ 540.578085] Data abort info: [ 540.578086] ISV = 0, ISS = 0x00000005 [ 540.578088] CM = 0, WnR = 0 [ 540.579431] pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBSBTYPE=--) [ 540.579436] pc : __pageblock_pfn_to_page+0x6c/0x14c [ 540.579454] lr : compact_zone+0x994/0x1058 [ 540.579460] sp : ffffffc03579b510 [ 540.579463] x29: ffffffc03579b510 x28: 0000000000235800 x27:000000000000000c [ 540.579470] x26: 0000000000235c00 x25: 0000000000000068 x24:ffffffc03579b640 [ 540.579477] x23: 0000000000000001 x22: ffffffc03579b660 x21:0000000000000000 [ 540.579483] x20: 0000000000235bff x19: ffffffdebf7e3940 x18:ffffffdebf66d140 [ 540.579489] x17: 00000000739ba063 x16: 00000000739ba063 x15:00000000009f4bff [ 540.579495] x14: 0000008000000000 x13: 0000000000000000 x12:0000000000000001 [ 540.579501] x11: 0000000000000000 x10: 0000000000000000 x9 :ffffff897d2cd440 [ 540.579507] x8 : 0000000000000000 x7 : 0000000000000000 x6 :ffffffc03579b5b4 [ 540.579512] x5 : 0000000000027f25 x4 : ffffffc03579b5b8 x3 :0000000000000 ---truncated---

MediumCVSS 4.7 · v3.1—No exploit Fix available
Published
Mar 11, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 22th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-52489

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • linux linux kernel5.3 and later · before 5.10.210
  • linux linux kernel5.11 and later · before 5.15.149
  • linux linux kernel5.16 and later · before 6.1.76
  • linux linux kernel6.2 and later · before 6.6.15
  • linux linux kernel6.7 and later · before 6.7.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.3affected
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before 90ad17575d26874287271127d43ef3c2af876ceaaffected · git
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before b448de2459b6d62a53892487ab18b7d823ff0529affected · git
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before 68ed9e33324021e9d6b798e9db00ca3093d2012aaffected · git
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before 70064241f2229f7ba7b9599a98f68d9142e81a97affected · git
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before 3a01daace71b521563c38bbbf874e14c3e58adb7affected · git
    • f46edbd1b1516da1fb34c917775168d5df576f78 and later · before 5ec8e8ea8b7783fab150cf86404fc38cb4db8800affected · git
    • before 5.3not affected · semver
    • 5.10.210 and later · up to and including 5.10.*not affected · semver
    • 5.15.149 and later · up to and including 5.15.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10linux-5.10before 5.10.216-1~deb10u15.10.216-1~deb10u1
Debian:11linuxbefore 5.10.216-15.10.216-1
Debian:12linuxbefore 6.1.76-16.1.76-1
Debian:13linuxbefore 6.6.15-16.6.15-1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-64kbbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-64kbbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-azurebefore 6.4.0-150600.8.11.16.4.0-150600.8.11.1
openSUSE:Leap 15.6kernel-azurebefore 6.4.0-150600.8.26.16.4.0-150600.8.26.1
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-defaultbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-defaultbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-default-basebefore 6.4.0-150600.23.22.1.150600.12.8.36.4.0-150600.23.22.1.150600.12.8.3
openSUSE:Leap 15.6kernel-default-basebefore 6.4.0-150600.23.38.1.150600.12.16.26.4.0-150600.23.38.1.150600.12.16.2
openSUSE:Leap 15.6kernel-docsbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-docsbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-obs-buildbefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1
openSUSE:Leap 15.6kernel-obs-buildbefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.38.16.4.0-150600.23.38.1
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.22.16.4.0-150600.23.22.1

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2023-52487Mar 11, 2024 · net/mlx5e: Fix peer flow lists handling
    22Monitor
  • ← EarlierCVE-2023-52488Mar 11, 2024 · serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
    22Monitor
  • Later →CVE-2023-52491Mar 11, 2024 · media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux3a01daace71b521563c38bbbf874e14c3e58adb7Vendor (CNA)
Linux Linux5ec8e8ea8b7783fab150cf86404fc38cb4db8800Vendor (CNA)
Linux Linux68ed9e33324021e9d6b798e9db00ca3093d2012aVendor (CNA)
Linux Linux70064241f2229f7ba7b9599a98f68d9142e81a97Vendor (CNA)
Linux Linux90ad17575d26874287271127d43ef3c2af876ceaVendor (CNA)
Linux Linuxb448de2459b6d62a53892487ab18b7d823ff0529Vendor (CNA)
debian:linux6.1.76-1 · Debian:12Package registry (OSV)
debian:linux-5.105.10.216-1~deb10u1 · Debian:10Package registry (OSV)
opensuse:dtb-aarch646.4.0-150600.23.22.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-64kb6.4.0-150600.23.22.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-debug6.4.0-150600.23.22.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default6.4.0-150600.23.22.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default-base6.4.0-150600.23.22.1.150600.12.8.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-rt6.4.0-150600.10.8.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-rt_debug6.4.0-150600.10.8.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-rt6.4.0-150600.10.8.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.11.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-rt6.4.0-150600.10.8.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:bpftool0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:bpftool-debuginfo0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-abi-stablelists0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-core0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-debug0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-debug-core0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-debug-debuginfo0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-debug-devel0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)
red hat:kernel-debug-modules0:4.18.0-477.81.1.el8_8 · Red Hat:rhel_eus:8.8::baseosPackage registry (OSV)

+14

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records