Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out of bounds in init_smb2_rsp_hdr() If client send smb2 negotiate request and then send smb1 negotiate request, init_smb2_rsp_hdr is called for smb1 negotiate request since need_neg is set to false. This patch ignore smb1 packets after ->need_neg is set to false.
Affected products
linux: linux kernel
References8
- git.kernel.org/stable/c/330d900620dfc9893011d725b3620cd2ee0bc2bc Patch
- git.kernel.org/stable/c/536bb492d39bb6c080c92f31e8a55fe9934f452b Patch
- git.kernel.org/stable/c/5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b Patch
- git.kernel.org/stable/c/aa669ef229ae8dd779da9caa24e254964545895f Patch
- git.kernel.org/stable/c/330d900620dfc9893011d725b3620cd2ee0bc2bc Patch
- git.kernel.org/stable/c/536bb492d39bb6c080c92f31e8a55fe9934f452b Patch
- git.kernel.org/stable/c/5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b Patch
- git.kernel.org/stable/c/aa669ef229ae8dd779da9caa24e254964545895f Patch
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 52 · as of 5 November 2026
- CWE
- CWE-119
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.