← Back to CVE Explorer

CVE-2026-98742

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: Serialize compat port-info ioctls The native sequencer ioctl path serializes handler calls with client->ioctl_mutex, but the translated port-info compat path invokes the same handlers through snd_seq_kernel_client_ctl() without taking that mutex. This lets concurrent compat CREATE_PORT requests pass the port-count check before any request reaches the serialized insertion. The computed integer port index can then exceed the address field range and wrap to an existing index. Subsequent subscriber teardown can resolve the duplicate address to the wrong port and access a freed subscriber. Take ioctl_mutex while dispatching converted port-info requests, matching the native ioctl path. All translated port-info commands share this helper, so their accesses to the client port state are serialized as well.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:27.920000
Last modified
2026-10-30 13:21:22.930000
View original CVE JSON
{
  "id": "CVE-2026-98742",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:27.920",
  "lastModified": "2026-10-30T13:21:22.930",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: Serialize compat port-info ioctls\n\nThe native sequencer ioctl path serializes handler calls with\nclient->ioctl_mutex, but the translated port-info compat path invokes the\nsame handlers through snd_seq_kernel_client_ctl() without taking that\nmutex.\n\nThis lets concurrent compat CREATE_PORT requests pass the port-count\ncheck before any request reaches the serialized insertion. The computed\ninteger port index can then exceed the address field range and wrap to an\nexisting index. Subsequent subscriber teardown can resolve the duplicate\naddress to the wrong port and access a freed subscriber.\n\nTake ioctl_mutex while dispatching converted port-info requests, matching\nthe native ioctl path. All translated port-info commands share this\nhelper, so their accesses to the client port state are serialized as\nwell."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "sound/core/seq/seq_compat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "14e178c60ba1cea49186fcfccac93d66aa94e9e0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "4980768c5d092493be0deb20d1ee86aa661466f8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "2c0cce3a5a660270d65729b0f318d4e01470479d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "2db234e163f0d211b69a4eebbec8aacc5a54a80e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "413211dd31cb2ef2fc99fb0aa1a037a97509502c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "fc5c52848e405b6efb073db5035bb9ebaed11ec4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "702d92f361f65d9698c473c7599d471395dc4341",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b3defb791b26ea0683a93a4f49c77ec45ec96f10",
              "lessThan": "95b2e0361c88753afa030c10698be0a1a5b67650",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "d6693160906d55ba376bf0b88b7c129762170162",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "02cbce8576a31df8fca54aaec91ee081076bd79d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6aab3aa52366a0051e5abf8aae4616c42053fd8e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f8a38ab4cd9624fc5ac8a7f965c7b20f5b62c03c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "623e5c8ae32b39cc8baea83478695dc624935318",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e4ff9f294629b65df3f7982cd4faf86b2856b9d7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c3162384aed4cfe3f1a1f40041f3ba8cd7704d88",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3.2.99",
              "lessThan": "3.3",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "3.16.54",
              "lessThan": "3.17",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "3.18.94",
              "lessThan": "3.19",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.1.50",
              "lessThan": "4.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.4.115",
              "lessThan": "4.5",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.9.78",
              "lessThan": "4.10",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.14.15",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "sound/core/seq/seq_compat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.15",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/14e178c60ba1cea49186fcfccac93d66aa94e9e0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2c0cce3a5a660270d65729b0f318d4e01470479d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2db234e163f0d211b69a4eebbec8aacc5a54a80e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/413211dd31cb2ef2fc99fb0aa1a037a97509502c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4980768c5d092493be0deb20d1ee86aa661466f8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/702d92f361f65d9698c473c7599d471395dc4341",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/95b2e0361c88753afa030c10698be0a1a5b67650",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/fc5c52848e405b6efb073db5035bb9ebaed11ec4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}