Menu

Star on GitHub · 3.2k

CVE-2024-50229

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential deadlock with newly created symlinks Syzbot reported that page_symlink(), called by nilfs_symlink(), trig…

Published Nov 9, 2024CWE-667EPSS 0.21%

Overview

CVE-2024-50229 is a medium-severity vulnerability. It was published on November 9, 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:

nilfs2: fix potential deadlock with newly created symlinks

Syzbot reported that page_symlink(), called by nilfs_symlink(), triggers

memory reclamation involving the filesystem layer, which can result in

circular lock dependencies among the reader/writer semaphore

nilfs->ns_segctor_sem, s_writers percpu_rwsem (intwrite) and the

fs_reclaim pseudo lock.

This is because after commit 21fc61c73c39 ("don't put symlink bodies in

pagecache into highmem"), the gfp flags of the page cache for symbolic

links are overwritten to GFP_KERNEL via inode_nohighmem().

This is not a problem for symlinks read from the backing device, because

the __GFP_FS flag is dropped after inode_nohighmem() is called. However,

when a new symlink is created with nilfs_symlink(), the gfp flags remain

overwritten to GFP_KERNEL. Then, memory allocation called from

page_symlink() etc. triggers memory reclamation including the FS layer,

which may call n

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

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

How severe is CVE-2024-50229?

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

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

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