nday
CVE-2022-50500

netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed

Linux / Linux

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typeresource exhaustion accesslocalno user interaction productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-401, stated by NVD's analysts
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
Linux kernel
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
étape actuelle
DIS
divulgation
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2025-10-04T15:43Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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:
  [<0000000011a31c98>] kmalloc_trace+0x22/0x60
  [<0000000027384c69>] devl_resource_register+0x144/0x4e0
  [<00000000a16db248>] nsim_drv_probe+0x37a/0x1260
  [<000000007d1f448c>] really_probe+0x20b/0xb10
  [<00000000c416848a>] __driver_probe_device+0x1b3/0x4a0
  [<00000000077e0351>] driver_probe_device+0x49/0x140
  [<0000000054f2465a>] __device_attach_driver+0x18c/0x2a0
  [<000000008538f359>] bus_for_each_drv+0x151/0x1d0
  [<0000000038e09747>] __device_attach+0x1c9/0x4e0
  [<00000000dd86e533>] bus_probe_device+0x1d5/0x280
  [<00000000839bea35>] device_add+0xae0/0x1cb0
  [<000000009c2abf46>] new_device_store+0x3b6/0x5f0
  [<00000000fb823d7f>] bus_attr_store+0x72/0xa0
  [<000000007acc4295>] sysfs_kf_write+0x106/0x160
  [<000000005f50cb4d>] kernfs_fop_write_iter+0x3a8/0x5a0
  [<0000000075eb41bf>] vfs_write+0x8f0/0xc80

Original text of the CVE record (cvelist), shown as published.

Journal des événements

+DISdivulgation

Fiche CVE publiée par Linux.

source cvelist · importé en masse par nday le · brut
{
  "id": 2227,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-50500",
  "occurred_at": "2025-10-04T15:43:50.792Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "ssvc": {
      "timestamp": "2026-11-05T20:12:28.981926Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2025-10-04T15:43:50.792Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.