net: mana: initialize gdma queue id to INVALID_QUEUE_ID
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.212, 6.1.178, 6.12.97, 6.18.40, 6.6.145, 7.1.5
- CVEs
- CVE-2026-74265
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:51 UTC · Revision 1
Source evidence
net: mana: initialize gdma queue id to INVALID_QUEUE_ID
core-osv · Original sourcePublished 15 Aug 2026, 05:57 UTC
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.
osv:CVE-2026-74265
Kernel
Fixed versions: 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
Complete source record
{
"id": "f6623200e5138c45a0f88e4d4f87147a4df35f61aa77f584ba00e0b963b64082",
"url": "https://osv.dev/vulnerability/CVE-2026-74265",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: mana: initialize gdma queue id to INVALID_QUEUE_ID",
"summary": "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.",
"evidence": "osv:CVE-2026-74265",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.212",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-74265",
"aliases": [
"CVE-2026-74265"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f"
},
{
"fixed": "372e7318af379eee29ab6e60848ce7d7db76c85a"
},
{
"fixed": "c6662f3ad1c7c3549a1c39545651833220b0de89"
},
{
"fixed": "8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d"
},
{
"fixed": "a493cbb6b11acd4adc93397a4b12bd460d47620d"
},
{
"fixed": "62ce489acb428a936bdf243e7b92b3eb341447cf"
},
{
"fixed": "150590d9ab0dbeb0087193058363819d4c82a00f"
},
{
"fixed": "5985474e1cb4034680fac2145497a94b0860be50"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74265.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.13.0"
},
{
"fixed": "5.15.212"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74265.json"
}
}
],
"modified": "2026-10-28T02:30:40.346785558Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/150590d9ab0dbeb0087193058363819d4c82a00f",
"https://git.kernel.org/stable/c/372e7318af379eee29ab6e60848ce7d7db76c85a",
"https://git.kernel.org/stable/c/5985474e1cb4034680fac2145497a94b0860be50",
"https://git.kernel.org/stable/c/62ce489acb428a936bdf243e7b92b3eb341447cf",
"https://git.kernel.org/stable/c/8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d",
"https://git.kernel.org/stable/c/a493cbb6b11acd4adc93397a4b12bd460d47620d",
"https://git.kernel.org/stable/c/c6662f3ad1c7c3549a1c39545651833220b0de89",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74265.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74265",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74265.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74265",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 508149,
"published_at": "2026-08-15T05:57:40.976+00:00"
}