{"id":"CVE-2022-49836","aliases":["CVE-2022-49836"],"related":[],"kind":"vulnerability","state":"published","title":"siox: fix possible memory leak in siox_device_add()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: siox: Se corrige una posible fuga de memoria en siox_device_add(). Si device_register() devuelve un error en siox_device_add(), se debe liberar el nombre asignado por dev_set_name(). Como se indica en el comentario de device_register(), se debe usar put_device() para liberar la referencia en la ruta de error. Para solucionar esto, se debe llamar a put_device(); de esta manera, se puede liberar el nombre en kobject_cleanup() y sdevice se libera en siox_device_release(); configúrelo como nulo en la ruta de error.","source":"nvd"}],"published":"2025-05-01T14:09:53.454Z","modified":"2026-11-05T20:17:15.703Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"0a5da069603ecc3d7aa09167450235462adaa295","status":"affected"},{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb","status":"affected"},{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"a4b5423f88a17a36550ae8c16c46779b1ee42f4b","status":"affected"},{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"5d03c2911c529ea4d6ebfec53425f1091e8d402b","status":"affected"},{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"d9c31e728843259209fb530c59995e4fe262699f","status":"affected"},{"type":"git","introduced":"bbecb07fa0af9a41507ce06d4631fdb3b5059417","fixed":"6e63153db50059fb78b8a8447b132664887d24e3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"4.19.267","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.225","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.156","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.80","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.16","fixed":"4.19.267"},{"status":"affected","introduced":"4.20","fixed":"5.4.225"},{"status":"affected","introduced":"5.5","fixed":"5.10.156"},{"status":"affected","introduced":"5.11","fixed":"5.15.80"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0a5da069603ecc3d7aa09167450235462adaa295","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4b5423f88a17a36550ae8c16c46779b1ee42f4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d03c2911c529ea4d6ebfec53425f1091e8d402b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9c31e728843259209fb530c59995e4fe262699f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e63153db50059fb78b8a8447b132664887d24e3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:50:31.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49836","url":"https://www.cve.org/CVERecord?id=CVE-2022-49836","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:09.305Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49836","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49836","licence":"Public domain","modified":"2026-11-05T20:17:15.703Z"}],"updatedAt":"2026-11-25T22:58:20.892Z","epss":{"score":0.00285,"percentile":0.13697,"date":"2026-11-30T12:00:22.000Z"}}