{"id":"CVE-2022-49795","aliases":["CVE-2022-49795"],"related":[],"kind":"vulnerability","state":"published","title":"rethook: fix a potential memleak in rethook_alloc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrethook: fix a potential memleak in rethook_alloc()\n\nIn rethook_alloc(), the variable rh is not freed or passed out\nif handler is NULL, which could lead to a memleak, fix it.\n\n[Masami: Add \"rethook:\" tag to the title.]\n\nAcke-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrethook: fix a potential memleak in rethook_alloc()\n\nIn rethook_alloc(), the variable rh is not freed or passed out\nif handler is NULL, which could lead to a memleak, fix it.\n\n[Masami: Add \"rethook:\" tag to the title.]\n\nAcke-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rethook: se corrige una posible fuga de memoria en rethook_alloc(). En rethook_alloc(), la variable rh no se libera ni se pasa si el manejador es NULL, lo que podría provocar una fuga de memoria. Corríjalo. [Masami: Añadir la etiqueta \"rethook:\" al título]. Por: Masami Hiramatsu (Google)","source":"nvd"}],"published":"2025-05-01T14:09:25.764Z","modified":"2026-11-05T20:17:11.927Z","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":"54ecbe6f1ed5138c895bdff55608cf502755b20e","fixed":"cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c","status":"affected"},{"type":"git","introduced":"54ecbe6f1ed5138c895bdff55608cf502755b20e","fixed":"0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","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":"5.18","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/cbc5d1f9a8cc40ba2bc6779b36d2ea1f65bc027c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:48:10.411Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49795","url":"https://www.cve.org/CVERecord?id=CVE-2022-49795","licence":"CVE Terms of Use","modified":"2026-11-05T19:49:49.148Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49795","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49795","licence":"Public domain","modified":"2026-11-05T20:17:11.927Z"}],"updatedAt":"2026-11-25T22:58:20.874Z","epss":{"score":0.00174,"percentile":0.07212,"date":"2026-12-02T12:00:21.000Z"}}