Menu

Star on GitHub · 3.2k

CVE-2024-57913

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Remove WARN_ON in functionfs_bind This commit addresses an issue related to below kernel panic where panic_o…

Published Jan 19, 2025CWE-362EPSS 0.18%

Overview

CVE-2024-57913 is a medium-severity vulnerability. It was published on January 19, 2025 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:

usb: gadget: f_fs: Remove WARN_ON in functionfs_bind

This commit addresses an issue related to below kernel panic where

panic_on_warn is enabled. It is caused by the unnecessary use of WARN_ON

in functionsfs_bind, which easily leads to the following scenarios.

1.adb_write in adbd 2. UDC write via configfs

================= =====================

->usb_ffs_open_thread() ->UDC write

->open_functionfs() ->configfs_write_iter()

->adb_open() ->gadget_dev_desc_UDC_store()

->adb_write() ->usb_gadget_register_driver_owner

->driver_register()

->StartMonitor() ->bus_add_driver()

->adb_read() ->gadget_bind_driver()

<times-out without BIND event> ->configfs_composite_bind()

->usb_add_function(

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

CVE-2024-57913 is a medium-severity vulnerability. It was published on January 19, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-57913?

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-2024-57913?

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

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

View all