ALSA: seq: Serialize compat port-info ioctls
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fc5c52848e405b6efb073db5035bb9ebaed11ec4, Kernel 3.17, Kernel 3.19 and 19 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <fc5c52848e405b6efb073db5035bb9ebaed11ec4, >=3.16.54 <3.17, >=3.18.94 <3.19, >=3.2.99 <3.3, >=4.1.50 <4.2, >=4.14.15 <4.15, >=4.4.115 <4.5, >=4.9.78 <4.10, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <14e178c60ba1cea49186fcfccac93d66aa94e9e0, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <2c0cce3a5a660270d65729b0f318d4e01470479d, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <2db234e163f0d211b69a4eebbec8aacc5a54a80e, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <413211dd31cb2ef2fc99fb0aa1a037a97509502c, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <4980768c5d092493be0deb20d1ee86aa661466f8, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <702d92f361f65d9698c473c7599d471395dc4341, >=b3defb791b26ea0683a93a4f49c77ec45ec96f10 <95b2e0361c88753afa030c10698be0a1a5b67650, =02cbce8576a31df8fca54aaec91ee081076bd79d, =4.15, =623e5c8ae32b39cc8baea83478695dc624935318, =6aab3aa52366a0051e5abf8aae4616c42053fd8e, =c3162384aed4cfe3f1a1f40041f3ba8cd7704d88, =d6693160906d55ba376bf0b88b7c129762170162, =e4ff9f294629b65df3f7982cd4faf86b2856b9d7, =f8a38ab4cd9624fc5ac8a7f965c7b20f5b62c03c | fc5c52848e405b6efb073db5035bb9ebaed11ec4, 3.17, 3.19, 3.3, 4.2, 4.15, 4.5, 4.10, 14e178c60ba1cea49186fcfccac93d66aa94e9e0, 2c0cce3a5a660270d65729b0f318d4e01470479d, 2db234e163f0d211b69a4eebbec8aacc5a54a80e, 413211dd31cb2ef2fc99fb0aa1a037a97509502c, 4980768c5d092493be0deb20d1ee86aa661466f8, 702d92f361f65d9698c473c7599d471395dc4341, 95b2e0361c88753afa030c10698be0a1a5b67650 |
| linux-kernel: Kernel | >=3.18.94 <3.19, >=3.2.99 <3.3, >=4.1.50 <4.2, >=4.14.15 <4.15, >=4.15.0 <5.10.273, >=4.4.115 <4.5, >=4.9.78 <4.10, >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=3.16.54 <3.17 | 3.19, 3.3, 4.2, 4.15, 5.10.273, 4.5, 4.10, 5.15.224, 6.1.191, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 3.17 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket