CVE-2026-43379 (GCVE-0-2026-43379)

Vulnerability from cvelistv5 – Published: 2026-05-08 14:21 – Updated: 2026-08-05 12:27
VLAI
Title
ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close() opinfo pointer obtained via rcu_dereference(fp->f_opinfo) is being accessed after rcu_read_unlock() has been called. This creates a race condition where the memory could be freed by a concurrent writer between the unlock and the subsequent pointer dereferences (opinfo->is_lease, etc.), leading to a use-after-free.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 27b40b7bfcd121fe13a150ffe11957630cf49246 , < bf4d66d72e4a9e268c1012c331ce9eaedb5e2086 (git)
Affected: 5fb282ba4fef8985a5acf2b32681f2ec07732561 , < 960699317d39f46611f4ebeb69edc567c1f4e6b6 (git)
Affected: 5fb282ba4fef8985a5acf2b32681f2ec07732561 , < dbbd328cf58261ca239756fe1c0d10c9518d3399 (git)
Affected: 5fb282ba4fef8985a5acf2b32681f2ec07732561 , < b3568347c51c46e2cabc356bc34676df98296619 (git)
Affected: 5fb282ba4fef8985a5acf2b32681f2ec07732561 , < eac3361e3d5dd8067b3258c69615888eb45e9f25 (git)
Affected: 6.6.32 , < 6.6.130 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.78 , ≤ 6.12.* (semver)
Unaffected: 6.18.19 , ≤ 6.18.* (semver)
Unaffected: 6.19.9 , ≤ 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/server/oplock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bf4d66d72e4a9e268c1012c331ce9eaedb5e2086",
              "status": "affected",
              "version": "27b40b7bfcd121fe13a150ffe11957630cf49246",
              "versionType": "git"
            },
            {
              "lessThan": "960699317d39f46611f4ebeb69edc567c1f4e6b6",
              "status": "affected",
              "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
              "versionType": "git"
            },
            {
              "lessThan": "dbbd328cf58261ca239756fe1c0d10c9518d3399",
              "status": "affected",
              "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
              "versionType": "git"
            },
            {
              "lessThan": "b3568347c51c46e2cabc356bc34676df98296619",
              "status": "affected",
              "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
              "versionType": "git"
            },
            {
              "lessThan": "eac3361e3d5dd8067b3258c69615888eb45e9f25",
              "status": "affected",
              "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.130",
              "status": "affected",
              "version": "6.6.32",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/oplock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.9",
              "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.130",
                  "versionStartIncluding": "6.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.19",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.9",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()\n\nopinfo pointer obtained via rcu_dereference(fp-\u003ef_opinfo) is being\naccessed after rcu_read_unlock() has been called. This creates a\nrace condition where the memory could be freed by a concurrent\nwriter between the unlock and the subsequent pointer dereferences\n(opinfo-\u003eis_lease, etc.), leading to a use-after-free."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - ksmbd processes SMB2 traffic over the network on TCP/445, and the vulnerable close path is reached through SMB2 create/write/close requests from a remote client.\nAC:L - The attacker can create v2 lease state, trigger `reserve_lease_break` with SMB2 write, and repeatedly drive concurrent close/opinfo teardown using their own SMB requests or connections. The race is attacker-influenced and repeatable, so no external uncontrollable condition is required.\nPR:N - The path is post-session/tree-connect, but ksmbd supports guest/anonymous sessions and guest-access shares; in that reasonable deployment no prior credentials are needed. Under the required higher-severity rule, this is scored as no privileges required.\nUI:N - No victim user action is required after the ksmbd service and share are available; the attacker sends SMB requests directly.\nS:U - The vulnerable component and impacted resources are the same kernel/ksmbd security authority. This is not a VM escape, IOMMU bypass, or cross-scope boundary violation.\nC:H - This is a use-after-free of `oplock_info`/lease state after dropping the RCU read lock. Freed kernel objects may be reclaimed and shaped through repeated SMB activity, making high confidentiality impact defensible.\nI:H - Use-after-free in kernel heap objects can be leveraged beyond a crash through object reuse and control-flow or data-structure corruption. Following the required UAF guidance, integrity impact is high.\nA:H - Even without full exploitation, dereferencing freed `oplock_info` or `o_lease` memory can cause a kernel oops or panic. The vulnerable path is remotely triggerable and repeatable, so availability impact is high."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:27:39.686Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bf4d66d72e4a9e268c1012c331ce9eaedb5e2086"
        },
        {
          "url": "https://git.kernel.org/stable/c/960699317d39f46611f4ebeb69edc567c1f4e6b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/dbbd328cf58261ca239756fe1c0d10c9518d3399"
        },
        {
          "url": "https://git.kernel.org/stable/c/b3568347c51c46e2cabc356bc34676df98296619"
        },
        {
          "url": "https://git.kernel.org/stable/c/eac3361e3d5dd8067b3258c69615888eb45e9f25"
        }
      ],
      "title": "ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43379",
    "datePublished": "2026-05-08T14:21:28.027Z",
    "dateReserved": "2026-05-01T14:12:56.006Z",
    "dateUpdated": "2026-08-05T12:27:39.686Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43379",
      "date": "2026-09-25",
      "epss": "0.00652",
      "percentile": "0.49108"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/oplock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "bf4d66d72e4a9e268c1012c331ce9eaedb5e2086",
                    "status": "affected",
                    "version": "27b40b7bfcd121fe13a150ffe11957630cf49246",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "960699317d39f46611f4ebeb69edc567c1f4e6b6",
                    "status": "affected",
                    "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dbbd328cf58261ca239756fe1c0d10c9518d3399",
                    "status": "affected",
                    "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b3568347c51c46e2cabc356bc34676df98296619",
                    "status": "affected",
                    "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "eac3361e3d5dd8067b3258c69615888eb45e9f25",
                    "status": "affected",
                    "version": "5fb282ba4fef8985a5acf2b32681f2ec07732561",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.6.130",
                    "status": "affected",
                    "version": "6.6.32",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/oplock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.9"
                  },
                  {
                    "lessThan": "6.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.130",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.78",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.19",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.9",
                    "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": "D1E711D7-AEFA-4401-A4BA-765B56DBA77E",
                    "versionEndExcluding": "6.6.130",
                    "versionStartIncluding": "6.6.32",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D1D90B78-24E3-418D-A238-3FE23C32239B",
                    "versionEndExcluding": "6.12.78",
                    "versionStartIncluding": "6.9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D394AC60-6F28-435F-872A-CCDF384B8331",
                    "versionEndExcluding": "6.18.19",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E825E7C3-FEAC-4FD3-8A81-78D7387948C9",
                    "versionEndExcluding": "6.19.9",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "F253B622-8837-4245-BCE5-A7BF8FC76A16",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "4AE85AD8-4641-4E7C-A2F4-305E2CD9EE64",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "F666C8D8-6538-46D4-B318-87610DE64C34",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()\n\nopinfo pointer obtained via rcu_dereference(fp-\u003ef_opinfo) is being\naccessed after rcu_read_unlock() has been called. This creates a\nrace condition where the memory could be freed by a concurrent\nwriter between the unlock and the subsequent pointer dereferences\n(opinfo-\u003eis_lease, etc.), leading to a use-after-free."
          }
        ],
        "id": "CVE-2026-43379",
        "lastModified": "2026-06-17T10:49:29.263",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-05-08T15:16:49.100",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/960699317d39f46611f4ebeb69edc567c1f4e6b6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/b3568347c51c46e2cabc356bc34676df98296619"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/bf4d66d72e4a9e268c1012c331ce9eaedb5e2086"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/dbbd328cf58261ca239756fe1c0d10c9518d3399"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/eac3361e3d5dd8067b3258c69615888eb45e9f25"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-416"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T07:37:15+00:00",
      "cve": "CVE-2026-43379",
      "id": "CVE-2026-43379",
      "initial_release_date": "2026-05-08T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43379.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-11T01:18:08Z",
      "cve": "CVE-2026-43379",
      "id": "CVE-2026-43379",
      "initial_release_date": "2026-05-12T03:30:29Z",
      "product_status:known_affected": "17",
      "product_status:known_not_affected": "370",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43379",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43379.json",
      "version": "6"
    }
  }
}



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…