net: mana: initialize gdma queue id to INVALID_QUEUE_ID
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c6662f3ad1c7c3549a1c39545651833220b0de89, Kernel 150590d9ab0dbeb0087193058363819d4c82a00f, Kernel 372e7318af379eee29ab6e60848ce7d7db76c85a and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <c6662f3ad1c7c3549a1c39545651833220b0de89, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <150590d9ab0dbeb0087193058363819d4c82a00f, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <372e7318af379eee29ab6e60848ce7d7db76c85a, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <5985474e1cb4034680fac2145497a94b0860be50, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <62ce489acb428a936bdf243e7b92b3eb341447cf, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <a493cbb6b11acd4adc93397a4b12bd460d47620d, =5.13 | c6662f3ad1c7c3549a1c39545651833220b0de89, 150590d9ab0dbeb0087193058363819d4c82a00f, 372e7318af379eee29ab6e60848ce7d7db76c85a, 5985474e1cb4034680fac2145497a94b0860be50, 62ce489acb428a936bdf243e7b92b3eb341447cf, 8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d, a493cbb6b11acd4adc93397a4b12bd460d47620d |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.13.0 <5.15.212 | 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket