CVE-2022-50859
published 2025-12-30CVE-2022-50859: In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a ("smb3…
PriorityP419low3.3
EPSS
0.21%
11.9th percentile
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.3-1 (bookworm) | linux 6.0.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < d0050ec3ebbcb3451df9a65b8460be9b9e02e80c | d0050ec3ebbcb3451df9a65b8460be9b9e02e80c |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < 9312e04b6c6bc46354ecd0cc82052a2b3df0b529 | 9312e04b6c6bc46354ecd0cc82052a2b3df0b529 |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < 60480291c1fcafad8425d93f771b5bcc2bd398b4 | 60480291c1fcafad8425d93f771b5bcc2bd398b4 |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < 943eb0ede74ecd609fdfd3f0b83e0d237613e526 | 943eb0ede74ecd609fdfd3f0b83e0d237613e526 |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < fada9b8c95c77bb46b89e18117405bc90fce9f74 | fada9b8c95c77bb46b89e18117405bc90fce9f74 |
| linux | linux | >= d5c7076b772ad7dcdb92303397b36aee8fa0d25d < e98ecc6e94f4e6d21c06660b0f336df02836694f | e98ecc6e94f4e6d21c06660b0f336df02836694f |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 5.0.0 < 5.4.220 | 5.4.220 |
| linux | linux_kernel | >= 5.11.0 < 5.15.75 | 5.15.75 |
| linux | linux_kernel | >= 5.16.0 < 5.19.17 | 5.19.17 |
| linux | linux_kernel | >= 5.20.0 < 6.0.3 | 6.0.3 |
| linux | linux_kernel | >= 5.5.0 < 5.10.150 | 5.10.150 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
vendor_redhat·2025-12-30·CVSS 3.3
CVE-2022-50859 [LOW] CWE-497 kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package
Debian
CVE-2022-50859: linux - In the Linux kernel, the following vulnerability has been resolved: cifs: Fix t...
vendor_debian·2022
CVE-2022-50859 CVE-2022-50859: linux - In the Linux kernel, the following vulnerability has been resolved: cifs: Fix t...
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list") extend the dialects from 3 to 4, but forget to decrease the extended length when specific the dialect, then the message length is larger than expected. This maybe leak some info through network because not initialize the message body. After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is reduced from 28 bytes to 26 bytes.
Scope: local
bookworm: resolved (fixed in 6.0.3-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.3-1)
sid: resolved (fixed in 6.0.3-1)
trixie: resolved (fixed in 6.0.3-1)
GHSA
GHSA-4fwr-9cpg-j96h: In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772
ghsa_unreviewed·2025-12-30
CVE-2022-50859 GHSA-4fwr-9cpg-j96h: In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
OSV
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
osv·2025-12-30
CVE-2022-50859 cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
OSV
CVE-2022-50859: In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a
osv·2025-12-30
CVE-2022-50859 CVE-2022-50859: In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list") extend the dialects from 3 to 4, but forget to decrease the extended length when specific the dialect, then the message length is larger than expected. This maybe leak some info through network because not initialize the message body. After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is reduced from 28 bytes to 26 bytes.
No detection rules found.
No public exploits indexed.
Wiz
CVE-2022-50859 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2022-50859 CVE-2022-50859 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2022-50859 :
Linux Kernel vulnerability analysis and mitigation
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
Source : NVD
Published December 30, 2025
CNA Score N/A
Affected Technologies
Linux Kernel
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
C
Bugzilla
CVE-2022-50859 kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
bugzilla·2025-12-30
CVE-2022-50859 [LOW] CVE-2022-50859 kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
CVE-2022-50859 kernel: cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list")
extend the dialects from 3 to 4, but forget to decrease the extended
length when specific the dialect, then the message length is larger
than expected.
This maybe leak some info through network because not initialize the
message body.
After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is
reduced from 28 bytes to 26 bytes.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025123047-CVE-2022-50859-6991@gregkh/T
https://git.kernel.org/stable/c/60480291c1fcafad8425d93f771b5bcc2bd398b4https://git.kernel.org/stable/c/9312e04b6c6bc46354ecd0cc82052a2b3df0b529https://git.kernel.org/stable/c/943eb0ede74ecd609fdfd3f0b83e0d237613e526https://git.kernel.org/stable/c/d0050ec3ebbcb3451df9a65b8460be9b9e02e80chttps://git.kernel.org/stable/c/e98ecc6e94f4e6d21c06660b0f336df02836694fhttps://git.kernel.org/stable/c/fada9b8c95c77bb46b89e18117405bc90fce9f74
2025-12-30
Published