{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2b74b0a04d3e9f9f08ff026e5663dce88ff94e52"
            },
            {
              "fixed": "35d15bbaec0557330e774ec31412ef508de6e0e0"
            },
            {
              "fixed": "6b2be489eaa6293e60549005d91f15ceb150510f"
            },
            {
              "fixed": "f87ed889f0f7417b8938c98d8833f559b755373c"
            },
            {
              "fixed": "e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f"
            },
            {
              "fixed": "fff1059d139ef798bab917990524faaf25854ca8"
            },
            {
              "fixed": "40c706a0224bde194667e3378c689b542fec4b44"
            },
            {
              "fixed": "41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c"
            },
            {
              "fixed": "1febec7e47cdcd01f43fb0211094e3010474666e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "f7e0611e207d8908c4f2858e244370529a76dbf7"
            },
            {
              "last_affected": "b88ad6e714284b33a47834f5f2a294c2b37c66aa"
            },
            {
              "last_affected": "471b23586387a32857778c511be60ab31c98dcfd"
            },
            {
              "last_affected": "4f529c4d1e436230d3af7c09a3239677a14d2b46"
            },
            {
              "last_affected": "ae6a5394d9fbe118bc95cfe376d6a9d91d7547e8"
            },
            {
              "last_affected": "5bdf93a2f5459f944b416b188178ca4a92fd206f"
            },
            {
              "last_affected": "ff3ba016263ee93a1c6209bf5ab1599de7ab1512"
            },
            {
              "last_affected": "e7ca00f35d8a17af1ae19d529193ebc21bfda164"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.9.235"
            },
            {
              "fixed": "4.10"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.14.196"
            },
            {
              "fixed": "4.15"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.19.143"
            },
            {
              "fixed": "4.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.4.62"
            },
            {
              "fixed": "5.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.8.6"
            },
            {
              "fixed": "5.9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.14.328"
            },
            {
              "fixed": "4.15"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.19.297"
            },
            {
              "fixed": "4.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.4.259"
            },
            {
              "fixed": "5.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.9.0"
            },
            {
              "fixed": "5.10.265"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.216"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.183"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.148"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.101"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.42"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68368.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_ncm: validate datagram bounds in ncm_unwrap_ntb()\n\nWhen unpacking host-supplied NTBs, ncm_unwrap_ntb() checks datagram length\nagainst frame_max but does not verify that the datagram fits within the\ndeclared block length. Additionally, when decoding multiple NTBs from a\nsingle socket buffer, subsequent block lengths are not checked against the\nactual remaining buffer data.\n\nWith these checks missing, a malicious USB host can specify datagram\noffsets and lengths that point beyond the block, or supply secondary NTB\nheaders declaring lengths larger than the buffer. skb_put_data() then\ncopies adjacent kernel memory from skb_shared_info into the network skb.\n\nFix this by verifying that sufficient buffer space remains for the NTB\nheader before parsing, handling zero-length block declarations, ensuring\nthat block lengths never exceed the remaining buffer space, and verifying\nthat each datagram payload stays strictly within the block boundary.",
  "id": "CVE-2026-68368",
  "modified": "2026-08-21T03:30:16.298629975Z",
  "published": "2026-08-10T12:03:45.579Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1febec7e47cdcd01f43fb0211094e3010474666e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/35d15bbaec0557330e774ec31412ef508de6e0e0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/40c706a0224bde194667e3378c689b542fec4b44"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6b2be489eaa6293e60549005d91f15ceb150510f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f87ed889f0f7417b8938c98d8833f559b755373c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fff1059d139ef798bab917990524faaf25854ca8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68368.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68368"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "usb: gadget: f_ncm: validate datagram bounds in ncm_unwrap_ntb()"
}