Menu

Star on GitHub · 3.2k

CVE-2024-41059

7.8 · HIGH

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+0x…

Published Jul 29, 2024CWE-908EPSS 0.27%

Overview

CVE-2024-41059 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-41059?

CVE-2024-41059 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-41059 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all