net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
In the Linux kernel, the following vulnerability has been resolved: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue() If queue entry or DMA descriptor list allocation fails in airoha_qdma_init_rx_queue routine, airoha_qdma_cleanup() will trigger a NULL pointer dereference running netif_napi_del() for RX queue NAPIs since netif_napi_add() has never been executed to this particular RX NAPI. The issue is due to the early ndesc initialization in airoha_qdma_init_rx_queue() since airoha_qdma_cleanup() relies on ndesc value to check if the queue is properly initialized. Fix the issue moving ndesc initialization at end of airoha_qdma_init_tx routine. Move page_pool allocation after descriptor list allocation in order to avoid memory leaks if desc allocation fails.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.91, 6.18.33, 7.0.10
- CVEs
- CVE-2026-53298
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:04 UTC · Revision 1
Source evidence
net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
core-osv · Original sourcePublished 26 Jun 2026, 19:40 UTC
In the Linux kernel, the following vulnerability has been resolved: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue() If queue entry or DMA descriptor list allocation fails in airoha_qdma_init_rx_queue routine, airoha_qdma_cleanup() will trigger a NULL pointer dereference running netif_napi_del() for RX queue NAPIs since netif_napi_add() has never been executed to this particular RX NAPI. The issue is due to the early ndesc initialization in airoha_qdma_init_rx_queue() since airoha_qdma_cleanup() relies on ndesc value to check if the queue is properly initialized. Fix the issue moving ndesc initialization at end of airoha_qdma_init_tx routine. Move page_pool allocation after descriptor list allocation in order to avoid memory leaks if desc allocation fails.
osv:CVE-2026-53298
Kernel
Fixed versions: 6.12.91, 6.18.33, 7.0.10
Complete source record
{
"id": "7c70a946a25b7485adf69ed5a7298b49bd4068f4a71070abb29d1d8b51416740",
"url": "https://osv.dev/vulnerability/CVE-2026-53298",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue() If queue entry or DMA descriptor list allocation fails in airoha_qdma_init_rx_queue routine, airoha_qdma_cleanup() will trigger a NULL pointer dereference running netif_napi_del() for RX queue NAPIs since netif_napi_add() has never been executed to this particular RX NAPI. The issue is due to the early ndesc initialization in airoha_qdma_init_rx_queue() since airoha_qdma_cleanup() relies on ndesc value to check if the queue is properly initialized. Fix the issue moving ndesc initialization at end of airoha_qdma_init_tx routine. Move page_pool allocation after descriptor list allocation in order to avoid memory leaks if desc allocation fails.",
"evidence": "osv:CVE-2026-53298",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.91",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.33",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-53298",
"aliases": [
"CVE-2026-53298"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "23020f04932701d5c8363e60756f12b43b8ed752"
},
{
"fixed": "d36be272adda7f313e39dd118086955d993bf6a7"
},
{
"fixed": "4d4acfa348a1d8c0941004823662ede0fdb5dea5"
},
{
"fixed": "14dc48e5ba73d5c69559bf1a1a6884f7843aade7"
},
{
"fixed": "379050947a1828826ad7ea50c95245a56929b35a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53298.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.12.91"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.33"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53298.json"
}
}
],
"modified": "2026-10-28T02:30:39.016028001Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/14dc48e5ba73d5c69559bf1a1a6884f7843aade7",
"https://git.kernel.org/stable/c/379050947a1828826ad7ea50c95245a56929b35a",
"https://git.kernel.org/stable/c/4d4acfa348a1d8c0941004823662ede0fdb5dea5",
"https://git.kernel.org/stable/c/d36be272adda7f313e39dd118086955d993bf6a7",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53298.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53298",
"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/53xxx/CVE-2026-53298.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53298",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 506474,
"published_at": "2026-06-26T19:40:55.867+00:00"
}