{
  "id": "CVE-2026-93122",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-93122",
  "published_at": "2026-09-17T16:11:27.89Z",
  "title": "usb: gadget: uac: validate rate list length before storing",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uac: validate rate list length before storing\n\nUAC1 and UAC2 configfs rate-list attributes parse a comma-separated\nlist of sampling rates and store each parsed value in fixed-size arrays.\nThe arrays have UAC_MAX_RATES entries, but the store paths do not check\nthat the input contains at most that many tokens before writing through\nopts-\u003ename##s[i++].\n\nWriting more than ten rates therefore writes past the end of the\np_srates[] or c_srates[] array in struct f_uac1_opts or struct\nf_uac2_opts.\n\nWith CONFIG_UBSAN_BOUNDS enabled, writing an 11-entry rate list to the\nUAC1 p_srate attribute reports:\n\n  UBSAN: array-index-out-of-bounds\n  drivers/usb/gadget/function/f_uac1.c:1669:1\n  index 10 is out of range for type 'int [10]'\n  __ubsan_handle_out_of_bounds.cold\n  f_uac1_opts_p_srate_store\n  configfs_write_iter\n  vfs_write\n  ksys_write\n  do_syscall_64\n\nThe same reproducer against the UAC2 p_srate attribute reports:\n\n  UBSAN: array-index-out-of-bounds\n  drivers/usb/gadget/function/f_uac2.c:2087:1\n  index 10 is out of range for type 'int [10]'\n  __ubsan_handle_out_of_bounds.cold\n  f_uac2_opts_p_srate_store\n  configfs_write_iter\n  vfs_write\n  ksys_write\n  do_syscall_64\n\nReject additional tokens once UAC_MAX_RATES entries have been parsed.\nAlso keep the original kstrdup() pointer for kfree(), because strsep()\nadvances the parsing cursor. Freeing the advanced cursor leaks the\noriginal buffer on successful parses and can free an interior pointer on\nsome error paths.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 30b3b3494000aa01fc8f08bf07ed503c9fde4895",
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 72888d54bae3677ecd4ba9793b7fd27ba0b27862",
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 0c2710a36b41bf8defba83c395b99eb1660e9e9a",
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 0203146ad450932c2d3132e367a99c49efe3122d",
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb",
          "\u003e= a7339e4f5788bd088bb0be1f96a6cce459676ed0, \u003c 844d83d5964b87919b958ff48405188c6ddae9cc"
        ],
        "fixed_in": [
          "30b3b3494000aa01fc8f08bf07ed503c9fde4895",
          "72888d54bae3677ecd4ba9793b7fd27ba0b27862",
          "0c2710a36b41bf8defba83c395b99eb1660e9e9a",
          "0203146ad450932c2d3132e367a99c49efe3122d",
          "3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb",
          "844d83d5964b87919b958ff48405188c6ddae9cc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.57",
          "7.2.6",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 30b3b3494000aa01fc8f08bf07ed503c9fde4895 or 72888d54bae3677ecd4ba9793b7fd27ba0b27862 or 0c2710a36b41bf8defba83c395b99eb1660e9e9a or 0203146ad450932c2d3132e367a99c49efe3122d or 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb or 844d83d5964b87919b958ff48405188c6ddae9cc or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.2.6 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
