{"id":"CVE-2022-49938","aliases":["CVE-2022-49938"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: fix small mempool leak in SMB2_negotiate()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix small mempool leak in SMB2_negotiate()\n\nIn some cases of failure (dialect mismatches) in SMB2_negotiate(), after\nthe request is sent, the checks would return -EIO when they should be\nrather setting rc = -EIO and jumping to neg_exit to free the response\nbuffer from mempool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix small mempool leak in SMB2_negotiate()\n\nIn some cases of failure (dialect mismatches) in SMB2_negotiate(), after\nthe request is sent, the checks would return -EIO when they should be\nrather setting rc = -EIO and jumping to neg_exit to free the response\nbuffer from mempool.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cifs: corrige una pequeña pérdida de mempool en SMB2_negotiate() En algunos casos de falla (desajustes de dialecto) en SMB2_negotiate(), después de enviar la solicitud, las verificaciones devolverían -EIO cuando deberían establecer rc = -EIO y saltar a neg_exit para liberar el búfer de respuesta de mempool.","source":"nvd"}],"published":"2025-06-18T10:54:39.458Z","modified":"2026-11-05T20:17:18.577Z","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":"9764c02fcbad40001fd3f63558d918e4d519bb75","fixed":"9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0","status":"affected"},{"type":"git","introduced":"9764c02fcbad40001fd3f63558d918e4d519bb75","fixed":"38a6b469bf22f153282fbe7d702a24e9eb43f50e","status":"affected"},{"type":"git","introduced":"9764c02fcbad40001fd3f63558d918e4d519bb75","fixed":"27893dfc1285f80f80f46b3b8c95f5d15d2e66d0","status":"affected"},{"type":"git","version":"1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1","status":"affected"},{"type":"semver","introduced":"4.13.5","fixed":"4.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.15.66","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.8","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","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","fixed":"5.15.66"},{"status":"affected","introduced":"5.16","fixed":"5.19.8"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38a6b469bf22f153282fbe7d702a24e9eb43f50e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27893dfc1285f80f80f46b3b8c95f5d15d2e66d0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:51:53.449Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49938","url":"https://www.cve.org/CVERecord?id=CVE-2022-49938","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:12.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49938","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49938","licence":"Public domain","modified":"2026-11-05T20:17:18.577Z"}],"updatedAt":"2026-11-25T22:58:20.971Z","epss":{"score":0.00275,"percentile":0.12608,"date":"2026-11-30T12:00:22.000Z"}}