A flaw was found in the MCTP protocol in the Linux kernel. The function mctp_unregister() reclaims the device's relevant resource when a netcard detaches. However, a running routine may be unaware of this and cause the use-after-free of the mdev->addrs object, potentially leading to a denial of service.
[
{
"target": {
"file": "net/mctp/device.c"
},
"source": "https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269",
"id": "CVE-2023-3439-bf3dd028",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168981815878191031903153916587435271215",
"314400666070469714366690387433676997929",
"277047898933548389798896890194035779282",
"33190241435655553803280417495093873925",
"229037915747012857161483992790387446839",
"154872401689107678766388791766433321640",
"83689756520528807844564534226800045916",
"15422588019133131261137424246736428133"
]
},
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "mctp_unregister",
"file": "net/mctp/device.c"
},
"source": "https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269",
"id": "CVE-2023-3439-cfc6ccc8",
"signature_version": "v1",
"digest": {
"function_hash": "243811863569125915548437023478063573517",
"length": 379.0
},
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"function": "mctp_dev_put",
"file": "net/mctp/device.c"
},
"source": "https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269",
"id": "CVE-2023-3439-e75feec0",
"signature_version": "v1",
"digest": {
"function_hash": "39706822095234289063947371467703032029",
"length": 140.0
},
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3439.json"