---
id: CVE-2026-64598
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
published: '2026-08-06'
updated: '2026-08-08'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64598'
references:
  - url: 'https://git.kernel.org/stable/c/61f28012e5650c619223decdb7970e0d3162e949'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a187883cc1dc784a4d32537f5d316f1b7b9ad76f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aa37f5fef78dd11cbf983269da2031e12625c56d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cad756733dc3985188983f3e2eb77e2927209099'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00529
epssPercentile: 0.4225
ingestedAt: '2026-08-08T21:30:13.334Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
