net: mana: Skip redundant detach on already-detached port
In the Linux kernel, the following vulnerability has been resolved: net: mana: Skip redundant detach on already-detached port When mana_per_port_queue_reset_work_handler() runs after a previous detach succeeded but attach failed, the port is left in a detached state with apc->tx_qp and apc->rxqs already freed. Calling mana_detach() again unconditionally leads to NULL pointer dereferences during queue teardown. Add an early exit in mana_detach() when the port is already in detached state (!netif_device_present) for non-close callers, making it safe to call idempotently. This allows the queue reset handler and other recovery paths to simply retry mana_attach() without redundant teardown.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.35, 7.0.12
- CVEs
- CVE-2026-63972
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:03 UTC · Revision 1
Source evidence
net: mana: Skip redundant detach on already-detached port
core-osv · Original sourcePublished 19 Jul 2026, 14:55 UTC
In the Linux kernel, the following vulnerability has been resolved: net: mana: Skip redundant detach on already-detached port When mana_per_port_queue_reset_work_handler() runs after a previous detach succeeded but attach failed, the port is left in a detached state with apc->tx_qp and apc->rxqs already freed. Calling mana_detach() again unconditionally leads to NULL pointer dereferences during queue teardown. Add an early exit in mana_detach() when the port is already in detached state (!netif_device_present) for non-close callers, making it safe to call idempotently. This allows the queue reset handler and other recovery paths to simply retry mana_attach() without redundant teardown.
osv:CVE-2026-63972
Kernel
Fixed versions: 6.18.35, 7.0.12
Complete source record
{
"id": "95ff7b4299023e95d9572573a3ba8e9a08b76ac849e9c3e3bfa5ef22cf40a25b",
"url": "https://osv.dev/vulnerability/CVE-2026-63972",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: mana: Skip redundant detach on already-detached port",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: mana: Skip redundant detach on already-detached port When mana_per_port_queue_reset_work_handler() runs after a previous detach succeeded but attach failed, the port is left in a detached state with apc->tx_qp and apc->rxqs already freed. Calling mana_detach() again unconditionally leads to NULL pointer dereferences during queue teardown. Add an early exit in mana_detach() when the port is already in detached state (!netif_device_present) for non-close callers, making it safe to call idempotently. This allows the queue reset handler and other recovery paths to simply retry mana_attach() without redundant teardown.",
"evidence": "osv:CVE-2026-63972",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.35",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.12",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-63972",
"aliases": [
"CVE-2026-63972"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "fb9f98e1041a30dd5766620a2a64cb472b54caa9"
},
{
"fixed": "c4152b4e28b3e550ec99351bf900e2c24c2608cc"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3b194343c25084a8d2fa0c0f2c9e80f3080fd732"
},
{
"fixed": "7ae590797f9b5c240aaea5773f5f00977a42a846"
},
{
"fixed": "5b05aa36ee24297d7296ca58dfd8c448d0e4cda3"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.18.33"
},
{
"fixed": "6.18.35"
}
]
}
],
"versions": [
"v6.18.34",
"v6.18.33"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63972.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.18.35"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.12"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63972.json"
}
}
],
"modified": "2026-10-28T02:30:22.625089005Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5b05aa36ee24297d7296ca58dfd8c448d0e4cda3",
"https://git.kernel.org/stable/c/7ae590797f9b5c240aaea5773f5f00977a42a846",
"https://git.kernel.org/stable/c/c4152b4e28b3e550ec99351bf900e2c24c2608cc",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63972.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-63972",
"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/63xxx/CVE-2026-63972.json"
}
},
"related_cves": [
{
"value": "CVE-2026-63972",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488933,
"published_at": "2026-07-19T14:55:58.503+00:00"
}