← Database

CVE-2022-49938

MEDIUM CVSS: 5.5 Published: 2025-06-18 Modified: 2026-06-17

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix small mempool leak in SMB2_negotiate() In some cases of failure (dialect mismatches) in SMB2_negotiate(), after the request is sent, the checks would return -EIO when they should be rather setting rc = -EIO and jumping to neg_exit to free the response buffer from mempool.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References