CVE-2026-43215 (GCVE-0-2026-43215)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:28 – Updated: 2026-08-05 12:26
VLAI
Title
cifs: Fix locking usage for tcon fields
Summary
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix locking usage for tcon fields We used to use the cifs_tcp_ses_lock to protect a lot of objects that are not just the server, ses or tcon lists. We later introduced srv_lock, ses_lock and tc_lock to protect fields within the corresponding structs. This was done to provide a more granular protection and avoid unnecessary serialization. There were still a couple of uses of cifs_tcp_ses_lock to provide tcon fields. In this patch, I've replaced them with tc_lock.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 , < 953953abb66e52c224057ab91e404284fefeab62 (git)
Affected: d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 , < 601dd3b79769b38d30b693c40afdb2a4b7edf9d0 (git)
Affected: d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 , < 3969db6b22e3d90d8c5f22ac1a7fe0350a94c136 (git)
Affected: d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 , < 8c59eeeeffa1524ef57e173a89a1a3ff539888d5 (git)
Affected: d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 , < 96c4af418586ee9a6aab61738644366426e05316 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.0
Unaffected: 0 , < 6.0 (semver)
Unaffected: 6.6.128 , ≤ 6.6.* (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (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/cached_dir.c",
            "fs/smb/client/smb2misc.c",
            "fs/smb/client/smb2ops.c",
            "fs/smb/client/smb2pdu.c",
            "fs/smb/client/trace.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "953953abb66e52c224057ab91e404284fefeab62",
              "status": "affected",
              "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
              "versionType": "git"
            },
            {
              "lessThan": "601dd3b79769b38d30b693c40afdb2a4b7edf9d0",
              "status": "affected",
              "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
              "versionType": "git"
            },
            {
              "lessThan": "3969db6b22e3d90d8c5f22ac1a7fe0350a94c136",
              "status": "affected",
              "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
              "versionType": "git"
            },
            {
              "lessThan": "8c59eeeeffa1524ef57e173a89a1a3ff539888d5",
              "status": "affected",
              "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
              "versionType": "git"
            },
            {
              "lessThan": "96c4af418586ee9a6aab61738644366426e05316",
              "status": "affected",
              "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/cached_dir.c",
            "fs/smb/client/smb2misc.c",
            "fs/smb/client/smb2ops.c",
            "fs/smb/client/smb2pdu.c",
            "fs/smb/client/trace.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.0"
            },
            {
              "lessThan": "6.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix locking usage for tcon fields\n\nWe used to use the cifs_tcp_ses_lock to protect a lot of objects\nthat are not just the server, ses or tcon lists. We later introduced\nsrv_lock, ses_lock and tc_lock to protect fields within the\ncorresponding structs. This was done to provide a more granular\nprotection and avoid unnecessary serialization.\n\nThere were still a couple of uses of cifs_tcp_ses_lock to provide\ntcon fields. In this patch, I\u0027ve replaced them with tc_lock."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable CIFS/SMB client code is exercised through SMB protocol activity with a remote server, including DFS referral handling, reconnects, cancelled closes, and cached directory lease cleanup. A malicious or compromised SMB server can influence these network-driven paths after a client connects.\nAC:L - The issue is a locking/refcount race, but the remote SMB peer can repeatedly trigger reconnects, delayed/cancelled responses, DFS behavior, and lease/cached-directory activity to exercise the affected paths. There is no rare configuration or uncontrollable one-shot condition required beyond a CIFS mount being in use.\nPR:N - The attacker does not need privileges on the vulnerable client system; they can act as the SMB server or network peer providing crafted behavior to the CIFS client. Although mounting CIFS locally is privileged, that is victim-side setup/user interaction rather than attacker privileges on the impacted host.\nUI:R - Exploitation requires the client system to mount or otherwise use an SMB/CIFS share, which is a victim/user or administrator action. Once connected, the malicious server can drive the vulnerable network paths.\nS:U - The impact is within the same Linux kernel security authority running the CIFS client. This is standard kernel memory corruption/panic potential, not a VM escape or cross-authority boundary bypass.\nC:H - The inconsistent locking can corrupt the tcon reference count and allow use-after-free of `struct cifs_tcon`. Kernel UAF conditions are reasonably capable of being shaped into memory disclosure primitives.\nI:H - The same premature free and later dereference/use of the tcon object creates kernel heap use-after-free memory corruption. Under the required higher-severity rule, this is treated as potentially exploitable for arbitrary write or control-flow compromise.\nA:H - At minimum, refcount corruption and use-after-free of a live CIFS tcon can lead to kernel oops, panic, or hangs in reconnect/close/DFS workqueue paths. The condition can be triggered repeatedly by malicious SMB server behavior while the share is mounted."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:26:40.744Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/953953abb66e52c224057ab91e404284fefeab62"
        },
        {
          "url": "https://git.kernel.org/stable/c/601dd3b79769b38d30b693c40afdb2a4b7edf9d0"
        },
        {
          "url": "https://git.kernel.org/stable/c/3969db6b22e3d90d8c5f22ac1a7fe0350a94c136"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c59eeeeffa1524ef57e173a89a1a3ff539888d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/96c4af418586ee9a6aab61738644366426e05316"
        }
      ],
      "title": "cifs: Fix locking usage for tcon fields",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43215",
    "datePublished": "2026-05-06T11:28:17.425Z",
    "dateReserved": "2026-05-01T14:12:55.993Z",
    "dateUpdated": "2026-08-05T12:26:40.744Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43215",
      "date": "2026-09-22",
      "epss": "0.00298",
      "percentile": "0.22731"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/client/cached_dir.c",
                  "fs/smb/client/smb2misc.c",
                  "fs/smb/client/smb2ops.c",
                  "fs/smb/client/smb2pdu.c",
                  "fs/smb/client/trace.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "953953abb66e52c224057ab91e404284fefeab62",
                    "status": "affected",
                    "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "601dd3b79769b38d30b693c40afdb2a4b7edf9d0",
                    "status": "affected",
                    "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3969db6b22e3d90d8c5f22ac1a7fe0350a94c136",
                    "status": "affected",
                    "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8c59eeeeffa1524ef57e173a89a1a3ff539888d5",
                    "status": "affected",
                    "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "96c4af418586ee9a6aab61738644366426e05316",
                    "status": "affected",
                    "version": "d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/client/cached_dir.c",
                  "fs/smb/client/smb2misc.c",
                  "fs/smb/client/smb2ops.c",
                  "fs/smb/client/smb2pdu.c",
                  "fs/smb/client/trace.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.0"
                  },
                  {
                    "lessThan": "6.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.128",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.75",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.0",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6FE38AB6-B81E-42D1-8F9E-C6AE1F58C425",
                    "versionEndExcluding": "6.6.128",
                    "versionStartIncluding": "6.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BCE16369-98ED-41CF-8995-DFDC10B288D2",
                    "versionEndExcluding": "6.12.75",
                    "versionStartIncluding": "6.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B",
                    "versionEndExcluding": "6.18.16",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67",
                    "versionEndExcluding": "6.19.6",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix locking usage for tcon fields\n\nWe used to use the cifs_tcp_ses_lock to protect a lot of objects\nthat are not just the server, ses or tcon lists. We later introduced\nsrv_lock, ses_lock and tc_lock to protect fields within the\ncorresponding structs. This was done to provide a more granular\nprotection and avoid unnecessary serialization.\n\nThere were still a couple of uses of cifs_tcp_ses_lock to provide\ntcon fields. In this patch, I\u0027ve replaced them with tc_lock."
          }
        ],
        "id": "CVE-2026-43215",
        "lastModified": "2026-06-17T10:49:10.173",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-05-06T12:16:41.063",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/3969db6b22e3d90d8c5f22ac1a7fe0350a94c136"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/601dd3b79769b38d30b693c40afdb2a4b7edf9d0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/8c59eeeeffa1524ef57e173a89a1a3ff539888d5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/953953abb66e52c224057ab91e404284fefeab62"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/96c4af418586ee9a6aab61738644366426e05316"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-667"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-02T21:44:54+00:00",
      "cve": "CVE-2026-43215",
      "id": "CVE-2026-43215",
      "initial_release_date": "2026-05-06T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: cifs: Fix locking usage for tcon fields",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43215.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T17:07:49Z",
      "cve": "CVE-2026-43215",
      "id": "CVE-2026-43215",
      "initial_release_date": "2026-05-12T03:31:28Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "91",
      "product_status:recommended": "83",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43215",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43215.json",
      "version": "7"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…