{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49836","id":"CVE-2022-49836","title":"siox: fix possible memory leak in siox_device_add()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsiox: fix possible memory leak in siox_device_add()\n\nIf device_register() returns error in siox_device_add(),\nthe name allocated by dev_set_name() need be freed. As\ncomment of device_register() says, it should use put_device()\nto give up the reference in the error path. So fix this\nby calling put_device(), then the name can be fr","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nsiox: fix possible memory leak in siox_device_add()\n\nIf device_register() returns error in siox_device_add(),\nthe name allocated by dev_set_name() need be freed. As\ncomment of device_register() says, it should use put_device()\nto give up the reference in the error path. So fix this\nby calling put_device(), then the name can be freed in\nkobject_cleanup(), and sdevice is freed in siox_device_release(),\nset it to null in error path.","published":"2025-05-01T14:09:53.454Z","updated":"2026-11-07T02:30:43.993941316Z","reserved":"2025-05-01T14:05:17.229Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"0a5da069603ecc3d7aa09167450235462adaa295","status":"affected","versionType":"git"},{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb","status":"affected","versionType":"git"},{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"a4b5423f88a17a36550ae8c16c46779b1ee42f4b","status":"affected","versionType":"git"},{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"5d03c2911c529ea4d6ebfec53425f1091e8d402b","status":"affected","versionType":"git"},{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"d9c31e728843259209fb530c59995e4fe262699f","status":"affected","versionType":"git"},{"version":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","lessThan":"6e63153db50059fb78b8a8447b132664887d24e3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"4.19.267","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.225","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.156","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.80","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.10","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0a5da069603ecc3d7aa09167450235462adaa295","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a4b5423f88a17a36550ae8c16c46779b1ee42f4b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5d03c2911c529ea4d6ebfec53425f1091e8d402b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d9c31e728843259209fb530c59995e4fe262699f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6e63153db50059fb78b8a8447b132664887d24e3","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49836.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49836","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00202,"epssPercentile":0.10315,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49836","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49836","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49836","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49836","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}