CVE-2026-98837 (GCVE-0-2026-98837)
Vulnerability from cvelistv5
Published
2026-10-18 15:50
Modified
2026-10-30 12:40
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: unregister the input device when probe fails setup_card() registers the input device, whose name and phys point into struct snd_usb_caiaqdev, and then goes on to snd_card_register() and snd_usb_caiaq_control_init(). If either fails, snd_probe() calls snd_card_free(), which frees the device state but leaves the input device registered: card_free() only clears the pointer, and the input device is unregistered from snd_disconnect() alone. Reading its "uevent" attribute afterwards dereferences freed memory: BUG: KASAN: slab-use-after-free in string+0x4a9/0x4f0 Read of size 1 at addr ffff8880208f5043 by task caiaq/4967 add_uevent_var+0x183/0x3a0 input_dev_uevent+0x162/0x900 dev_uevent+0x2f1/0x870 uevent_show+0x1ca/0x3a0 ... Unregister the input device on the probe error path, as snd_disconnect() does. snd_usb_caiaq_input_disconnect() is a no-op when no input device was registered. Reproduced with a raw-gadget Audio Kontrol 1 and a temporary hack that makes snd_usb_caiaq_control_init() fail.
Impacted products
Vendor Product Version
Linux Linux Version: da938aa9fc7826901921dcea225948ab21a97e45
Version: 09616e25f502080ba684fc7fcf959d1376ab756d
Version: b956e48371f2ff72b76be9a829800ecec963bd45
Version: f537e3ad69609f6924a4db6b4a7f6561f5288bdd
Version: 6251e3e256337a30160ef59ab1580dde4d1acd28
Version: e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056
Version: 28abd224db4a49560b452115bca3672a20e45b2f
Version: 28abd224db4a49560b452115bca3672a20e45b2f
Version: 096dd8519cf2f768e9e14f224b627f7aaee1a9c5
Version: 5.10.258   ≤
Version: 5.15.209   ≤
Version: 6.1.175   ≤
Version: 6.6.140   ≤
Version: 6.12.86   ≤
Version: 6.18.27   ≤
Version: 7.0.4   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/caiaq/device.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7017c9dda1ebbab428a6fd29c841596b5c9c84d1",
              "status": "affected",
              "version": "da938aa9fc7826901921dcea225948ab21a97e45",
              "versionType": "git"
            },
            {
              "lessThan": "8315ea07ebb2497531ff42dd640396f6f1d4a8f0",
              "status": "affected",
              "version": "09616e25f502080ba684fc7fcf959d1376ab756d",
              "versionType": "git"
            },
            {
              "lessThan": "1d5d194594ff616ad36a052bde739d1cf5855b95",
              "status": "affected",
              "version": "b956e48371f2ff72b76be9a829800ecec963bd45",
              "versionType": "git"
            },
            {
              "lessThan": "df2787819bd137111b56b8631dd581b0cce7144d",
              "status": "affected",
              "version": "f537e3ad69609f6924a4db6b4a7f6561f5288bdd",
              "versionType": "git"
            },
            {
              "lessThan": "850810c12686f80cdf7530f4f21e0157d904f739",
              "status": "affected",
              "version": "6251e3e256337a30160ef59ab1580dde4d1acd28",
              "versionType": "git"
            },
            {
              "lessThan": "84727facd8506140cd04f2b0a8b1c4ddeac41cea",
              "status": "affected",
              "version": "e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056",
              "versionType": "git"
            },
            {
              "lessThan": "2e5a413cc2a489c9427ecd3d73ad764bfb0c7103",
              "status": "affected",
              "version": "28abd224db4a49560b452115bca3672a20e45b2f",
              "versionType": "git"
            },
            {
              "lessThan": "0b7bd20f6379bc5e431fd74d866390f5b5b63f3c",
              "status": "affected",
              "version": "28abd224db4a49560b452115bca3672a20e45b2f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "096dd8519cf2f768e9e14f224b627f7aaee1a9c5",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.273",
              "status": "affected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.224",
              "status": "affected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.191",
              "status": "affected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.160",
              "status": "affected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.113",
              "status": "affected",
              "version": "6.12.86",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.56",
              "status": "affected",
              "version": "6.18.27",
              "versionType": "semver"
            },
            {
              "lessThan": "7.1",
              "status": "affected",
              "version": "7.0.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/caiaq/device.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.273",
                  "versionStartIncluding": "5.10.258",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "5.15.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "6.1.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.6.140",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "6.12.86",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "6.18.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.0.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: unregister the input device when probe fails\n\nsetup_card() registers the input device, whose name and phys point into\nstruct snd_usb_caiaqdev, and then goes on to snd_card_register() and\nsnd_usb_caiaq_control_init(). If either fails, snd_probe() calls\nsnd_card_free(), which frees the device state but leaves the input\ndevice registered: card_free() only clears the pointer, and the input\ndevice is unregistered from snd_disconnect() alone. Reading its \"uevent\"\nattribute afterwards dereferences freed memory:\n\n  BUG: KASAN: slab-use-after-free in string+0x4a9/0x4f0\n  Read of size 1 at addr ffff8880208f5043 by task caiaq/4967\n   add_uevent_var+0x183/0x3a0\n   input_dev_uevent+0x162/0x900\n   dev_uevent+0x2f1/0x870\n   uevent_show+0x1ca/0x3a0\n   ...\n\nUnregister the input device on the probe error path, as\nsnd_disconnect() does. snd_usb_caiaq_input_disconnect() is a no-op when\nno input device was registered.\n\nReproduced with a raw-gadget Audio Kontrol 1 and a temporary hack that\nmakes snd_usb_caiaq_control_init() fail."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:40:06.606Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7017c9dda1ebbab428a6fd29c841596b5c9c84d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/8315ea07ebb2497531ff42dd640396f6f1d4a8f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d5d194594ff616ad36a052bde739d1cf5855b95"
        },
        {
          "url": "https://git.kernel.org/stable/c/df2787819bd137111b56b8631dd581b0cce7144d"
        },
        {
          "url": "https://git.kernel.org/stable/c/850810c12686f80cdf7530f4f21e0157d904f739"
        },
        {
          "url": "https://git.kernel.org/stable/c/84727facd8506140cd04f2b0a8b1c4ddeac41cea"
        },
        {
          "url": "https://git.kernel.org/stable/c/2e5a413cc2a489c9427ecd3d73ad764bfb0c7103"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b7bd20f6379bc5e431fd74d866390f5b5b63f3c"
        }
      ],
      "title": "ALSA: caiaq: unregister the input device when probe fails",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98837",
    "datePublished": "2026-10-18T15:50:05.338Z",
    "dateReserved": "2026-09-25T10:25:14.372Z",
    "dateUpdated": "2026-10-30T12:40:06.606Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…