CVEvulnerability

CVE-2024-41055

5.5 MEDIUM Published 2024-07-29 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-07-29
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

Description

In the Linux kernel, the following vulnerability has been resolved: mm: prevent derefencing NULL ptr in pfn_section_valid() Commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing memory_section->usage") changed pfn_section_valid() to add a READ_ONCE() call around "ms->usage" to fix a race with section_deactivate() where ms->usage can be cleared. The READ_ONCE() call, by itself, is not enough to prevent NULL pointer dereference. We need to check its value before dereferencing it.

Affected configurations

• linux linux kernel (>= 5.10.219 < 5.10.222) • linux linux kernel (>= 5.15.149 < 5.15.163) • linux linux kernel (>= 6.1.76 < 6.1.100) • linux linux kernel (>= 6.6.15 < 6.6.41) • linux linux kernel (>= 6.8 < 6.9.10)

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References