Description
In the Linux kernel, the following vulnerability has been resolved: net: mana: initialize gdma queue id to INVALID_QUEUE_ID mana_gd_create_mana_wq_cq() leaves queue->id as 0 (from kzalloc_obj()) until mana_create_wq_obj() assigns the firmware-returned id. If creation fails before that, cleanup calls mana_gd_destroy_cq() with id 0, NULLing gc->cq_table[0] and silently breaking whichever real CQ owns that slot. Initialize queue->id to INVALID_QUEUE_ID right after allocation, matching mana_gd_create_eq(). The existing (id >= max_num_cqs) guard then short-circuits cleanly.
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
ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < 372e7318af379eee29ab6e60848ce7d7db76c85aaffectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < c6662f3ad1c7c3549a1c39545651833220b0de89affectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < 8e52a247d9aa979d43eb9ff1e445b9b3bf229d4daffectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < a493cbb6b11acd4adc93397a4b12bd460d47620daffectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < 62ce489acb428a936bdf243e7b92b3eb341447cfaffectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < 150590d9ab0dbeb0087193058363819d4c82a00faffectedca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to < 5985474e1cb4034680fac2145497a94b0860be50affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/372e7318af379eee29ab6e60848ce7d7db76c85a ↗
- https://git.kernel.org/stable/c/c6662f3ad1c7c3549a1c39545651833220b0de89 ↗
- https://git.kernel.org/stable/c/8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d ↗
- https://git.kernel.org/stable/c/a493cbb6b11acd4adc93397a4b12bd460d47620d ↗
- https://git.kernel.org/stable/c/62ce489acb428a936bdf243e7b92b3eb341447cf ↗
- https://git.kernel.org/stable/c/150590d9ab0dbeb0087193058363819d4c82a00f ↗
- https://git.kernel.org/stable/c/5985474e1cb4034680fac2145497a94b0860be50 ↗