{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2022-50772 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-50772 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-50772 and fix it if it is affected.\n\nWhat it is: CVE-2022-50772 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-50772 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-50772/ (Markdown: https://insights.sbomify.com/CVE-2022-50772/index.md)","id":"CVE-2022-50772","markdown":"https://insights.sbomify.com/CVE-2022-50772/index.md","name":"CVE-2022-50772","record":{"aliases":["DEBIAN-CVE-2022-50772","GHSA-mx2m-7wfj-355r","ROOT-OS-DEBIAN-11-CVE-2022-50772","ROOT-OS-UBUNTU-2204-CVE-2022-50772","UBUNTU-CVE-2022-50772"],"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":"low_privilege","summary":"A memory leak in the Linux kernel netdevsim driver allows local attackers to cause denial of service by exhausting kernel memory.","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\nnetdevsim: fix memory leak in nsim_bus_dev_new()\n\nIf device_register() failed in nsim_bus_dev_new(), the value of reference\nin nsim_bus_dev-\u003edev is 1. obj-\u003ename in nsim_bus_dev-\u003edev will not be\nreleased.\n\nunreferenced object 0xffff88810352c480 (size 16):\n  comm \"echo\", pid 5691, jiffies 4294945921 (age 133.270s)\n  hex dump (first 16 bytes):\n    6e 65 74 64 65 76 73 69 6d 31 00 00 00 00 00 00  netdevsim1......\n  backtrace:\n    [\u003c000000005e2e5e26\u003e] __kmalloc_node_track_caller+0x3a/0xb0\n    [\u003c0000000094ca4fc8\u003e] kvasprintf+0xc3/0x160\n    [\u003c00000000aad09bcc\u003e] kvasprintf_const+0x55/0x180\n    [\u003c000000009bac868d\u003e] kobject_set_name_vargs+0x56/0x150\n    [\u003c000000007c1a5d70\u003e] dev_set_name+0xbb/0xf0\n    [\u003c00000000ad0d126b\u003e] device_add+0x1f8/0x1cb0\n    [\u003c00000000c222ae24\u003e] new_device_store+0x3b6/0x5e0\n    [\u003c0000000043593421\u003e] bus_attr_store+0x72/0xa0\n    [\u003c00000000cbb1833a\u003e] sysfs_kf_write+0x106/0x160\n    [\u003c00000000d0dedb8a\u003e] kernfs_fop_write_iter+0x3a8/0x5a0\n    [\u003c00000000770b66e2\u003e] vfs_write+0x8f0/0xc80\n    [\u003c0000000078bb39be\u003e] ksys_write+0x106/0x210\n    [\u003c00000000005e55a4\u003e] do_syscall_64+0x35/0x80\n    [\u003c00000000eaa40bbc\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":"netdevsim: fix memory leak in nsim_bus_dev_new()","id":"CVE-2022-50772","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt","id":"CVE-2022-50773"},"packages":[],"prev":{"headline":"rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()","id":"CVE-2022-50771"},"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 netdevsim driver allows local attackers to cause denial of service by exhausting kernel memory.","url":"https://insights.sbomify.com/CVE-2022-50772/"}