CVE-2026-43422 (GCVE-0-2026-43422)

Vulnerability from cvelistv5 – Published: 2026-05-08 14:21 – Updated: 2026-05-11 22:24
VLAI
Title
usb: legacy: ncm: Fix NPE in gncm_bind
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: legacy: ncm: Fix NPE in gncm_bind Commit 56a512a9b410 ("usb: gadget: f_ncm: align net_device lifecycle with bind/unbind") deferred the allocation of the net_device. This change leads to a NULL pointer dereference in the legacy NCM driver as it attempts to access the net_device before it's fully instantiated. Store the provided qmult, host_addr, and dev_addr into the struct ncm_opts->net_opts during gncm_bind(). These values will be properly applied to the net_device when it is allocated and configured later in the binding process by the NCM function driver.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b62076e780a2121903ecf9ffdfb89c64647cb7da , < be5738d19bed244ede84da45bc45395bcb1d99e0 (git)
Affected: 188338c1827842f898761a939669cf345bdf07e2 , < b23e86a3a15803c3dcb24701285f73e65099fdf9 (git)
Affected: 56a512a9b4107079f68701e7d55da8507eb963d9 , < fde0634ad9856b3943a2d1a8cc8de174a63ac840 (git)
Create a notification for this product.
Linux Linux Affected: 6.18.17 , < 6.18.19 (semver)
Affected: 6.19.7 , < 6.19.9 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/legacy/ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "be5738d19bed244ede84da45bc45395bcb1d99e0",
              "status": "affected",
              "version": "b62076e780a2121903ecf9ffdfb89c64647cb7da",
              "versionType": "git"
            },
            {
              "lessThan": "b23e86a3a15803c3dcb24701285f73e65099fdf9",
              "status": "affected",
              "version": "188338c1827842f898761a939669cf345bdf07e2",
              "versionType": "git"
            },
            {
              "lessThan": "fde0634ad9856b3943a2d1a8cc8de174a63ac840",
              "status": "affected",
              "version": "56a512a9b4107079f68701e7d55da8507eb963d9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/legacy/ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6.18.19",
              "status": "affected",
              "version": "6.18.17",
              "versionType": "semver"
            },
            {
              "lessThan": "6.19.9",
              "status": "affected",
              "version": "6.19.7",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.19",
                  "versionStartIncluding": "6.18.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.9",
                  "versionStartIncluding": "6.19.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: legacy: ncm: Fix NPE in gncm_bind\n\nCommit 56a512a9b410 (\"usb: gadget: f_ncm: align net_device lifecycle\nwith bind/unbind\") deferred the allocation of the net_device. This\nchange leads to a NULL pointer dereference in the legacy NCM driver as\nit attempts to access the net_device before it\u0027s fully instantiated.\n\nStore the provided qmult, host_addr, and dev_addr into the struct\nncm_opts-\u003enet_opts during gncm_bind(). These values will be properly\napplied to the net_device when it is allocated and configured later in\nthe binding process by the NCM function driver."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T22:24:16.955Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/be5738d19bed244ede84da45bc45395bcb1d99e0"
        },
        {
          "url": "https://git.kernel.org/stable/c/b23e86a3a15803c3dcb24701285f73e65099fdf9"
        },
        {
          "url": "https://git.kernel.org/stable/c/fde0634ad9856b3943a2d1a8cc8de174a63ac840"
        }
      ],
      "title": "usb: legacy: ncm: Fix NPE in gncm_bind",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43422",
    "datePublished": "2026-05-08T14:21:57.031Z",
    "dateReserved": "2026-05-01T14:12:56.008Z",
    "dateUpdated": "2026-05-11T22:24:16.955Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43422",
      "date": "2026-05-28",
      "epss": "0.00013",
      "percentile": "0.02242"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43422\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T15:16:54.290\",\"lastModified\":\"2026-05-12T14:10:27.343\",\"vulnStatus\":\"Undergoing Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: legacy: ncm: Fix NPE in gncm_bind\\n\\nCommit 56a512a9b410 (\\\"usb: gadget: f_ncm: align net_device lifecycle\\nwith bind/unbind\\\") deferred the allocation of the net_device. This\\nchange leads to a NULL pointer dereference in the legacy NCM driver as\\nit attempts to access the net_device before it\u0027s fully instantiated.\\n\\nStore the provided qmult, host_addr, and dev_addr into the struct\\nncm_opts-\u003enet_opts during gncm_bind(). These values will be properly\\napplied to the net_device when it is allocated and configured later in\\nthe binding process by the NCM function driver.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/b23e86a3a15803c3dcb24701285f73e65099fdf9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be5738d19bed244ede84da45bc45395bcb1d99e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fde0634ad9856b3943a2d1a8cc8de174a63ac840\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…