CVE-2026-46185

smb/client: fix out-of-bounds read in symlink_data()

State
Published
Severity
9.1 Critical
Published
May 28, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

smb/client: fix out-of-bounds read in symlink_data()

Since smb2_check_message() returns success without length validation for the symlink error response, in symlink_data() it is possible for iov->iov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer only contains the base SMB2 header (64 bytes), accessing err->ErrorContextCount (at offset 66) or err->ByteCount later in symlink_data() will cause an out-of-bounds read.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 76894f3e2f71177747b8b4763fb180e800279585 to before 2be11faf79e49fb8250a181ff0b4d2b2f084af83Affected
  • 76894f3e2f71177747b8b4763fb180e800279585 to before ef6495d4df6e7af8f3de67e65150881c880f696cAffected
  • 76894f3e2f71177747b8b4763fb180e800279585 to before 15dc0a4de743a1aaa7b859b3aea79f08c695396cAffected
  • 76894f3e2f71177747b8b4763fb180e800279585 to before b8c8a704f0bc133deb171f6aeb6f3a684203e212Affected
  • 76894f3e2f71177747b8b4763fb180e800279585 to before b9561402489d41149f63e001a74384863b7b30a6Affected
  • 76894f3e2f71177747b8b4763fb180e800279585 to before d62b8d236fab503c6fec1d3e9a38bea71feaca20Affected
  • 2d046892a493d9760c35fdaefc3017f27f91b621Affected
  • 6.0.16 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.