CVE-2026-98742 PUBLISHED

ALSA: seq: Serialize compat port-info ioctls

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b3defb791b26ea0683a93a4f49c77ec45ec96f10 to 413211dd31cb2ef2fc99fb0aa1a037a97509502c (excl.)
  • affected from b3defb791b26ea0683a93a4f49c77ec45ec96f10 to fc5c52848e405b6efb073db5035bb9ebaed11ec4 (excl.)
  • affected from b3defb791b26ea0683a93a4f49c77ec45ec96f10 to 702d92f361f65d9698c473c7599d471395dc4341 (excl.)
  • affected from b3defb791b26ea0683a93a4f49c77ec45ec96f10 to 95b2e0361c88753afa030c10698be0a1a5b67650 (excl.)
  • Version d6693160906d55ba376bf0b88b7c129762170162 is affected
  • Version 02cbce8576a31df8fca54aaec91ee081076bd79d is affected
  • Version 6aab3aa52366a0051e5abf8aae4616c42053fd8e is affected
  • Version f8a38ab4cd9624fc5ac8a7f965c7b20f5b62c03c is affected
  • Version 623e5c8ae32b39cc8baea83478695dc624935318 is affected
  • Version e4ff9f294629b65df3f7982cd4faf86b2856b9d7 is affected
  • Version c3162384aed4cfe3f1a1f40041f3ba8cd7704d88 is affected
  • affected from 3.2.99 to 3.3 (excl.)
  • affected from 3.16.54 to 3.17 (excl.)
  • affected from 3.18.94 to 3.19 (excl.)
  • affected from 4.1.50 to 4.2 (excl.)
  • affected from 4.4.115 to 4.5 (excl.)
  • affected from 4.9.78 to 4.10 (excl.)
  • affected from 4.14.15 to 4.15 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References