nday
CVE-2022-50566

mtd: Fix device name leak when register device failed in add_mtd_device()

Linux / Linux

に公開されました。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

tags 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.

Linux kernel
affected products in the CVE record: Linux · Linux
operating system
affected products in the CVE record: Linux · Linuxthe product type of Linux kernel in nday's product registry
現在の段階
DIS
公開日時
CVSS 基本値
スコアなし

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2025-10-22T13:23Z
PAT修正
記録なし
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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

mtd: Fix device name leak when register device failed in add_mtd_device()

There is a kmemleak when register device failed:

unreferenced object 0xffff888101aab550 (size 8):
  comm "insmod", pid 3922, jiffies 4295277753 (age 925.408s)
  hex dump (first 8 bytes):
    6d 74 64 30 00 88 ff ff                          mtd0....
  backtrace:
    [<00000000bde26724>] __kmalloc_node_track_caller+0x4e/0x150
    [<000000003c32b416>] kvasprintf+0xb0/0x130
    [<000000001f7a8f15>] kobject_set_name_vargs+0x2f/0xb0
    [<000000006e781163>] dev_set_name+0xab/0xe0
    [<00000000e30d0c78>] add_mtd_device+0x4bb/0x700
    [<00000000f3d34de7>] mtd_device_parse_register+0x2ac/0x3f0
    [<00000000c0d88488>] 0xffffffffa0238457
    [<00000000b40d0922>] 0xffffffffa02a008f
    [<0000000023d17b9d>] do_one_initcall+0x87/0x2a0
    [<00000000770f6ca6>] do_init_module+0xdf/0x320
    [<000000007b6768fe>] load_module+0x2f98/0x3330
    [<00000000346bed5a>] __do_sys_finit_module+0x113/0x1b0
    [<00000000674c2290>] do_syscall_64+0x35/0x80
    [<000000004c6a8d97>] entry_SYSCALL_64_after_hwframe+0x46/0xb0

If register device failed, should call put_device() to give up the reference.

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

イベント履歴

+DIS公開

Linux が CVE レコードを公開。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 279784,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-50566",
  "occurred_at": "2025-10-22T13:23:23.917Z",
  "observed_at": "2026-11-13T05:37:51.196939Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2025-10-22T13:23:23.917Z",
    "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.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.