CVE-2026-143042 (GCVE-0-2026-143042)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:18 – Updated: 2026-12-04 03:27
VLAI
Title
smb: client: hold server ref while queueing reconnect work
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: hold server ref while queueing reconnect work When query_server_interfaces() returns -EOPNOTSUPP on a secondary channel, smb2_reconnect() calls smb3_update_ses_channels() which for a channel runs cifs_chan_skip_or_disable(). That clears the channel's slot in the session and calls cifs_put_tcp_session(), which can drop the last reference of the channel and tear it down. smb2_reconnect() then falls through to skip_add_channels and queues reconnect work on that server, using a server that may already be freed. The send path obtained the channel from cifs_pick_channel(), which does not take a reference, so the session's channel reference is the only one. Take our own reference on the channel before calling smb3_update_ses_channels() and drop it after the reconnect work has been queued, so the channel cannot be freed while it is still used.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f591062bdbf4742b7f1622173017f19e927057b0 , < 6d57e23dff80a7bdf9d29ba4ea082804278bab92 (git)
Affected: f591062bdbf4742b7f1622173017f19e927057b0 , < f02d249e9756b78990aaaa1635e47e06deb2cb51 (git)
Affected: 50e8363ecc85da49764781da90ebffe1a657b370 (git)
Affected: d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4 (git)
Affected: 6.6.15 , < 6.7 (semver)
Affected: 6.7.3 , < 6.8 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "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": "6d57e23dff80a7bdf9d29ba4ea082804278bab92",
              "status": "affected",
              "version": "f591062bdbf4742b7f1622173017f19e927057b0",
              "versionType": "git"
            },
            {
              "lessThan": "f02d249e9756b78990aaaa1635e47e06deb2cb51",
              "status": "affected",
              "version": "f591062bdbf4742b7f1622173017f19e927057b0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "50e8363ecc85da49764781da90ebffe1a657b370",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.15",
              "versionType": "semver"
            },
            {
              "lessThan": "6.8",
              "status": "affected",
              "version": "6.7.3",
              "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.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.7.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: hold server ref while queueing reconnect work\n\nWhen query_server_interfaces() returns -EOPNOTSUPP on a secondary\nchannel, smb2_reconnect() calls smb3_update_ses_channels() which for a\nchannel runs cifs_chan_skip_or_disable().  That clears the channel\u0027s\nslot in the session and calls cifs_put_tcp_session(), which can drop\nthe last reference of the channel and tear it down.\n\nsmb2_reconnect() then falls through to skip_add_channels and queues\nreconnect work on that server, using a server that may already be\nfreed.  The send path obtained the channel from cifs_pick_channel(),\nwhich does not take a reference, so the session\u0027s channel reference is\nthe only one.\n\nTake our own reference on the channel before calling\nsmb3_update_ses_channels() and drop it after the reconnect work has\nbeen queued, so the channel cannot be freed while it is still used."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The SMB2 IOCTL response to FSCTL_QUERY_NETWORK_INTERFACE_INFO carries Status STATUS_NOT_IMPLEMENTED (0xC0000002). map_smb2_to_linux_error() turns that into -EOPNOTSUPP, and smb2_reconnect() then calls smb3_update_ses_channels() on the channel cifs_pick_channel() selected. The response arrives on the client\u0027s TCP/445 socket.\nAC:H - cifs_chan_skip_or_disable() drops the secondary channel\u0027s last srv_count in cifs_put_tcp_session(), which only SIGKILLs cifsd. clean_demultiplex_info() msleeps at least 125ms before kfree_sensitive(server), while cifs_queue_server_reconn() runs a few instructions later. The caller must be descheduled across that window, which the server cannot force.\nPR:N - The attacker is the SMB server and needs no credentials on the client: the client authenticates outward, and cifs_fs_type has no FS_USERNS_MOUNT. smb2_reconnect() acts on the Status field of the server\u0027s IOCTL response after the session already exists.\nUI:N - On an existing multichannel mount, the server sets tcon-\u003eneed_reconnect by answering an SMB2 echo or FSCTL_QUERY_NETWORK_INTERFACE_INFO with STATUS_NETWORK_NAME_DELETED (smb2_is_network_name_deleted()). A lease break then reaches SMB2_lease_break() or SMB2_close(), which call cifs_pick_channel() and smb2_plain_req_init() with no new user action.\nS:U - The freed TCP_Server_Info and the cifs_queue_server_reconn() use of its reconnect work are both in the client kernel, the same security authority. No guest-to-host, IOMMU, or sandbox boundary is crossed.\nC:H - cifs_queue_server_reconn() reads delayed_work_pending() from the freed TCP_Server_Info.reconnect. Once that slab slot is reused, that read and smb2_reconnect_server()\u0027s loads of srv_count and primary_server return attacker-controlled bytes.\nI:H - After the last srv_count drop, cifs_queue_server_reconn() WRITE_ONCE()s reconn_delay and mod_delayed_work()s the embedded reconnect work_struct. A reused object makes that a workqueue write and can redirect the callback.\nA:H - cifs_queue_server_reconn() touches server-\u003ereconnect after cifs_tcp_server_put() can kfree_sensitive() the TCP_Server_Info. That use, or a worker still queued on the freed work_struct, oopses the client kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:27:33.778Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6d57e23dff80a7bdf9d29ba4ea082804278bab92"
        },
        {
          "url": "https://git.kernel.org/stable/c/f02d249e9756b78990aaaa1635e47e06deb2cb51"
        }
      ],
      "title": "smb: client: hold server ref while queueing reconnect work",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143042",
    "datePublished": "2026-12-03T09:18:18.274Z",
    "dateReserved": "2026-12-03T03:10:28.344Z",
    "dateUpdated": "2026-12-04T03:27:33.778Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143042",
      "date": "2026-12-04",
      "epss": "0.00797",
      "percentile": "0.57806"
    },
    "nvd": {
      "cve": {
        "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": "6d57e23dff80a7bdf9d29ba4ea082804278bab92",
                    "status": "affected",
                    "version": "f591062bdbf4742b7f1622173017f19e927057b0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f02d249e9756b78990aaaa1635e47e06deb2cb51",
                    "status": "affected",
                    "version": "f591062bdbf4742b7f1622173017f19e927057b0",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "50e8363ecc85da49764781da90ebffe1a657b370",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.15",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.8",
                    "status": "affected",
                    "version": "6.7.3",
                    "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.8"
                  },
                  {
                    "lessThan": "6.8",
                    "status": "unaffected",
                    "version": "0",
                    "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: hold server ref while queueing reconnect work\n\nWhen query_server_interfaces() returns -EOPNOTSUPP on a secondary\nchannel, smb2_reconnect() calls smb3_update_ses_channels() which for a\nchannel runs cifs_chan_skip_or_disable().  That clears the channel\u0027s\nslot in the session and calls cifs_put_tcp_session(), which can drop\nthe last reference of the channel and tear it down.\n\nsmb2_reconnect() then falls through to skip_add_channels and queues\nreconnect work on that server, using a server that may already be\nfreed.  The send path obtained the channel from cifs_pick_channel(),\nwhich does not take a reference, so the session\u0027s channel reference is\nthe only one.\n\nTake our own reference on the channel before calling\nsmb3_update_ses_channels() and drop it after the reconnect work has\nbeen queued, so the channel cannot be freed while it is still used."
          }
        ],
        "id": "CVE-2026-143042",
        "lastModified": "2026-12-04T04:17:33.773",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:32.543",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6d57e23dff80a7bdf9d29ba4ea082804278bab92"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f02d249e9756b78990aaaa1635e47e06deb2cb51"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:49:32+00:00",
      "cve": "CVE-2026-143042",
      "id": "CVE-2026-143042",
      "initial_release_date": "2026-12-03T09:18:18.274000+00:00",
      "product_status:known_affected": "187",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via use-after-free in SMB client reconnect handling",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143042.json",
      "version": "3"
    }
  }
}



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.