NULL Pointer Dereference Affecting kernel-uki-virt package, versions <0:5.14.0-427.35.1.el9_4
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALMALINUX9-KERNELUKIVIRT-8339286
- published 4 Nov 2024
- disclosed 11 Sep 2024
Introduced: 11 Sep 2024
CVE-2024-41055 Open this link in a new tabHow to fix?
Upgrade AlmaLinux:9
kernel-uki-virt
to version 0:5.14.0-427.35.1.el9_4 or higher.
This issue was patched in ALSA-2024:6567
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-uki-virt
package and not the kernel-uki-virt
package as distributed by AlmaLinux
.
See How to fix?
for AlmaLinux:9
relevant fixed versions and status.
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.
References
- https://errata.almalinux.org/9/ALSA-2024-6567.html
- https://errata.almalinux.org/8/ALSA-2024-7000.html
- https://errata.almalinux.org/8/ALSA-2024-7001.html
- https://access.redhat.com/security/cve/CVE-2024-41055
- https://access.redhat.com/errata/RHSA-2024:6567
- https://access.redhat.com/errata/RHSA-2024:7000
- https://access.redhat.com/errata/RHSA-2024:7001
- https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982
- https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7
- https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e
- https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509
- https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63
- https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503