Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-57915 — linux

⚪ Unknown ✅ No Known Exploit NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null

Considering that in some extreme cases, when performing the

unbinding operation, gserial_disconnect has cleared gser->ioport,

which triggers gadget reconfiguration, and then calls gs_read_complete,

resulting in access to a null pointer. Therefore, ep is disabled before

gserial_disconnect sets port to null to prevent this from happening.

Call trace:

gs_read_complete+0x58/0x240

usb_gadget_giveback_request+0x40/0x160

dwc3_remove_requests+0x170/0x484

dwc3_ep0_out_start+0xb0/0x1d4

__dwc3_gadget_start+0x25c/0x720

kretprobe_trampoline.cfi_jt+0x0/0x8

kretprobe_trampoline.cfi_jt+0x0/0x8

udc_bind_to_driver+0x1d8/0x300

usb_gadget_probe_driver+0xa8/0x1dc

gadget_dev_desc_UDC_store+0x13c/0x188

configfs_write_iter+0x160/0x1f4

vfs_write+0x2d0/0x40c

ksys_write+0x7c/0xf0

__arm64_sys_write+0x20/0x30

invoke_syscall+0x60/0x150

el0_svc_common+0x8c/0xf8

do_el0_svc+0x28/0xa0

el0_svc+0x24/0x84

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2024-57915 is recorded against 2 packages.

  • linux (fixed in 6.12.10-1)
  • unknown

Timeline and source

Published on 19 January 2025 and last revised on 16 April 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Fix)
git.kernel.org (Fix)
git.kernel.org (Fix)
git.kernel.org (Fix)
git.kernel.org (Fix)
git.kernel.org (Web)
git.kernel.org (Web)
security-tracker.debian.org (Advisory)

Other advisories for this package

linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-57915 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-01-19
Updated 2026-08-20
Modified 2026-04-16

Affected Packages

Software From version Fixed in
linux — 6.12.10-1
unknown — —

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2024-57915?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2024-57915 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓