Menu

Star on GitHub · 3.2k

CVE-2024-27398

8.0 · HIGH

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout When the sco connection is established and then, the sco socket i…

Published May 14, 2024CWE-416EPSS 0.83%

Overview

CVE-2024-27398 is a high-severity vulnerability. It was published on May 14, 2024 and has a CVSS 3.1 base score of 8.0 (HIGH).

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

Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout

When the sco connection is established and then, the sco socket

is releasing, timeout_work will be scheduled to judge whether

the sco disconnection is timeout. The sock will be deallocated

later, but it is dereferenced again in sco_sock_timeout. As a

result, the use-after-free bugs will happen. The root cause is

shown below:

Cleanup Thread | Worker Thread

sco_sock_release |

sco_sock_close |

__sco_sock_close |

sco_sock_set_timer |

schedule_delayed_work |

sco_sock_kill | (wait a time)

sock_put(sk) //FREE | sco_sock_timeout

| sock_hold(sk) //USE

The KASAN report triggered by POC is shown below:

[ 95.890016] ==================================================================

[ 95.890496]

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

CVE-2024-27398 is a high-severity vulnerability. It was published on May 14, 2024 and has a CVSS 3.1 base score of 8.0 (HIGH).

How severe is CVE-2024-27398?

This vulnerability has a CVSS 3.1 base score of 8.0, 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-27398?

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

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