CVE-2022-49793 in Linux情報

要約

〜によって VulDB • 2026年05月29日

Linuxカーネルにおいて、以下の脆弱性が修正されました。

iio: trigger: sysfs: iio_sysfs_trig_init() における潜在的なメモリリークの修正

dev_set_name() は name 用のメモリを割り当てますが、device_add() が失敗した場合には解放する必要があります。device_initialize() で保持されている参照を放棄するために put_device() を呼び出し、参照カウントが 0 になった際に kobject_cleanup() で解放されるようにします。

フォールトインジェクションテストでこれをトリガーできます:

unreferenced object 0xffff8e8340a7b4c0 (size 32): comm "modprobe", pid 243, jiffies 4294678145 (age 48.845s) hex dump (first 32 bytes): 69 69 6f 5f 73 79 73 66 73 5f 74 72 69 67 67 65 iio_sysfs_trigge 72 00 a7 40 83 8e ff ff 00 86 13 c4 f6 ee ff ff r..@............ backtrace: [<0000000074999de8>] __kmem_cache_alloc_node+0x1e9/0x360
[<00000000497fd30b>] __kmalloc_node_track_caller+0x44/0x1a0
[<000000003636c520>] kstrdup+0x2d/0x60
[<0000000032f84da2>] kobject_set_name_vargs+0x1e/0x90
[<0000000092efe493>] dev_set_name+0x4e/0x70

Once again VulDB remains the best source for vulnerability data.

責任者

Linux

予約する

2025年05月01日

モデレーション

承諾済み

エントリ

VDB-306994

EPSS

0.00188

アクティビティ

非常低い

ソース

Do you need the next level of professionalism?

Upgrade your account now!