{"id":"CVE-2023-3439","details":"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-\u003eaddrs object, potentially leading to a denial of service.","modified":"2026-10-28T10:33:01.238747219Z","published":"2023-06-28T00:00:00Z","database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3439.json","cna_assigner":"fedora"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3439.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3439"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2217915"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2023/07/02/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/torvalds/linux","events":[{"introduced":"672c0c5173427e6b3e2a9bbb7be51ceeec78093a"},{"fixed":"b561275d633bcd8e0e8055ab86f1a13df75a0269"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"Fixed in kernel 5.18-rc5"},{"last_affected":"Fixed in kernel 5.18-rc5"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"b561275d633bcd8e0e8055ab86f1a13df75a0269"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["Fixed in kernel 5.18-rc5"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269","target":{"file":"net/mctp/device.c"},"deprecated":false,"digest":{"line_hashes":["168981815878191031903153916587435271215","314400666070469714366690387433676997929","277047898933548389798896890194035779282","33190241435655553803280417495093873925","229037915747012857161483992790387446839","154872401689107678766388791766433321640","83689756520528807844564534226800045916","15422588019133131261137424246736428133"],"threshold":0.9},"id":"CVE-2023-3439-bf3dd028","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"function_hash":"243811863569125915548437023478063573517","length":379},"id":"CVE-2023-3439-cfc6ccc8","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269","target":{"file":"net/mctp/device.c","function":"mctp_unregister"}},{"source":"https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269","target":{"function":"mctp_dev_put","file":"net/mctp/device.c"},"deprecated":false,"digest":{"function_hash":"39706822095234289063947371467703032029","length":140},"id":"CVE-2023-3439-e75feec0","signature_type":"Function","signature_version":"v1"}],"vanir_signatures_modified":"2026-10-28T10:33:01Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3439.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}