{"id":"CVE-2022-50395","aliases":["CVE-2022-50395"],"related":[],"kind":"vulnerability","state":"published","title":"integrity: Fix memory leakage in keyring allocation error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nintegrity: Fix memory leakage in keyring allocation error path\n\nKey restriction is allocated in integrity_init_keyring(). However, if\nkeyring allocation failed, it is not freed, causing memory leaks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nintegrity: Fix memory leakage in keyring allocation error path\n\nKey restriction is allocated in integrity_init_keyring(). However, if\nkeyring allocation failed, it is not freed, causing memory leaks.","source":"cvelist"}],"published":"2025-09-18T13:33:13.732Z","modified":"2026-06-17T05:23:26.687Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22","status":"affected"},{"type":"git","introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"3bd737289c26be3cee4b9afaf61ef784a2af9d6e","status":"affected"},{"type":"git","introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"29d6c69ba4b96a1de0376e44e5f8b38b13ec8803","status":"affected"},{"type":"git","introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"57e49ad12f8f5df0c48e1710c54b147a05a10c32","status":"affected"},{"type":"git","introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"c591c48842f08d30ec6b8416757831985ed9a315","status":"affected"},{"type":"git","introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25","fixed":"39419ef7af0916cc3620ecf1ed42d29659109bf3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","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.12","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bd737289c26be3cee4b9afaf61ef784a2af9d6e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29d6c69ba4b96a1de0376e44e5f8b38b13ec8803","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57e49ad12f8f5df0c48e1710c54b147a05a10c32","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c591c48842f08d30ec6b8416757831985ed9a315","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39419ef7af0916cc3620ecf1ed42d29659109bf3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:51:38.360Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50395","url":"https://www.cve.org/CVERecord?id=CVE-2022-50395","licence":"CVE Terms of Use","modified":"2026-05-11T19:18:42.320Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50395","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50395","licence":"Public domain","modified":"2026-06-17T05:23:26.687Z"}],"updatedAt":"2026-11-25T22:58:21.196Z","epss":{"score":0.00166,"percentile":0.06162,"date":"2026-12-01T12:00:22.000Z"}}