Menu

Star on GitHub · 3.2k

CVE-2022-50772

In the Linux kernel, the following vulnerability has been resolved: netdevsim: fix memory leak in nsim_bus_dev_new() If device_register() failed in nsim_bus_dev_new(), the value of reference in n…

Published Dec 24, 2025EPSS 0.23%

Overview

CVE-2022-50772 is a known-severity vulnerability. It was published on December 24, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

netdevsim: fix memory leak in nsim_bus_dev_new()

If device_register() failed in nsim_bus_dev_new(), the value of reference

in nsim_bus_dev->dev is 1. obj->name in nsim_bus_dev->dev will not be

released.

unreferenced object 0xffff88810352c480 (size 16):

comm "echo", pid 5691, jiffies 4294945921 (age 133.270s)

hex dump (first 16 bytes):

6e 65 74 64 65 76 73 69 6d 31 00 00 00 00 00 00 netdevsim1......

backtrace:

[<000000005e2e5e26>] __kmalloc_node_track_caller+0x3a/0xb0

[<0000000094ca4fc8>] kvasprintf+0xc3/0x160

[<00000000aad09bcc>] kvasprintf_const+0x55/0x180

[<000000009bac868d>] kobject_set_name_vargs+0x56/0x150

[<000000007c1a5d70>] dev_set_name+0xbb/0xf0

[<00000000ad0d126b>] device_add+0x1f8/0x1cb0

[<00000000c222ae24>] new_device_store+0x3b6/0x5e0

[<0000000043593421>] bus_attr_store+0x72/0xa0

[<00000000cbb1833a>] sysfs_kf_write+0x106/0x160

[<00000000d0dedb8a>] kernf

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-50772?

CVE-2022-50772 is a known-severity vulnerability. It was published on December 24, 2025.

How severe is CVE-2022-50772?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2022-50772?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50772?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-50772 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.