Linux Kernel up to 5.15.85/6.0.15/6.1.1 iio industrialio-event.c iio_device_register_eventset memory leak

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 5.15.85/6.0.15/6.1.1. It has been declared as critical. The impacted element is the function iio_device_register_eventset of the file drivers/iio/industrialio-event.c of the component iio. Executing a manipulation can lead to memory leak. The identification of this vulnerability is CVE-2022-50561. There is no exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 5.15.85/6.0.15/6.1.1 and classified as critical. This vulnerability affects the function iio_device_register_eventset of the file drivers/iio/industrialio-event.c of the component iio. The manipulation with an unknown input leads to a memory leak vulnerability. The CWE definition for the vulnerability is CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. As an impact it is known to affect availability. CVE summarizes:

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

The advisory is available at git.kernel.org. This vulnerability was named CVE-2022-50561 since 10/22/2025. The exploitation appears to be difficult. Technical details are known, but there is no available exploit.

Upgrading to version 5.15.86, 6.0.16 or 6.1.2 eliminates this vulnerability. Applying the patch dc6afd6070f3a5b086c8c5cfa6ded63ae44494da/5de3add7509c95685f1185683b817dd206c4b1f1/a154b1c139fbf6a49762159be81d425d41ceec87/86fdd15e10e404e70ecb2a3bff24d70356d42b36 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-2394). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Red Hat Enterprise Linux
  • SUSE Linux
  • Oracle Linux
  • Open Source Linux Kernel
  • Dell NetWorker

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.8
VulDB Meta Temp Score: 4.6

VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory leak
CWE: CWE-401 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.15.86/6.0.16/6.1.2
Patch: dc6afd6070f3a5b086c8c5cfa6ded63ae44494da/5de3add7509c95685f1185683b817dd206c4b1f1/a154b1c139fbf6a49762159be81d425d41ceec87/86fdd15e10e404e70ecb2a3bff24d70356d42b36

Timelineinfo

10/22/2025 Advisory disclosed
10/22/2025 +0 days CVE reserved
10/22/2025 +0 days VulDB entry created
02/28/2026 +129 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50561 (🔒)
GCVE (CVE): GCVE-0-2022-50561
GCVE (VulDB): GCVE-100-329314
CERT Bund: WID-SEC-2025-2394 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 10/22/2025 16:25
Updated: 02/28/2026 03:46
Changes: 10/22/2025 16:25 (60), 10/23/2025 14:35 (7), 01/02/2026 03:55 (1), 02/28/2026 03:46 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!