{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d08089f649a0cfb2099c8551ac47eef0cc23fdf2"
            },
            {
              "fixed": "af78baeacd731a98531eaa3103bfe03f147cffb7"
            },
            {
              "fixed": "ecc327edd96a65ac177379664cc0972d8a23dfa4"
            },
            {
              "fixed": "558cb79cb242ce7ca8b32c4b39412d125879e8f2"
            },
            {
              "fixed": "51efca72345acdbedc4af76782d464bd15ba50ff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99295.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: stop processing a read response after a receive error\n\ncifs_read_iter_from_socket() may call cifs_reconnect() before returning an\nerror.  The reconnect path aborts pending mids and invokes their callbacks.\nThe callback can then release the cifs_io_subrequest containing rdata.\n\ncifs_readv_receive() nevertheless continues after a negative return and may\ndereference rdata in cifs_readv_discard().  KASAN reports the resulting\nUAF:\n\n  BUG: KASAN: slab-use-after-free in cifs_readv_receive\n  Read of size 4 by task cifsd\n  cifs_readv_receive (fs/smb/client/transport.c:1284)\n  cifs_demultiplex_thread (fs/smb/client/connect.c:1355)\n  kthread (kernel/kthread.c:436)\n  ret_from_fork (arch/x86/kernel/process.c:158)\n\n  Freed by task 148:\n  netfs_put_subrequest (fs/netfs/objects.c:267)\n  netfs_read_collection (fs/netfs/read_collect.c:460)\n  netfs_wait_for_in_progress (fs/netfs/misc.c:462)\n\nReturn the socket error immediately, as this path did before the iterator\nconversion.  This also avoids adding a negative length to total_read.",
  "id": "CVE-2026-99295",
  "modified": "2026-11-17T02:31:01.721099219Z",
  "published": "2026-11-16T09:59:22.911Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99295.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99295"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "smb: client: stop processing a read response after a receive error"
}