CVE-2022-50561: iio: fix memory leak in iio_device_register_eventset()
Vulnerability summary
CVE-2022-50561 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.7% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 22-10-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: iio: fix memory leak in iio_device_register_eventset() When iio_device_register_sysfs_group() returns failed, iio_device_register_eventset() needs to free attrs array. Otherwise, kmemleak would scan & report memory leak as below: unreferenced object 0xffff88810a1cc3c0 (size 32): comm "100-i2c-vcnl302", pid 728, jiffies 4295052307 (age 156.027s) backtrace: __kmalloc+0x46/0x1b0 iio_device_register_eventset at drivers/iio/industrialio-event.c:541 __iio_device_register at drivers/iio/industrialio-core.c:1959 __devm_iio_device_register at drivers/iio/industrialio-core.c:2040
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu102 products
- linux< 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1033.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.4-1
Linux1 product
- linux≥ 32f171724e5cbecc80594fb6eced057cfdd6eb6f, < dc6afd6070f3a5b086c8c5cfa6ded63ae44494da | ≥ 32f171724e5cbecc80594fb6eced057cfdd6eb6f, < 5de3add7509c95685f1185683b817dd206c4b1f1 | ≥ 32f171724e5cbecc80594fb6eced057cfdd6eb6f, < a154b1c139fbf6a49762159be81d425d41ceec87 | ≥ 32f171724e5cbecc80594fb6eced057cfdd6eb6f, < 86fdd15e10e404e70ecb2a3bff24d70356d42b36 | 5.13
3 vendors · 104 products