Menu

Star on GitHub · 3.3k

CVE-2024-53171

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit After an insertion in TNC, the tree might split and cause a n…

Published Dec 27, 2024CWE-416EPSS 0.32%

Overview

CVE-2024-53171 is a high-severity vulnerability. It was published on December 27, 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:

ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit

After an insertion in TNC, the tree might split and cause a node to

change its `znode->parent`. A further deletion of other nodes in the

tree (which also could free the nodes), the aforementioned node's

`znode->cparent` could still point to a freed node. This

`znode->cparent` may not be updated when getting nodes to commit in

`ubifs_tnc_start_commit()`. This could then trigger a use-after-free

when accessing the `znode->cparent` in `write_index()` in

`ubifs_tnc_end_commit()`.

This can be triggered by running

rm -f /etc/test-file.bin

dd if=/dev/urandom of=/etc/test-file.bin bs=1M count=60 conv=fsync

in a loop, and with `CONFIG_UBIFS_FS_AUTHENTICATION`. KASAN then

reports:

BUG: KASAN: use-after-free in ubifs_tnc_end_commit+0xa5c/0x1950

Write of size 32 at addr ffffff800a3af86c by task ubifs_bgt0_20/153

Call trace:

dump_backtrace+0x0/0x3

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

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

How severe is CVE-2024-53171?

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

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

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