Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: fireworks: bound device-supplied status before string array lookup The status field in an EFW response is a 32-bit value supplied by the firewire device. efr_status_names[] has 17 entries so a status value outside that range goes off into the weeds when looking at the %s value. Even worse, the status could return EFR_STATUS_INCOMPLETE which is 0x80000000, and is obviously not in that array of potential strings. Fix this up by properly bounding the index against the array size and printing "unknown" if it's not recognized.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 183aa0de0f680496b9feb85c9d182681ad4600ddaffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 62fcb273fbee5b2a0e7ed41cc914c8d7d1a5d285affectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 327f8e730e3c65ec97df9d3b07de66aeb3dc932daffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < f856f4b6efd51be7950e4b84c06cd961961ca41caffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < e103f98f6615ed2934e9cf340654f0cad9eb8a8aaffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 67cfd14074cdafab5de3f7cfc0952c1a9b653e5daffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < cc624b3d2be13297100539b64ad950695188e046affectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 682d8accf0d83a871e8c327b95c81f53902c922baffectedbde8a8f23bbe6db51fa4e81644273af18fef3d7a to < 07704bbf36f57e4379e4cadf96410dab14621e3baffected
Linux Linux
Default version status: affected
3.16affected0 to < 3.16unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.136 to ≤ 6.6.*unaffected6.12.83 to ≤ 6.12.*unaffected6.18.24 to ≤ 6.18.*unaffected6.19.14 to ≤ 6.19.*unaffected7.0.1 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/183aa0de0f680496b9feb85c9d182681ad4600dd ↗
- https://git.kernel.org/stable/c/62fcb273fbee5b2a0e7ed41cc914c8d7d1a5d285 ↗
- https://git.kernel.org/stable/c/327f8e730e3c65ec97df9d3b07de66aeb3dc932d ↗
- https://git.kernel.org/stable/c/f856f4b6efd51be7950e4b84c06cd961961ca41c ↗
- https://git.kernel.org/stable/c/e103f98f6615ed2934e9cf340654f0cad9eb8a8a ↗
- https://git.kernel.org/stable/c/67cfd14074cdafab5de3f7cfc0952c1a9b653e5d ↗
- https://git.kernel.org/stable/c/cc624b3d2be13297100539b64ad950695188e046 ↗
- https://git.kernel.org/stable/c/682d8accf0d83a871e8c327b95c81f53902c922b ↗
- https://git.kernel.org/stable/c/07704bbf36f57e4379e4cadf96410dab14621e3b ↗