Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-50500

medium

In the Linux kernel, the following vulnerability has been resolved: netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed If some items in nsim_dev_resources_register() fail, memory leak will occur. The following is the memory leak information. unreferenced object 0xffff888074c02600 (size 128): comm "echo", pid 8159, jiffies 4294945184 (age 493.530s) hex dump (first 32 bytes): 40 47 ea 89 ff ff ff ff 01 00 00 00 00 00 00 00 @G.............. ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ backtrace: [] kmalloc_trace+0x22/0x60 [] devl_resource_register+0x144/0x4e0 [] nsim_drv_probe+0x37a/0x1260 [] really_probe+0x20b/0xb10 [] __driver_probe_device+0x1b3/0x4a0 [] driver_probe_device+0x49/0x140 [] __device_attach_driver+0x18c/0x2a0 [] bus_for_each_drv+0x151/0x1d0 [] __device_attach+0x1c9/0x4e0 [] bus_probe_device+0x1d5/0x280 [] device_add+0xae0/0x1cb0 [] new_device_store+0x3b6/0x5f0 [] bus_attr_store+0x72/0xa0 [] sysfs_kf_write+0x106/0x160 [] kernfs_fop_write_iter+0x3a8/0x5a0 [] vfs_write+0x8f0/0xc80

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-10-04 16:15
Modified: 2026-11-05 21:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 21:23 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥4.17 <6.0.7, 6.1

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/6b1da9f7126f05e857da6db24c6a04aa7974d644
Patch / mitigation: https://git.kernel.org/stable/c/7c4957fe40e2a628b7cceaf4c9bfb5b701774d05

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 21:23 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs