Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-41059

7.8 · HIGH
Published Jul 29, 2024 linux CWE-908 EPSS 0.27% (19th pctl)

Overview

CVE-2024-41059 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 29, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

hfsplus: fix uninit-value in copy_name

[syzbot reported]

BUG: KMSAN: uninit-value in sized_strscpy+0xc4/0x160

sized_strscpy+0xc4/0x160

copy_name+0x2af/0x320 fs/hfsplus/xattr.c:411

hfsplus_listxattr+0x11e9/0x1a50 fs/hfsplus/xattr.c:750

vfs_listxattr fs/xattr.c:493 [inline]

listxattr+0x1f3/0x6b0 fs/xattr.c:840

path_listxattr fs/xattr.c:864 [inline]

__do_sys_listxattr fs/xattr.c:876 [inline]

__se_sys_listxattr fs/xattr.c:873 [inline]

__x64_sys_listxattr+0x16b/0x2f0 fs/xattr.c:873

x64_sys_call+0x2ba0/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:195

do_syscall_x64 arch/x86/entry/common.c:52 [inline]

do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83

entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:

slab_post_alloc_hook mm/slub.c:3877 [inline]

slab_alloc_node mm/slub.c:3918 [inline]

kmalloc_trace+0x57b/0xbe0 mm/slub.c:4065

kmalloc include/linux/slab.h:628 [inline]

hfsplus_listxattr+

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 4.19.319 Affected

Frequently Asked Questions

What is CVE-2024-41059?

CVE-2024-41059 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 29, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-41059?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-41059?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-2024-41059?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-41059 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.