# CVE-2022-49793: linux: In the Linux kernel, the following vulnerability has been resolved:  iio: trigger: sysfs: fix possible memory leak in...

CVE-2022-49793 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49793, released May 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49793
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 1, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()  dev_set_name() allocates memory for name, it need be freed when device_add() fails, call put_device() to give up the reference that hold in device_initialize(), so that it can be freed in kobject_cleanup() when the refcount hit to 0.  Fault injection test can trigger this:  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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.0.10-1 | [DEBIAN-CVE-2022-49793](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49793.md) | May 1, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.0.10-1 | [DEBIAN-CVE-2022-49793](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49793.md) | May 1, 2025 |
| Linux | linux Debian 14 | 6.0.10-1 | [DEBIAN-CVE-2022-49793](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49793.md) | May 1, 2025 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
