cbcvebase.
CVE-2022-50561
published 2025-10-22

CVE-2022-50561: In the Linux kernel, the following vulnerability has been resolved: iio: fix memory leak in iio_device_register_eventset() When…

PriorityP418low5.5
EPSS
0.20%
10.0th percentile
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

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.4-1 (bookworm)linux 6.1.4-1 (bookworm)
linuxlinux
linuxlinux>= 32f171724e5cbecc80594fb6eced057cfdd6eb6f < dc6afd6070f3a5b086c8c5cfa6ded63ae44494dadc6afd6070f3a5b086c8c5cfa6ded63ae44494da
linuxlinux>= 32f171724e5cbecc80594fb6eced057cfdd6eb6f < 5de3add7509c95685f1185683b817dd206c4b1f15de3add7509c95685f1185683b817dd206c4b1f1
linuxlinux>= 32f171724e5cbecc80594fb6eced057cfdd6eb6f < a154b1c139fbf6a49762159be81d425d41ceec87a154b1c139fbf6a49762159be81d425d41ceec87
linuxlinux>= 32f171724e5cbecc80594fb6eced057cfdd6eb6f < 86fdd15e10e404e70ecb2a3bff24d70356d42b3686fdd15e10e404e70ecb2a3bff24d70356d42b36
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 5.13.0 < 5.15.865.15.86
linuxlinux_kernel>= 5.16.0 < 6.0.166.0.16
linuxlinux_kernel>= 6.1.0 < 6.1.26.1.2
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.