{"id":"CVE-2022-49807","aliases":["CVE-2022-49807"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: fix a memory leak in nvmet_auth_set_key","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix a memory leak in nvmet_auth_set_key\n\nWhen changing dhchap secrets we need to release the old\nsecrets as well.\n\nkmemleak complaint:\n--\nunreferenced object 0xffff8c7f44ed8180 (size 64):\n  comm \"check\", pid 7304, jiffies 4295686133 (age 72034.246s)\n  hex dump (first 32 bytes):\n    44 48 48 43 2d 31 3a 30 30 3a 4c 64 4c 4f 64 71  DHHC-1:00:LdLOdq\n    79 56 69 67 77 48 55 32 6d 5a 59 4c 7a 35 59 38  yVigwHU2mZYLz5Y8\n  backtrace:\n    [<00000000b6fc5071>] kstrdup+0x2e/0x60\n    [<00000000f0f4633f>] 0xffffffffc0e07ee6\n    [<0000000053006c05>] 0xffffffffc0dff783\n    [<00000000419ae922>] configfs_write_iter+0xb1/0x120\n    [<000000008183c424>] vfs_write+0x2be/0x3c0\n    [<000000009005a2a5>] ksys_write+0x5f/0xe0\n    [<00000000cd495c89>] do_syscall_64+0x38/0x90\n    [<00000000f2a84ac5>] entry_SYSCALL_64_after_hwframe+0x63/0xcd","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix a memory leak in nvmet_auth_set_key\n\nWhen changing dhchap secrets we need to release the old\nsecrets as well.\n\nkmemleak complaint:\n--\nunreferenced object 0xffff8c7f44ed8180 (size 64):\n  comm \"check\", pid 7304, jiffies 4295686133 (age 72034.246s)\n  hex dump (first 32 bytes):\n    44 48 48 43 2d 31 3a 30 30 3a 4c 64 4c 4f 64 71  DHHC-1:00:LdLOdq\n    79 56 69 67 77 48 55 32 6d 5a 59 4c 7a 35 59 38  yVigwHU2mZYLz5Y8\n  backtrace:\n    [<00000000b6fc5071>] kstrdup+0x2e/0x60\n    [<00000000f0f4633f>] 0xffffffffc0e07ee6\n    [<0000000053006c05>] 0xffffffffc0dff783\n    [<00000000419ae922>] configfs_write_iter+0xb1/0x120\n    [<000000008183c424>] vfs_write+0x2be/0x3c0\n    [<000000009005a2a5>] ksys_write+0x5f/0xe0\n    [<00000000cd495c89>] do_syscall_64+0x38/0x90\n    [<00000000f2a84ac5>] entry_SYSCALL_64_after_hwframe+0x63/0xcd","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: corrige una pérdida de memoria en nvmet_auth_set_key Al cambiar los secretos de dhchap, también debemos liberar los secretos antiguos. Queja de kmemleak: -- objeto sin referencia 0xffff8c7f44ed8180 (tamaño 64): comm \"check\", pid 7304, jiffies 4295686133 (edad 72034.246s) volcado hexadecimal (primeros 32 bytes): 44 48 48 43 2d 31 3a 30 30 3a 4c 64 4c 4f 64 71 DHHC-1:00:LdLOdq 79 56 69 67 77 48 55 32 6d 5a 59 4c 7a 35 59 38 yVigwHU2mZYLz5Y8 backtrace: [&lt;00000000b6fc5071&gt;] kstrdup+0x2e/0x60 [&lt;00000000f0f4633f&gt;] 0xffffffffc0e07ee6 [&lt;0000000053006c05&gt;] 0xffffffffc0dff783 [&lt;00000000419ae922&gt;] configfs_write_iter+0xb1/0x120 [&lt;000000008183c424&gt;] vfs_write+0x2be/0x3c0 [&lt;000000009005a2a5&gt;] ksys_write+0x5f/0xe0 [&lt;00000000cd495c89&gt;] do_syscall_64+0x38/0x90 [&lt;00000000f2a84ac5&gt;] entry_SYSCALL_64_after_hwframe+0x63/0xcd","source":"nvd"}],"published":"2025-05-01T14:09:33.492Z","modified":"2026-11-05T20:17:13.067Z","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":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"65710ea51d4a185592c7b14c9e33d0c4a364f074","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"0a52566279b4ee65ecd2503d7b7342851f84755c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","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":"6.0","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/65710ea51d4a185592c7b14c9e33d0c4a364f074","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a52566279b4ee65ecd2503d7b7342851f84755c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:49:04.070Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49807","url":"https://www.cve.org/CVERecord?id=CVE-2022-49807","licence":"CVE Terms of Use","modified":"2026-11-05T19:49:50.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49807","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49807","licence":"Public domain","modified":"2026-11-05T20:17:13.067Z"}],"updatedAt":"2026-11-25T22:58:20.880Z","epss":{"score":0.00174,"percentile":0.07196,"date":"2026-12-01T12:00:22.000Z"}}