{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4dd821dcbfcecf7af6a08370b0b217cde2818acf"
            },
            {
              "fixed": "493b3a682ededc804555755f5d2193201339612d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "cadf1d8e9ddcd74584ec961aeac14ac549b261d8"
            },
            {
              "fixed": "dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "237f3faf0177bdde728fa3106d730d806436aa4d"
            },
            {
              "fixed": "ac7345f68cda6989016d85d63f7b244c064aa8f6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4507a8b9b30344c5ddd8219945f446d47e966a6d"
            },
            {
              "fixed": "f6634af5de728a46792f674a66d7843570cb68f7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a3f9314752dbb6f6aa1f0f2b4c58243bda800738"
            },
            {
              "fixed": "1d9be95aee6c6246a21752e60c9519902649f482"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c"
            },
            {
              "fixed": "6473ed16df1fe88051140611b3eb9a49be7f429e"
            },
            {
              "fixed": "59b622a043cffc58b7638cd85ae6c30a0904f8e6"
            },
            {
              "fixed": "80bb50e2d459213cccff3111d5ef98ed4238c0d5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3993edf44d3df7b6e8c753eac6ac8783473fcbab"
            },
            {
              "last_affected": "ebad462eec93b0f701dfe4de98990e7355283801"
            },
            {
              "last_affected": "dd0de8cb708951cebf727aa045e8242ba651bb52"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.10.231"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.174"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.1.120"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.6.64"
            },
            {
              "fixed": "6.6.136"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.12.2"
            },
            {
              "fixed": "6.12.84"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.19.325"
            },
            {
              "fixed": "4.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.4.287"
            },
            {
              "fixed": "5.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.11.11"
            },
            {
              "fixed": "6.12"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.136"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.84"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.25"
            },
            {
              "fixed": "7.0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31701.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: take a reference on the USB device in create_card()\n\nThe caiaq driver stores a pointer to the parent USB device in\ncdev-\u003echip.dev but never takes a reference on it. The card's\nprivate_free callback, snd_usb_caiaq_card_free(), can run\nasynchronously via snd_card_free_when_closed() after the USB\ndevice has already been disconnected and freed, so any access to\ncdev-\u003echip.dev in that path dereferences a freed usb_device.\n\nOn top of the refcounting issue, the current card_free implementation\ncalls usb_reset_device(cdev-\u003echip.dev). A reset in a free callback\nis inappropriate: the device is going away, the call takes the\ndevice lock in a teardown context, and the reset races with the\ndisconnect path that the callback is already cleaning up after.\n\nTake a reference on the USB device in create_card() with\nusb_get_dev(), drop it with usb_put_dev() in the free callback,\nand remove the usb_reset_device() call.",
  "id": "CVE-2026-31701",
  "modified": "2026-07-08T05:36:31.098911880Z",
  "published": "2026-05-01T13:56:00.869Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1d9be95aee6c6246a21752e60c9519902649f482"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/493b3a682ededc804555755f5d2193201339612d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/59b622a043cffc58b7638cd85ae6c30a0904f8e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6473ed16df1fe88051140611b3eb9a49be7f429e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/80bb50e2d459213cccff3111d5ef98ed4238c0d5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ac7345f68cda6989016d85d63f7b244c064aa8f6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6634af5de728a46792f674a66d7843570cb68f7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31701.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31701"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "ALSA: caiaq: take a reference on the USB device in create_card()"
}