Menu

Star on GitHub · 3.2k

CVE-2024-27405

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs It is observed sometimes when tethering is used over NCM wit…

Published May 17, 2024CWE-476EPSS 1.30%

Overview

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

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs

It is observed sometimes when tethering is used over NCM with Windows 11

as host, at some instances, the gadget_giveback has one byte appended at

the end of a proper NTB. When the NTB is parsed, unwrap call looks for

any leftover bytes in SKB provided by u_ether and if there are any pending

bytes, it treats them as a separate NTB and parses it. But in case the

second NTB (as per unwrap call) is faulty/corrupt, all the datagrams that

were parsed properly in the first NTB and saved in rx_list are dropped.

Adding a few custom traces showed the following:

[002] d..1 7828.532866: dwc3_gadget_giveback: ep1out:

req 000000003868811a length 1025/16384 zsI ==> 0

[002] d..1 7828.532867: ncm_unwrap_ntb: K: ncm_unwrap_ntb toprocess: 1025

[002] d..1 7828.532867: ncm_unwrap_ntb: K: ncm_unwrap_ntb nth: 1751999342

[002] d..1 7828.532868: ncm_unwrap_ntb: K: ncm_un

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

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

How severe is CVE-2024-27405?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-27405?

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

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