Skip to content
Heist/ feed
UnratedFix available

CVE-2026-90125 affecting package kernel for versions less than 6.6.157.1-1

Type: advisorySource: OSV1 source record

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix request buffer leak in smb2_new_read_req() smb2_new_read_req() allocates the request buffer with smb2_plain_req_init() but only publishes it to the caller with *buf = req at the very end of the function. Two error returns sit in between: rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, (void **) &req, total_len); if (rc) return rc; if (server == NULL) return -ECONNABORTED; [...] rdata->mr = smbd_register_mr(server->smbd_conn, &rdata->subreq.io_iter, true, need_invalidate); if (!rdata->mr) return -EAGAIN; On either of them the buffer is neither released nor handed back, so it is leaked. The caller cannot clean up after it: smb2_async_readv() does 'goto out' on a non-zero return, which skips the cifs_small_buf_release(buf) at async_readv_out, and buf has not been assigned at that point in any case. The write path has never had this problem. smb2_async_writev() registers the memory region inline and jumps to its release label instead of returning: wdata->mr = smbd_register_mr(...); if (!wdata->mr) { rc = -EAGAIN; goto async_writev_out; } Commit b7972092199f ("cifs: smbd: Retry on memory registration failure") changed both sides from -ENOBUFS to -EAGAIN in a single patch, which puts the two shapes next to each other. Only the -EAGAIN return is reachable in practice, because smb2_plain_req_init() calls smb2_reconnect() first and that already fails with -EIO when server is NULL, before a

Announced Group revision 1
Original source ↗

AZL-102230

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:AZL-102230

kernel

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
6.6.157.1-1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "6.6.157.1-1"
          }
        ]
      }
    ],
    "package": {
      "name": "kernel",
      "purl": "pkg:rpm/azure-linux/kernel",
      "ecosystem": "Azure Linux:3"
    },
    "database_specific": {
      "source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-102230.json"
    }
  }
]
Related CVEs
CVE-2026-90125

Source reference: /upstream

Publisher severity

No explicit severity was provided.

Event
#68369 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement