smb/client: Fix error code in smb2_aead_req_alloc() (Linux Linux)

CVE-2026-64598
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.28 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: smb/client: Fix error code in smb2_aead_req_alloc() The "*num_sgs" variable is a u32 so "ERR_PTR(*num_sgs)" doesn't work. We would have to do something similar to the previous line where it's cast to int and then long. However, it's simpler to store the return in an int ret variable. This bug would eventually result in a crash when dereference the invalid error pointer.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d08089f649a0cfb2099c8551ac47eef0cc23fdf2 < aa37f5fef78dd11cbf983269da2031e12625c56d ; affected d08089f649a0cfb2099c8551ac47eef0cc23fdf2 < cad756733dc3985188983f3e2eb77e2927209099 ; affected d08089f649a0cfb2099c8551ac47eef0cc23fdf2 < a187883cc1dc784a4d32537f5d316f1b7b9ad76f ; affected d08089f649a0cfb2099c8551ac47eef0cc23fdf2 < a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac ; affected d08089f649a0cfb2099c8551ac47eef0cc23fdf2 < 61f28012e5650c619223decdb7970e0d3162e949
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.96 ≤ 6.12.* ; unaffected 6.18.39 ≤ 6.18.* ; unaffected 7.1.4 ≤ 7.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD