Menu

Star on GitHub · 3.2k

CVE-2024-41030

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ksmbd: discard write access to the directory open may_open() does not allow a directory to be opened with the write access.

Published Jul 29, 2024CWE-476EPSS 0.29%

Overview

CVE-2024-41030 is a medium-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

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

ksmbd: discard write access to the directory open

may_open() does not allow a directory to be opened with the write access.

However, some writing flags set by client result in adding write access

on server, making ksmbd incompatible with FUSE file system. Simply, let's

discard the write access when opening a directory.

list_add corruption. next is NULL.

------------[ cut here ]------------

kernel BUG at lib/list_debug.c:26!

pc : __list_add_valid+0x88/0xbc

lr : __list_add_valid+0x88/0xbc

Call trace:

__list_add_valid+0x88/0xbc

fuse_finish_open+0x11c/0x170

fuse_open_common+0x284/0x5e8

fuse_dir_open+0x14/0x24

do_dentry_open+0x2a4/0x4e0

dentry_open+0x50/0x80

smb2_open+0xbe4/0x15a4

handle_ksmbd_work+0x478/0x5ec

process_one_work+0x1b4/0x448

worker_thread+0x25c/0x430

kthread+0x104/0x1d4

ret_from_fork+0x10/0x20

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

CVE-2024-41030 is a medium-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-41030?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-41030?

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

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

View all