{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2022-50854 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-50854 is a memory corruption vulnerability in Linux, published on 30 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-50854 and fix it if it is affected.\n\nWhat it is: CVE-2022-50854 is a memory corruption vulnerability in Linux, published on 30 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-50854 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-50854/ (Markdown: https://insights.sbomify.com/CVE-2022-50854/index.md)","id":"CVE-2022-50854","markdown":"https://insights.sbomify.com/CVE-2022-50854/index.md","name":"CVE-2022-50854","record":{"aliases":["DEBIAN-CVE-2022-50854","GHSA-7h7x-whhw-m2r2","UBUNTU-CVE-2022-50854"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel NFC","requires_auth":"low_privilege","summary":"A memory leak in the Linux kernel's virtual NFC driver allows local attackers to exhaust system memory, causing 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\nnfc: virtual_ncidev: Fix memory leak in virtual_nci_send()\n\nskb should be free in virtual_nci_send(), otherwise kmemleak will report\nmemleak.\n\nSteps for reproduction (simulated in qemu):\n\tcd tools/testing/selftests/nci\n\tmake\n\t./nci_dev\n\nBUG: memory leak\nunreferenced object 0xffff888107588000 (size 208):\n  comm \"nci_dev\", pid 206, jiffies 4294945376 (age 368.248s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [\u003c000000008d94c8fd\u003e] __alloc_skb+0x1da/0x290\n    [\u003c00000000278bc7f8\u003e] nci_send_cmd+0xa3/0x350\n    [\u003c0000000081256a22\u003e] nci_reset_req+0x6b/0xa0\n    [\u003c000000009e721112\u003e] __nci_request+0x90/0x250\n    [\u003c000000005d556e59\u003e] nci_dev_up+0x217/0x5b0\n    [\u003c00000000e618ce62\u003e] nfc_dev_up+0x114/0x220\n    [\u003c00000000981e226b\u003e] nfc_genl_dev_up+0x94/0xe0\n    [\u003c000000009bb03517\u003e] genl_family_rcv_msg_doit.isra.14+0x228/0x2d0\n    [\u003c00000000b7f8c101\u003e] genl_rcv_msg+0x35c/0x640\n    [\u003c00000000c94075ff\u003e] netlink_rcv_skb+0x11e/0x350\n    [\u003c00000000440cfb1e\u003e] genl_rcv+0x24/0x40\n    [\u003c0000000062593b40\u003e] netlink_unicast+0x43f/0x640\n    [\u003c000000001d0b13cc\u003e] netlink_sendmsg+0x73a/0xbf0\n    [\u003c000000003272487f\u003e] __sys_sendto+0x324/0x370\n    [\u003c00000000ef9f1747\u003e] __x64_sys_sendto+0xdd/0x1b0\n    [\u003c000000001e437841\u003e] do_syscall_64+0x3f/0x90","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":"nfc: virtual_ncidev: Fix memory leak in virtual_nci_send()","id":"CVE-2022-50854","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"bpf: prevent leak of lsm program after failed attach","id":"CVE-2022-50855"},"packages":[],"prev":{"headline":"NFSv4: Fix a credential leak in _nfs4_discover_trunking()","id":"CVE-2022-50853"},"products":["Linux"],"published":"2025-12-30","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 virtual NFC driver allows local attackers to exhaust system memory, causing denial of service.","url":"https://insights.sbomify.com/CVE-2022-50854/"}