{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-49085","published":"2025-02-26T07:00:45.833000Z","last_modified":"2026-06-17T05:17:02.263000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.5","version_end_excluding":"4.9.311"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.276"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.238"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.189"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.111"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.34"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.16.20"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.17","version_end_excluding":"5.17.3"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.18"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00306,"percentile":0.15826,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-49085/","html_en":"/en/cve/CVE-2022-49085/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-49085","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-49085"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrbd: Fix five use after free bugs in get_initial_state\n\nIn get_initial_state, it calls notify_initial_state_done(skb,..) if\ncb->args[5]==1. If genlmsg_put() failed in notify_initial_state_done(),\nthe skb will be freed by nlmsg_free(skb).\nThen get_initial_state will goto out and the freed skb will be used by\nreturn value skb->len, which is a uaf bug.\n\nWhat's worse, the same problem goes even further: skb can also be\nfreed in the notify_*_state_change -> notify_*_state calls below.\nThus 4 additional uaf bugs happened.\n\nMy patch lets the problem callee functions: notify_initial_state_done\nand notify_*_state_change return an error code if errors happen.\nSo that the error codes could be propagated and the uaf bugs can be avoid.\n\nv2 reports a compilation warning. This v3 fixed this warning and built\nsuccessfully in my local environment with no additional warnings.\nv2: https://lore.kernel.org/patchwork/patch/1435218/","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0489700bfeb1e53eb2039c2291c67e71b0b40103","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/188fe6b26765edbad4055611c0f788b6870f4024","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/226e993c39405292781bfcf4b039a8db56aab362","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/594205b4936771a250f9d141e7e0fff21c3dd2d9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a972c768723359ec995579902473028fe3cd64b1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/aadb22ba2f656581b2f733deb3a467c48cc618f6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b6a4055036eed1f5e239ce3d8b0db1ce38bba447","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dcf6be17b5c53b741898d2223b23e66d682de300","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/de63e74da2333b4068bb79983e632db730fea97e","tags":["Patch"]}]}}