ALSA: seq: oss: Reject reads that cannot fit the next event
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b3b4b647313757a275be7f7f9d0415d0a90acf73, Kernel 20b8520d1ef996173065f7abdde47b99136c0785, Kernel 2922cf2583e590f51bed613a6fcd27b9aea83674 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: oss: Reject reads that cannot fit the next event snd_seq_oss_read() checks whether the next queued OSS sequencer event fits in the remaining userspace buffer before removing it from the read queue. The check is inverted. It currently stops when the event is smaller than the remaining buffer, so a normal 4-byte event is not copied for an 8-byte read buffer. Conversely, an 8-byte event can be copied for a smaller read count. Break only when the remaining userspace buffer is smaller than the next event, and report -EINVAL if no complete event has been copied. This prevents an undersized read from looking like end-of-file while leaving the event queued for a later read with a large enough buffer.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b3b4b647313757a275be7f7f9d0415d0a90acf73, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <20b8520d1ef996173065f7abdde47b99136c0785, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2922cf2583e590f51bed613a6fcd27b9aea83674, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <372bec8a01e2ab8eaa6851bdc346ede5f82dba99, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <591226398c1f93bd994678237ff0be229b19d3bb, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <611f538253d970f4d152003841544e875828d015, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7483fd5f6990f43cc266e94b3f50ce84856ebb97, =2.6.12 | b3b4b647313757a275be7f7f9d0415d0a90acf73, 20b8520d1ef996173065f7abdde47b99136c0785, 2922cf2583e590f51bed613a6fcd27b9aea83674, 372bec8a01e2ab8eaa6851bdc346ede5f82dba99, 591226398c1f93bd994678237ff0be229b19d3bb, 611f538253d970f4d152003841544e875828d015, 7483fd5f6990f43cc266e94b3f50ce84856ebb97 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=2.6.12 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket