FKIE_CVE-2026-143044

Vulnerability from fkie_nvd - Published: 2026-12-03 10:17 - Updated: 2026-12-04 04:17
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB write when compounding SMB2_IOCTL with encryption On an encrypted ("seal") mount, SMB2_ioctl_init() keeps the IOCTL input in a separate iov (iov[1]); iov[0] is a 448-byte buffer from cifs_small_buf_get(). When such an IOCTL is not the last request of a compound, smb2_set_next_command() pads it for alignment by copying the whole request into iov[0]. A large enough input overflows that 448-byte buffer and corrupts the slab; the copy also sets rq_nvec to 1, so the input buffer is leaked too. An unprivileged user can trigger it by creating a symlink with a long target on such a mount: the native symlink is sent as FSCTL_SET_REPARSE_POINT + QUERY_INFO + CLOSE in one compound, so the IOCTL is not the last request. With slub_debug red zones on the cifs_small_rq cache, the overflow is caught on the next allocation from that cache in the same compound (the 0x61 bytes are the 'a' characters of the symlink target): BUG cifs_small_rq (Not tainted): Object corrupt [Left Redzone overwritten] 0xffff8a59c7790500-0xffff8a59c779053f First byte 0x61 instead of 0xbb Call Trace: check_object+0x1a8/0x350 alloc_debug_processing+0xab/0x110 ___slab_alloc+0x7e/0x2f0 kmem_cache_alloc_noprof+0x28d/0x4b0 mempool_alloc_slab+0x16/0x30 cifs_small_buf_get+0x1a/0x30 [cifs] SMB2_close_init+0x8a/0x100 [cifs] smb2_compound_op+0x2571/0x2b50 [cifs] smb2_create_reparse_inode+0x27e/0x490 [cifs] mknod_nfs+0x1ce/0x2e0 [cifs] create_reparse_symlink+0x119/0x180 [cifs] cifs_symlink+0x19f/0x8e0 [cifs] vfs_symlink+0xa3/0x1b0 __x64_sys_symlink+0x41/0x70 Pad the input to a multiple of 8 bytes when encryption is required. The request is then already aligned and smb2_set_next_command() no longer copies it; InputCount still carries the real length.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f8ea73388c9d928ec105a8c6bdadf91eaa0cd4bb",
              "status": "affected",
              "version": "d7bb6ea9bf3751f2dc3f1b4681a861db5a69515b",
              "versionType": "git"
            },
            {
              "lessThan": "59a1da069f151e921b667d4b273d273ab3d00638",
              "status": "affected",
              "version": "90f7c100d2dd99d5cd5be950d553edd2647e6cc8",
              "versionType": "git"
            },
            {
              "lessThan": "40b21789cf79281bbb5ae008bd6e0a53c98ac99a",
              "status": "affected",
              "version": "90f7c100d2dd99d5cd5be950d553edd2647e6cc8",
              "versionType": "git"
            },
            {
              "lessThan": "73a0060cb22a1d2bd8bff364c18a4259ec0cb528",
              "status": "affected",
              "version": "90f7c100d2dd99d5cd5be950d553edd2647e6cc8",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "81492813c6e5cd030fdd4d5d7f5a445fd8679488",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.120",
              "status": "affected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThan": "6.17",
              "status": "affected",
              "version": "6.16.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB write when compounding SMB2_IOCTL with encryption\n\nOn an encrypted (\"seal\") mount, SMB2_ioctl_init() keeps the IOCTL input\nin a separate iov (iov[1]); iov[0] is a 448-byte buffer from\ncifs_small_buf_get().  When such an IOCTL is not the last request of a\ncompound, smb2_set_next_command() pads it for alignment by copying the\nwhole request into iov[0].  A large enough input overflows that 448-byte\nbuffer and corrupts the slab; the copy also sets rq_nvec to 1, so the\ninput buffer is leaked too.\n\nAn unprivileged user can trigger it by creating a symlink with a long\ntarget on such a mount: the native symlink is sent as\nFSCTL_SET_REPARSE_POINT + QUERY_INFO + CLOSE in one compound, so the\nIOCTL is not the last request.\n\nWith slub_debug red zones on the cifs_small_rq cache, the overflow is\ncaught on the next allocation from that cache in the same compound (the\n0x61 bytes are the \u0027a\u0027 characters of the symlink target):\n\n  BUG cifs_small_rq (Not tainted): Object corrupt\n  [Left Redzone overwritten] 0xffff8a59c7790500-0xffff8a59c779053f\n  First byte 0x61 instead of 0xbb\n  Call Trace:\n   check_object+0x1a8/0x350\n   alloc_debug_processing+0xab/0x110\n   ___slab_alloc+0x7e/0x2f0\n   kmem_cache_alloc_noprof+0x28d/0x4b0\n   mempool_alloc_slab+0x16/0x30\n   cifs_small_buf_get+0x1a/0x30 [cifs]\n   SMB2_close_init+0x8a/0x100 [cifs]\n   smb2_compound_op+0x2571/0x2b50 [cifs]\n   smb2_create_reparse_inode+0x27e/0x490 [cifs]\n   mknod_nfs+0x1ce/0x2e0 [cifs]\n   create_reparse_symlink+0x119/0x180 [cifs]\n   cifs_symlink+0x19f/0x8e0 [cifs]\n   vfs_symlink+0xa3/0x1b0\n   __x64_sys_symlink+0x41/0x70\n\nPad the input to a multiple of 8 bytes when encryption is required.  The\nrequest is then already aligned and smb2_set_next_command() no longer\ncopies it; InputCount still carries the real length."
    }
  ],
  "id": "CVE-2026-143044",
  "lastModified": "2026-12-04T04:17:33.943",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9,
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary"
      }
    ]
  },
  "published": "2026-12-03T10:17:32.843",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/40b21789cf79281bbb5ae008bd6e0a53c98ac99a"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/59a1da069f151e921b667d4b273d273ab3d00638"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/73a0060cb22a1d2bd8bff364c18a4259ec0cb528"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f8ea73388c9d928ec105a8c6bdadf91eaa0cd4bb"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.