CVE-2024-41059: hfsplus: fix uninit-value in copy_name
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.27% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0570730c16307a72f8241df12363f76600baf57d, 22999936b91ba545ce1fbbecae6895127945e91c, 34f8efd2743f2d961e92e8e994de4c7a2f9e74a0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 0570730c16307a72f8241df12363f76600baf57d, 22999936b91ba545ce1fbbecae6895127945e91c, 34f8efd2743f2d961e92e8e994de4c7a2f9e74a0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2024-08329
- SUSE-SU-2024:2893-1
- SUSE-SU-2024:3623-1
- SUSE-SU-2024:3624-1
- SUSE-SU-2024:3625-1
- SUSE-SU-2024:3627-1
- SUSE-SU-2024:3632-1
- SUSE-SU-2024:3635-1
- SUSE-SU-2024:3636-1
- SUSE-SU-2024:3638-1
- SUSE-SU-2024:3639-1
- SUSE-SU-2024:3640-1
- SUSE-SU-2024:3641-1
- SUSE-SU-2024:3642-1
- SUSE-SU-2024:3643-1
- SUSE-SU-2024:3648-1
- SUSE-SU-2024:3649-1
- SUSE-SU-2024:3651-1
- SUSE-SU-2024:3652-1
- SUSE-SU-2024:3655-1
- Published
- Jul 29, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 19th percentile
- CWE
- CWE-908
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.1
- CNA · Linux
- 7.8
- 0.7 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.16affected
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before 72805debec8f7aa342da194fe0ed7bc8febea335affected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before c733e24a61cbcff10f660041d6d84d32bb7e4cb4affected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before 34f8efd2743f2d961e92e8e994de4c7a2f9e74a0affected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before d02d8c1dacafb28930c39e16d48e40bb6e4cbc70affected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before 22999936b91ba545ce1fbbecae6895127945e91caffected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before f08956d8e0f80fd0d4ad84ec917302bb2f3a9c6aaffected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before ad57dc2caf1e0a3c0a9904400fae7afbc9f74bb2affected · git
- 017f8da43e92ddd9989884720b694a512e09ccce and later · before 0570730c16307a72f8241df12363f76600baf57daffected · git
- before 3.16not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 4.19.319
- linux linux kernel4.20 and later · before 5.4.281
- linux linux kernel5.5 and later · before 5.10.223
- linux linux kernel5.11 and later · before 5.15.164
- linux linux kernel5.16 and later · before 6.1.101
- linux linux kernel6.2 and later · before 6.6.42
- linux linux kernel6.7 and later · before 6.9.11
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.106-1 | 6.1.106-1 |
| Debian:13 | linux | before 6.9.11-1 | 6.9.11-1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_48 | before 14-2.1 | 14-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_50 | before 13-2.1 | 13-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_52 | before 11-2.1 | 11-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_54 | before 8-8.10.1 | 8-8.10.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_54 | before 9-8.10.1 | 9-8.10.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 7-8.6.1 | 7-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 8-8.6.1 | 8-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 9-8.6.1 | 9-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 6-8.6.1 | 6-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 5-8.6.1 | 5-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 6-8.6.1 | 6-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 4-8.6.1 | 4-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 3-8.6.1 | 3-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 4-8.6.1 | 4-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 2-8.6.1 | 2-8.6.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 3-8.6.1 | 3-8.6.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_41 | before 14-150200.2.1 | 14-150200.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_42 | before 14-150200.2.1 | 14-150200.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_45 | before 10-150200.2.1 | 10-150200.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_46 | before 8-150200.5.6.1 | 8-150200.5.6.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_47 | before 7-150200.5.6.1 | 7-150200.5.6.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_48 | before 6-150200.5.6.1 | 6-150200.5.6.1 |
+78
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-41057Jul 29, 2024 · cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()28Monitor
- ← EarlierCVE-2024-41058Jul 29, 2024 · cachefiles: fix slab-use-after-free in fscache_withdraw_volume()31Monitor
- Later →CVE-2024-41060Jul 29, 2024 · drm/radeon: check bo_va->bo is non-NULL before using it22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0570730c16307a72f8241df12363f76600baf57d | Vendor (CNA) |
| Linux Linux | 22999936b91ba545ce1fbbecae6895127945e91c | Vendor (CNA) |
| Linux Linux | 34f8efd2743f2d961e92e8e994de4c7a2f9e74a0 | Vendor (CNA) |
| Linux Linux | 72805debec8f7aa342da194fe0ed7bc8febea335 | Vendor (CNA) |
| Linux Linux | ad57dc2caf1e0a3c0a9904400fae7afbc9f74bb2 | Vendor (CNA) |
| Linux Linux | c733e24a61cbcff10f660041d6d84d32bb7e4cb4 | Vendor (CNA) |
| Linux Linux | d02d8c1dacafb28930c39e16d48e40bb6e4cbc70 | Vendor (CNA) |
| Linux Linux | f08956d8e0f80fd0d4ad84ec917302bb2f3a9c6a | Vendor (CNA) |
| debian:linux | 6.1.106-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_11 | 7-150500.11.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_13 | 7-150500.11.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_14 | 5-150500.11.8.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_15 | 5-150500.11.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_16 | 4-150500.11.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_17 | 2-150500.11.6.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_6 | 13-150500.2.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_7 | 13-150500.2.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_8 | 12-150500.2.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-rt | 5.3.18-150300.178.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.178.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_50 | 13-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-50302113 days apartHID: core: zero-initialize the report bufferKEV52Plan
- CVE-2024-4768584 days apartnetfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()36Monitor
- CVE-2024-3689860 days apartgpiolib: cdev: fix uninitialised kfifo31Monitor
- CVE-2021-4755366 days apartsched/scs: Reset task stack state in bringup_cpu()31Monitor
- CVE-2024-2702289 days apartfork: defer linking file vma until vma is fully initialized31Monitor
- CVE-2024-50143101 days apartudf: fix uninit-value use in udf_get_fileshortad31Monitor
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1094 · Jul 30, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-908 · Use of Uninitialized ResourceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/22999936b91ba545ce1fbbecae6895127945e91c
- git.kernel.org/stable/c/34f8efd2743f2d961e92e8e994de4c7a2f9e74a0
- git.kernel.org/stable/c/72805debec8f7aa342da194fe0ed7bc8febea335
- git.kernel.org/stable/c/ad57dc2caf1e0a3c0a9904400fae7afbc9f74bb2
- git.kernel.org/stable/c/c733e24a61cbcff10f660041d6d84d32bb7e4cb4
- git.kernel.org/stable/c/d02d8c1dacafb28930c39e16d48e40bb6e4cbc70
- git.kernel.org/stable/c/f08956d8e0f80fd0d4ad84ec917302bb2f3a9c6a
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.