Menu

Star on GitHub · 3.2k

CVE-2023-52587

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: IB/ipoib: Fix mcast list locking Releasing the `priv->lock` while iterating the `priv->multicast_list` in `ipoib_mcast_join_tas…

Published Mar 6, 2024CWE-667EPSS 0.31%

Overview

CVE-2023-52587 is a medium-severity vulnerability. It was published on March 6, 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:

IB/ipoib: Fix mcast list locking

Releasing the `priv->lock` while iterating the `priv->multicast_list` in

`ipoib_mcast_join_task()` opens a window for `ipoib_mcast_dev_flush()` to

remove the items while in the middle of iteration. If the mcast is removed

while the lock was dropped, the for loop spins forever resulting in a hard

lockup (as was reported on RHEL 4.18.0-372.75.1.el8_6 kernel):

Task A (kworker/u72:2 below) | Task B (kworker/u72:0 below)

-----------------------------------+-----------------------------------

ipoib_mcast_join_task(work) | ipoib_ib_dev_flush_light(work)

spin_lock_irq(&priv->lock) | __ipoib_ib_dev_flush(priv, ...)

list_for_each_entry(mcast, | ipoib_mcast_dev_flush(dev = priv->dev)

&priv->multicast_list, list) |

ipoib_mcast_join(dev, mcast) |

spin_unlock_irq(&priv->lock) |

|

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

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

How severe is CVE-2023-52587?

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

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

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