{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2b1116bbe898aefdf584838448c6869f69851e0f"
            },
            {
              "fixed": "175357ee0c596cb82054650dfa32fda51ad35aaa"
            },
            {
              "fixed": "dbd126539c098dba3159ce7d34b10b2daddcbd0f"
            },
            {
              "fixed": "63feb687e89a3a52a31e6e01764117cc500f1974"
            },
            {
              "fixed": "160045fc943f6c46b227644261252c8a22b8a87a"
            },
            {
              "fixed": "b30771b69eafae750afb7385fbcc3d77ed3f3670"
            },
            {
              "fixed": "1627e7d5c9b09721a141d07cedb178882f1ded67"
            },
            {
              "fixed": "1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9"
            },
            {
              "fixed": "a4f27ad055392fa164f5649e89a3637b033c5fcc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2005c32ec99ee2490e8131b3953f3f212009ffea"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.4.69"
            },
            {
              "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.5.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72310.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix overflow in passthrough ioctl bounds check\n\nsmb2_ioctl_query_info() validates the PASSTHRU_FSCTL response payload\nbefore copying it to userspace.\n\nThe payload offset and length both come from 32-bit fields. The bounds\ncheck currently adds OutputOffset and qi.input_buffer_length directly, so\nthe addition can wrap in 32-bit arithmetic before the result is compared\nagainst the response buffer length.\n\nA malicious server can use a large OutputOffset and a small OutputCount\nto make the wrapped sum pass the bounds check. The later copy_to_user()\nthen reads from io_rsp + OutputOffset, outside the response buffer.\n\nUse size_add() for the offset plus length check so overflow is treated as\nout of bounds.",
  "id": "CVE-2026-72310",
  "modified": "2026-08-16T03:31:18.207857506Z",
  "published": "2026-08-15T05:55:26.539Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/160045fc943f6c46b227644261252c8a22b8a87a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1627e7d5c9b09721a141d07cedb178882f1ded67"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/175357ee0c596cb82054650dfa32fda51ad35aaa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63feb687e89a3a52a31e6e01764117cc500f1974"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a4f27ad055392fa164f5649e89a3637b033c5fcc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b30771b69eafae750afb7385fbcc3d77ed3f3670"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dbd126539c098dba3159ce7d34b10b2daddcbd0f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72310.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72310"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "smb: client: fix overflow in passthrough ioctl bounds check"
}