CVE-2022-49836 Details
Description
In the Linux kernel, the following vulnerability has been resolved: siox: fix possible memory leak in siox_device_add() If device_register() returns error in siox_device_add(), the name allocated by dev_set_name() need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup(), and sdevice is freed in siox_device_release(), set it to null in error path.
A memory leak vulnerability has been identified in the Linux kernel's SIOX (Structured Input/Output eXtension) implementation. The issue arises in the 'siox_device_add()' function, where the 'device_register()' call can fail, leading to a memory leak. When 'device_register()' returns an error, the name assigned by 'dev_set_name()' is not properly freed. According to the 'device_register()' documentation, the 'put_device()' function should be used to release the reference in the error handling path. This vulnerability has been addressed by calling 'put_device()', allowing the name to be freed in 'kobject_cleanup()', while the device structure is released in 'siox_device_release()' and set to null in the error path.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0a5da069603ecc3d7aa09167450235462adaa295 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d03c2911c529ea4d6ebfec53425f1091e8d402b | kernel.org | Patch |
| https://git.kernel.org/stable/c/6e63153db50059fb78b8a8447b132664887d24e3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a4b5423f88a17a36550ae8c16c46779b1ee42f4b | kernel.org | Patch |
| https://git.kernel.org/stable/c/d9c31e728843259209fb530c59995e4fe262699f | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.16, < 4.19.267 >= 4.20, < 5.4.225 >= 5.5, < 5.10.156 >= 5.11, < 5.15.80 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |