Lucene search
+L

CVE-2026-31725 usb: gadget: f_ecm: Fix net_device lifecycle with device_move

🗓️ 01 May 2026 14:14:26Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 42 Views

Fix net_device lifecycle in f_ecm by using device_move to reparent on bind and unbind.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/usb/gadget/function/f_ecm.c",
      "drivers/usb/gadget/function/u_ecm.h"
    ],
    "versions": [
      {
        "version": "fee562a6450b7806f1fbbe1469a67b5395b5c10a",
        "lessThan": "5eaeac22240d965d24c3bd0c54ded64efd8f6ca1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fee562a6450b7806f1fbbe1469a67b5395b5c10a",
        "lessThan": "4e34f3f491fd731809b57ddb5329ec763bd39553",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fee562a6450b7806f1fbbe1469a67b5395b5c10a",
        "lessThan": "9b1e5589593293c78a2ab8bb118a41e2271a2af8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fee562a6450b7806f1fbbe1469a67b5395b5c10a",
        "lessThan": "b2cc4fae67a51f60d81d6af2678696accb07c656",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/usb/gadget/function/f_ecm.c",
      "drivers/usb/gadget/function/u_ecm.h"
    ],
    "versions": [
      {
        "version": "3.11",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.11",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.81",
        "lessThanOrEqual": "6.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.18.22",
        "lessThanOrEqual": "6.18.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.19.12",
        "lessThanOrEqual": "6.19.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "7.0",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation