{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-93056",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-93056"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "usb: gadget: f_uac1_legacy: remove broken string configfs attributes",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_uac1_legacy: remove broken string configfs attributes\n\nThe UAC1_STR_ATTRIBUTE macro defines configfs show/store handlers for\nthe fn_play, fn_cap, and fn_cntl string options. The store function\ncontains an inverted null check on the kstrndup() return value.\n\nThis means every write attempt returns -ENOMEM on success and\ndereferences a NULL pointer on allocation failure. The attributes\nhave been broken and unused for many years.\n\nRemove the UAC1_STR_ATTRIBUTE macro and the three attributes it\ngenerated. The internal defaults (FILE_PCM_PLAYBACK, FILE_PCM_CAPTURE,\nFILE_CONTROL) set in f_audio_alloc_inst() are unaffected.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-93056"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/745adfe6c337f3d5d7737d57529d14a208151b45"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6351ba62778f72dc4f6bc18bfa99e618829cff0d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/021b58ac3e58cffa68ed9585ff492a19e98414f6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8b9335aec93975bb9186d63993a5a610e5066ffc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2ed25c9d4400cf90d9201657963a231c27a5ea57"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/977659adb341f6e30fb00dcf183f63f29df879e2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/590d74ec8f488e06b9f1c0f8f0941f45531f3a55"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
