In the Linux kernel, the following vulnerability has been resolved:
mt76: mt7921: fix crash when startup fails.
If the nic fails to start, it is possible that the reset_work has already been scheduled. Ensure the work item is canceled so we do not have use-after-free crash in case cleanup is called before the work item is executed.
This fixes crash on my x86_64 apu2 when mt7921k radio fails to work. Radio still fails, but OS does not crash.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49129.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt7921/main.c"
},
"id": "CVE-2022-49129-9614bc89",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38fbe806645090c07aa97171f20fc62c3d7d3a98",
"digest": {
"line_hashes": [
"248623318771901476489620515756289428734",
"222497658612376796259796438376787947083",
"33997066634868690567338153770477367118",
"184892445305234336240982897572087362536"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt7921/main.c",
"function": "mt7921_stop"
},
"id": "CVE-2022-49129-b49c9783",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38fbe806645090c07aa97171f20fc62c3d7d3a98",
"digest": {
"function_hash": "326727755627729568313381363745248978231",
"length": 410.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49129.json"