Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-53171

7.8 · HIGH
Published Dec 27, 2024 linux CWE-416 EPSS 0.30% (22th pctl)

Overview

CVE-2024-53171 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.20, < 5.4.287 Affected

Frequently Asked Questions

What is CVE-2024-53171?

CVE-2024-53171 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2024-53171 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.