Menu

Star on GitHub · 3.2k

CVE-2022-49793

5.5 · MEDIUM

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 fre…

Published May 1, 2025CWE-401EPSS 0.23%

Overview

CVE-2022-49793 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49793?

CVE-2022-49793 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49793?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49793?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49793?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49793 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all