Menu

Star on GitHub · 3.2k

CVE-2024-42311

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode() Syzbot reports uninitialized value access issue as belo…

Published Aug 17, 2024CWE-908EPSS 0.28%

Overview

CVE-2024-42311 is a high-severity vulnerability. It was published on August 17, 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:

hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()

Syzbot reports uninitialized value access issue as below:

loop0: detected capacity change from 0 to 64

=====================================================

BUG: KMSAN: uninit-value in hfs_revalidate_dentry+0x307/0x3f0 fs/hfs/sysdep.c:30

hfs_revalidate_dentry+0x307/0x3f0 fs/hfs/sysdep.c:30

d_revalidate fs/namei.c:862 [inline]

lookup_fast+0x89e/0x8e0 fs/namei.c:1649

walk_component fs/namei.c:2001 [inline]

link_path_walk+0x817/0x1480 fs/namei.c:2332

path_lookupat+0xd9/0x6f0 fs/namei.c:2485

filename_lookup+0x22e/0x740 fs/namei.c:2515

user_path_at_empty+0x8b/0x390 fs/namei.c:2924

user_path_at include/linux/namei.h:57 [inline]

do_mount fs/namespace.c:3689 [inline]

__do_sys_mount fs/namespace.c:3898 [inline]

__se_sys_mount+0x66b/0x810 fs/namespace.c:3875

__x64_sys_mount+0xe4/0x140 fs/namespace.c:3875

do_syscall_x64 arch/x86/entry/common.

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-42311?

CVE-2024-42311 is a high-severity vulnerability. It was published on August 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-42311?

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-42311?

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-42311?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-42311 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