In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: do not run mt76unregisterdevice() on unregistered hw
Trying to probe a mt7921e pci card without firmware results in a successful probe where ieee80211registerhw hasn't been called. When removing the driver, ieee802111unregisterhw is called unconditionally leading to a kernel NULL pointer dereference. Fix the issue running mt76unregisterdevice routine just for registered hw.
[
{
"id": "CVE-2023-53071-0e0d5f43",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Function",
"digest": {
"function_hash": "112635759173275841420203392389446440667",
"length": 1061.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_device"
}
},
{
"id": "CVE-2023-53071-10da6a57",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"45730102738373490527483254295103847180",
"123359333468327755457141788588396269529",
"3299222035739778008432151461760835663",
"8985304493063257592768094393802956536"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt76.h"
}
},
{
"id": "CVE-2023-53071-12bbd829",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Function",
"digest": {
"function_hash": "255670910652228297228666058097027592002",
"length": 179.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_device"
}
},
{
"id": "CVE-2023-53071-13ba75d4",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Function",
"digest": {
"function_hash": "43710982862399754849696682008551030007",
"length": 925.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_phy"
}
},
{
"id": "CVE-2023-53071-1dec6776",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Function",
"digest": {
"function_hash": "68756821428841828990417678135735258728",
"length": 170.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_device"
}
},
{
"id": "CVE-2023-53071-34f93ebe",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Function",
"digest": {
"function_hash": "38221893043050736546269491769496321483",
"length": 161.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_phy"
}
},
{
"id": "CVE-2023-53071-3ab0408c",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Function",
"digest": {
"function_hash": "38221893043050736546269491769496321483",
"length": 161.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_phy"
}
},
{
"id": "CVE-2023-53071-410318b6",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165983318963768194837064195186084584607",
"197700256608367166921294975431640760273",
"131284220871758066730026752967094383540",
"169103626703265419335123891202232362912",
"6359009609871708582528033437744625958",
"180437943099341249246210930239599216531",
"194530936361148297465001171629824182541",
"312694178266443128079830741533304877913",
"111455405771733566607649452442321079927",
"53177879560826142925701776708175643817",
"66777579151750594566631026793943872152",
"290203229395956167364820154475595131642",
"241264775752011476616651491810553091852"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c"
}
},
{
"id": "CVE-2023-53071-41f2d286",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Function",
"digest": {
"function_hash": "54892614124838998091795899299165310511",
"length": 1063.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_device"
}
},
{
"id": "CVE-2023-53071-47ec51f5",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Function",
"digest": {
"function_hash": "328156755156666609122895597322321646424",
"length": 833.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_phy"
}
},
{
"id": "CVE-2023-53071-77263aa0",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165983318963768194837064195186084584607",
"197700256608367166921294975431640760273",
"131284220871758066730026752967094383540",
"88023866192293550567231152316473446634",
"248995938988293476158967897031056484956",
"280005356608159540127429499749681964970",
"194530936361148297465001171629824182541",
"312694178266443128079830741533304877913",
"111455405771733566607649452442321079927",
"53177879560826142925701776708175643817",
"66777579151750594566631026793943872152",
"337827347481062779793313558208722510027",
"267951593634102195524559227898208371862"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c"
}
},
{
"id": "CVE-2023-53071-79d2bdc0",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Function",
"digest": {
"function_hash": "54892614124838998091795899299165310511",
"length": 1063.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_device"
}
},
{
"id": "CVE-2023-53071-829bf133",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165983318963768194837064195186084584607",
"197700256608367166921294975431640760273",
"131284220871758066730026752967094383540",
"169103626703265419335123891202232362912",
"6359009609871708582528033437744625958",
"180437943099341249246210930239599216531",
"194530936361148297465001171629824182541",
"312694178266443128079830741533304877913",
"111455405771733566607649452442321079927",
"53177879560826142925701776708175643817",
"66777579151750594566631026793943872152",
"290203229395956167364820154475595131642",
"241264775752011476616651491810553091852"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c"
}
},
{
"id": "CVE-2023-53071-92a47c52",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d34f27714c97a9786a30b3bb54944d6d8ed612f",
"signature_type": "Function",
"digest": {
"function_hash": "68756821428841828990417678135735258728",
"length": 170.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_device"
}
},
{
"id": "CVE-2023-53071-af4fbe98",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Function",
"digest": {
"function_hash": "336670949563984023516730845763514346729",
"length": 219.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_unregister_phy"
}
},
{
"id": "CVE-2023-53071-cb13de0f",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Function",
"digest": {
"function_hash": "328156755156666609122895597322321646424",
"length": 833.0
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mac80211.c",
"function": "mt76_register_phy"
}
},
{
"id": "CVE-2023-53071-d27054a9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dffe86df26aee01a5fc56a175b7a7f157961e370",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"45730102738373490527483254295103847180",
"123359333468327755457141788588396269529",
"3299222035739778008432151461760835663",
"8985304493063257592768094393802956536"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt76.h"
}
},
{
"id": "CVE-2023-53071-fec80679",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@41130c32f3a18fcc930316da17f3a5f3bc326aa1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"45730102738373490527483254295103847180",
"123359333468327755457141788588396269529",
"3299222035739778008432151461760835663",
"8985304493063257592768094393802956536"
]
},
"deprecated": false,
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt76.h"
}
}
]