Skip to content
Heist/ feed
Back to feed
UnratedFix available

smb: server: make use of smbdirect_socket.send_io.bcredits

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: smb: server: make use of smbdirect_socket.send_io.bcredits It turns out that our code will corrupt the stream of reassabled data transfer messages when we trigger an immendiate (empty) send. In order to fix this we'll have a single 'batch' credit per connection. And code getting that credit is free to use as much messages until remaining_length reaches 0, then the batch credit it given back and the next logical send can happen.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.11, 6.19.1
CVEs
CVE-2026-31537
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:40 UTC · Revision 1

Source evidence

smb: server: make use of smbdirect_socket.send_io.bcredits

core-osv · Original source

Published 24 Apr 2026, 14:30 UTC

In the Linux kernel, the following vulnerability has been resolved: smb: server: make use of smbdirect_socket.send_io.bcredits It turns out that our code will corrupt the stream of reassabled data transfer messages when we trigger an immendiate (empty) send. In order to fix this we'll have a single 'batch' credit per connection. And code getting that credit is free to use as much messages until remaining_length reaches 0, then the batch credit it given back and the next logical send can happen.

osv:CVE-2026-31537

Kernel

Fixed versions: 6.18.11, 6.19.1

Complete source record
{
  "id": "0481223a82bd562497dee004191921bc4fc8b54ee013e4255967d291d788fef2",
  "url": "https://osv.dev/vulnerability/CVE-2026-31537",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: server: make use of smbdirect_socket.send_io.bcredits",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: smb: server: make use of smbdirect_socket.send_io.bcredits It turns out that our code will corrupt the stream of reassabled data transfer messages when we trigger an immendiate (empty) send. In order to fix this we'll have a single 'batch' credit per connection. And code getting that credit is free to use as much messages until remaining_length reaches 0, then the batch credit it given back and the next logical send can happen.",
    "evidence": "osv:CVE-2026-31537",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-31537",
      "aliases": [
        "CVE-2026-31537"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0626e6641f6b467447c81dd7678a69c66f7746cf"
                },
                {
                  "fixed": "5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7"
                },
                {
                  "fixed": "79242e7b6bc63efec28b7c235bc320806afce6c0"
                },
                {
                  "fixed": "34abd408c8ba24d7c97bd02ba874d8c714f49db1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31537.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "6.18.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31537.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.222876999Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/34abd408c8ba24d7c97bd02ba874d8c714f49db1",
        "https://git.kernel.org/stable/c/5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7",
        "https://git.kernel.org/stable/c/79242e7b6bc63efec28b7c235bc320806afce6c0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31537.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31537",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31537.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31537",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 496924,
  "published_at": "2026-04-24T14:30:24.907+00:00"
}