# CVE-2024-57915: linux: In the Linux kernel, the following vulnerability has been resolved:  usb: gadget: u_serial: Disable ep before setting...

CVE-2024-57915 is fixed in 26 products on 1 platform, first by CVE-2024-57915, released January 19, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-57915
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: n/a
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 19, 2025

## 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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-64kb opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-64kb sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-azure opensuse-leap 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-azure sles 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-coco_debug sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-debug opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-default opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-default-base opensuse-leap 15.6 | 6.4.0-150600.23.38.1.150600.12.16.2 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.38.1.150600.12.16.2 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-docs opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-livepatch-SLE15-SP6-RT_Update_8 sles 15.6 | 1-150600.1.3.1 | [SUSE-SU-2025:0557-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0557-1.md) | Feb 14, 2025 |
| Linux | kernel-livepatch-SLE15-SP6_Update_8 sles 15.6 | 1-150600.13.3.2 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-obs-build opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-obs-qa opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-rt opensuse-leap 15.6 | 6.4.0-150600.10.26.1 | [SUSE-SU-2025:0557-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0557-1.md) | Feb 14, 2025 |
| Linux | kernel-rt_debug opensuse-leap 15.6 | 6.4.0-150600.10.26.1 | [SUSE-SU-2025:0557-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0557-1.md) | Feb 14, 2025 |
| Linux | kernel-source opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-source-azure opensuse-leap 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-source-azure sles 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-source-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-source-rt opensuse-leap 15.6 | 6.4.0-150600.10.26.1 | [SUSE-SU-2025:0557-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0557-1.md) | Feb 14, 2025 |
| Linux | kernel-syms opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-syms-azure opensuse-leap 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-syms-azure sles 15.6 | 6.4.0-150600.8.26.1 | [SUSE-SU-2025:0428-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0428-1.md) | Feb 11, 2025 |
| Linux | kernel-syms-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-syms-rt opensuse-leap 15.6 | 6.4.0-150600.10.26.1 | [SUSE-SU-2025:0557-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0557-1.md) | Feb 14, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | kernel-zfcpdump sles 15.6 | 6.4.0-150600.23.38.1 | [SUSE-SU-2025:0499-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0499-1.md) | Feb 13, 2025 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.128-1 | [CVE-2024-57915](https://patchblox.com/security/data/fix/linux/cve-2024-57915.md) | Jan 19, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.10-1 | [CVE-2024-57915](https://patchblox.com/security/data/fix/linux/cve-2024-57915.md) | Jan 19, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
