Bug 2300429 (CVE-2024-41055) - CVE-2024-41055 kernel: mm: prevent derefencing NULL ptr in pfn_section_valid()
Summary: CVE-2024-41055 kernel: mm: prevent derefencing NULL ptr in pfn_section_valid()
Keywords:
Status: NEW
Alias: CVE-2024-41055
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301587
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 15:41 UTC by OSIDB Bzimport
Modified: 2024-09-12 14:28 UTC (History)
4 users (show)

Fixed In Version: kernel 5.10.222, kernel 5.15.163, kernel 6.1.100, kernel 6.6.41, kernel 6.9.10, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:6650 0 None None None 2024-09-12 14:28:40 UTC
Red Hat Product Errata RHSA-2024:6567 0 None None None 2024-09-11 01:01:19 UTC

Description OSIDB Bzimport 2024-07-29 15:41:34 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 10:57:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072928-CVE-2024-41055-5764@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 10:57:42 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301587]

Comment 10 errata-xmlrpc 2024-09-11 01:01:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:6567 https://access.redhat.com/errata/RHSA-2024:6567


Note You need to log in before you can comment on or make changes to this bug.