Menu

Star on GitHub · 3.2k

CVE-2023-52808

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs If init debugfs failed during device registration due to…

Published May 21, 2024CWE-476EPSS 0.24%

Overview

CVE-2023-52808 is a medium-severity vulnerability. It was published on May 21, 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:

scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs

If init debugfs failed during device registration due to memory allocation

failure, debugfs_remove_recursive() is called, after which debugfs_dir is

not set to NULL. debugfs_remove_recursive() will be called again during

device removal. As a result, illegal pointer is accessed.

[ 1665.467244] hisi_sas_v3_hw 0000:b4:02.0: failed to init debugfs!

...

[ 1669.836708] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a0

[ 1669.872669] pc : down_write+0x24/0x70

[ 1669.876315] lr : down_write+0x1c/0x70

[ 1669.879961] sp : ffff000036f53a30

[ 1669.883260] x29: ffff000036f53a30 x28: ffffa027c31549f8

[ 1669.888547] x27: ffffa027c3140000 x26: 0000000000000000

[ 1669.893834] x25: ffffa027bf37c270 x24: ffffa027bf37c270

[ 1669.899122] x23: ffff0000095406b8 x22: ffff0000095406a8

[ 1669.904408] x21: 0000000000000000 x20: ffffa027bf

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

CVE-2023-52808 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52808?

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

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

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

View all