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-2023-52896

4.7 · MEDIUM
Published Aug 21, 2024 linux CWE-476 EPSS 0.24% (15th pctl)

Overview

CVE-2023-52896 is a medium-severity vulnerability affecting linux linux_kernel. It was published on August 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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:

btrfs: fix race between quota rescan and disable leading to NULL pointer deref

If we have one task trying to start the quota rescan worker while another

one is trying to disable quotas, we can end up hitting a race that results

in the quota rescan worker doing a NULL pointer dereference. The steps for

this are the following:

1) Quotas are enabled;

2) Task A calls the quota rescan ioctl and enters btrfs_qgroup_rescan().

It calls qgroup_rescan_init() which returns 0 (success) and then joins a

transaction and commits it;

3) Task B calls the quota disable ioctl and enters btrfs_quota_disable().

It clears the bit BTRFS_FS_QUOTA_ENABLED from fs_info->flags and calls

btrfs_qgroup_wait_for_completion(), which returns immediately since the

rescan worker is not yet running.

Then it starts a transaction and locks fs_info->qgroup_ioctl_lock;

4) Task A queues the rescan worker, by calling btrfs_queue_work();

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 >= 5.4.178, < 5.4.230 Affected

Frequently Asked Questions

What is CVE-2023-52896?

CVE-2023-52896 is a medium-severity vulnerability affecting linux linux_kernel. It was published on August 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2023-52896?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-2023-52896?

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-2023-52896?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-52896 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.