{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2022-50702 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-50702 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-50702 and fix it if it is affected.\n\nWhat it is: CVE-2022-50702 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-50702 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-50702/ (Markdown: https://insights.sbomify.com/CVE-2022-50702/index.md)","id":"CVE-2022-50702","markdown":"https://insights.sbomify.com/CVE-2022-50702/index.md","name":"CVE-2022-50702","record":{"aliases":["DEBIAN-CVE-2022-50702","GHSA-p22c-78xj-4fp8","UBUNTU-CVE-2022-50702"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"high_privilege","summary":"A memory leak in the Linux kernel's vdpa_sim module allows local attackers to cause resource exhaustion and denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()\n\nInject fault while probing module, if device_register() fails in\nvdpasim_net_init() or vdpasim_blk_init(), but the refcount of kobject is\nnot decreased to 0, the name allocated in dev_set_name() is leaked.\nFix this by calling put_device(), so that name can be freed in\ncallback function kobject_cleanup().\n\n(vdpa_sim_net)\nunreferenced object 0xffff88807eebc370 (size 16):\n  comm \"modprobe\", pid 3848, jiffies 4362982860 (age 18.153s)\n  hex dump (first 16 bytes):\n    76 64 70 61 73 69 6d 5f 6e 65 74 00 6b 6b 6b a5  vdpasim_net.kkk.\n  backtrace:\n    [\u003cffffffff8174f19e\u003e] __kmalloc_node_track_caller+0x4e/0x150\n    [\u003cffffffff81731d53\u003e] kstrdup+0x33/0x60\n    [\u003cffffffff83a5d421\u003e] kobject_set_name_vargs+0x41/0x110\n    [\u003cffffffff82d87aab\u003e] dev_set_name+0xab/0xe0\n    [\u003cffffffff82d91a23\u003e] device_add+0xe3/0x1a80\n    [\u003cffffffffa0270013\u003e] 0xffffffffa0270013\n    [\u003cffffffff81001c27\u003e] do_one_initcall+0x87/0x2e0\n    [\u003cffffffff813739cb\u003e] do_init_module+0x1ab/0x640\n    [\u003cffffffff81379d20\u003e] load_module+0x5d00/0x77f0\n    [\u003cffffffff8137bc40\u003e] __do_sys_finit_module+0x110/0x1b0\n    [\u003cffffffff83c4d505\u003e] do_syscall_64+0x35/0x80\n    [\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0\n\n(vdpa_sim_blk)\nunreferenced object 0xffff8881070c1250 (size 16):\n  comm \"modprobe\", pid 6844, jiffies 4364069319 (age 17.572s)\n  hex dump (first 16 bytes):\n    76 64 70 61 73 69 6d 5f 62 6c 6b 00 6b 6b 6b a5  vdpasim_blk.kkk.\n  backtrace:\n    [\u003cffffffff8174f19e\u003e] __kmalloc_node_track_caller+0x4e/0x150\n    [\u003cffffffff81731d53\u003e] kstrdup+0x33/0x60\n    [\u003cffffffff83a5d421\u003e] kobject_set_name_vargs+0x41/0x110\n    [\u003cffffffff82d87aab\u003e] dev_set_name+0xab/0xe0\n    [\u003cffffffff82d91a23\u003e] device_add+0xe3/0x1a80\n    [\u003cffffffffa0220013\u003e] 0xffffffffa0220013\n    [\u003cffffffff81001c27\u003e] do_one_initcall+0x87/0x2e0\n    [\u003cffffffff813739cb\u003e] do_init_module+0x1ab/0x640\n    [\u003cffffffff81379d20\u003e] load_module+0x5d00/0x77f0\n    [\u003cffffffff8137bc40\u003e] __do_sys_finit_module+0x110/0x1b0\n    [\u003cffffffff83c4d505\u003e] do_syscall_64+0x35/0x80\n    [\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()","id":"CVE-2022-50702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()","id":"CVE-2022-50703"},"packages":[],"prev":{"headline":"wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host","id":"CVE-2022-50701"},"products":["Linux"],"published":"2025-12-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Linux"]},"summary":"A memory leak in the Linux kernel's vdpa_sim module allows local attackers to cause resource exhaustion and denial of service.","url":"https://insights.sbomify.com/CVE-2022-50702/"}