wifi: brcmsmac: fix UAF in brcms_free_timer()
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmsmac: fix UAF in brcms_free_timer() brcms_free_timer() calls brcms_del_timer() which uses the non-synchronous cancel_delayed_work() to cancel the timer's underlying delayed work. If the work callback (_brcms_timer) is already running, cancel_delayed_work() returns false without waiting, and brcms_free_timer() proceeds to kfree(t) while the callback still accesses t through container_of(). Add an explicit cancel_delayed_work_sync() after brcms_del_timer() to guarantee that any in-flight callback has completed before the timer structure is freed.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.271, 5.15.222, 6.1.189, 6.12.112, 6.18.54, 6.6.158, 7.2.8
- CVEs
- CVE-2026-98196
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:04 UTC · Revision 1
Source evidence
wifi: brcmsmac: fix UAF in brcms_free_timer()
core-osv · Original sourcePublished 6 Oct 2026, 08:44 UTC
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmsmac: fix UAF in brcms_free_timer() brcms_free_timer() calls brcms_del_timer() which uses the non-synchronous cancel_delayed_work() to cancel the timer's underlying delayed work. If the work callback (_brcms_timer) is already running, cancel_delayed_work() returns false without waiting, and brcms_free_timer() proceeds to kfree(t) while the callback still accesses t through container_of(). Add an explicit cancel_delayed_work_sync() after brcms_del_timer() to guarantee that any in-flight callback has completed before the timer structure is freed.
osv:CVE-2026-98196
Kernel
Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8
Complete source record
{
"id": "7954fa77335edf8b8c7558f60b73424987a8c6517d049ac115bfecb952168e0d",
"url": "https://osv.dev/vulnerability/CVE-2026-98196",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: brcmsmac: fix UAF in brcms_free_timer()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: brcmsmac: fix UAF in brcms_free_timer() brcms_free_timer() calls brcms_del_timer() which uses the non-synchronous cancel_delayed_work() to cancel the timer's underlying delayed work. If the work callback (_brcms_timer) is already running, cancel_delayed_work() returns false without waiting, and brcms_free_timer() proceeds to kfree(t) while the callback still accesses t through container_of(). Add an explicit cancel_delayed_work_sync() after brcms_del_timer() to guarantee that any in-flight callback has completed before the timer structure is freed.",
"evidence": "osv:CVE-2026-98196",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.271",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.222",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.54",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98196",
"aliases": [
"CVE-2026-98196"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5b435de0d786869c95d1962121af0d7df2542009"
},
{
"fixed": "10eeb0b29fd7f52487c9ae573e8d79c210a0095d"
},
{
"fixed": "74acccc928851f69184271832d690607877122af"
},
{
"fixed": "050d2486e8ed2c0a23b87249ccd23e8072721391"
},
{
"fixed": "856dabd5f2617efb23c043be9e1b22a9e6e97c41"
},
{
"fixed": "2a4841ff0b74b495cddd31ae324e922217fc2f13"
},
{
"fixed": "1edb3ddd261e973a4d577c0547e63bfa25a8170d"
},
{
"fixed": "777cb6bba59e875b16a1d8897a483a5fecfcd5d2"
},
{
"fixed": "1eeca1d5e0920fbdad6449768fd2d4364e714180"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98196.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "5.10.271"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.54"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98196.json"
}
}
],
"modified": "2026-10-28T02:30:24.140508381Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/050d2486e8ed2c0a23b87249ccd23e8072721391",
"https://git.kernel.org/stable/c/10eeb0b29fd7f52487c9ae573e8d79c210a0095d",
"https://git.kernel.org/stable/c/1edb3ddd261e973a4d577c0547e63bfa25a8170d",
"https://git.kernel.org/stable/c/1eeca1d5e0920fbdad6449768fd2d4364e714180",
"https://git.kernel.org/stable/c/2a4841ff0b74b495cddd31ae324e922217fc2f13",
"https://git.kernel.org/stable/c/74acccc928851f69184271832d690607877122af",
"https://git.kernel.org/stable/c/777cb6bba59e875b16a1d8897a483a5fecfcd5d2",
"https://git.kernel.org/stable/c/856dabd5f2617efb23c043be9e1b22a9e6e97c41",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98196.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98196",
"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/98xxx/CVE-2026-98196.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98196",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 490707,
"published_at": "2026-10-06T08:44:35.616+00:00"
}