LiveActive security incident?Get immediate response
CVE Record

CVE-2024-41059: hfsplus: fix uninit-value in copy_name

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+0x4cc/0x1a50 fs/hfsplus/xattr.c:699 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 [Fix] When allocating memory to strbuf, initialize memory to 0.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux HFS+ filesystem flaw can expose uninitialized kernel memory when extended-attribute names are listed. It requires local, low-privileged access and use of the affected HFS+ path. The supplied CVSS score is 7.8, but the bundle provides no evidence of active exploitation.

Executive priority

Treat this as high-priority kernel maintenance for multi-user systems or endpoints handling HFS+ media. It is not supported as an internet-scale emergency because the documented attack vector is local and active exploitation is not evidenced. Prioritize exposed systems, then apply normal fleet-wide kernel remediation.

Technical view

KMSAN detected an uninitialized-value use in copy_name during hfsplus_listxattr. The allocated string buffer was not zero-initialized before sized_strscpy processed it. The upstream correction initializes that memory to zero. The supplied vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Likely exposure

Exposure is concentrated on systems running a listed affected Linux kernel and using HFS+ filesystems, particularly where low-privileged users can access them. Specific listed releases range from 3.16 through 6.10; distribution backports may alter status. Systems not using HFS+ have substantially reduced practical exposure.

Exploitation context

The CVSS vector describes a local, low-complexity path requiring low privileges and no user interaction. The source bundle marks KEV false and contains no cited evidence of active exploitation, public exploit availability, or demonstrated real-world compromise. Practical impact beyond the KMSAN finding remains incompletely documented.

Researcher notes

The finding originated from syzbot and KMSAN in the HFS+ listxattr path. The prescribed fix zero-initializes the allocated strbuf. No CWE is supplied. The bundle does not establish exploitability beyond the sanitizer finding, and its affected-version presentation requires distribution-level confirmation.

Mitigation direction

  • Install a distribution kernel containing the applicable upstream stable fix, following vendor guidance.
  • Reboot into the updated kernel and verify the patched version is running.
  • If patching is delayed, restrict unnecessary HFS+ mounting and access where operationally feasible.
  • Track distribution advisories because backported fixes may not correspond directly to upstream version numbers.

Validation and detection

  • Inventory running kernel releases and compare them with vendor-specific CVE status.
  • Identify systems with HFS+ support enabled, loaded, or actively mounted.
  • Confirm the installed kernel package includes the applicable stable-branch fix commit.
  • After updating, verify the host booted the intended patched kernel.
  • Use authorized laboratory testing to confirm KMSAN no longer reports this uninitialized-value condition.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-41059 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-41059Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccce, 017f8da43e92ddd9989884720b694a512e09ccceunaffected
LinuxLinux3.16, 0, 4.19.319, 5.4.281, 5.10.223, 5.15.164, 6.1.101, 6.6.42, 6.9.11, 6.10affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.