CVE-2026-53274 (GCVE-0-2026-53274)

Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-06-25 08:39
VLAI
Title
net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS
Summary
In the Linux kernel, the following vulnerability has been resolved: net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS A logic flaw in __smc_setsockopt() allows a local unprivileged user to cause a Denial of Service (DoS) by holding the socket lock indefinitely. The function __smc_setsockopt() calls copy_from_sockptr() while holding lock_sock(sk). By passing a userfaultfd-monitored memory page (or FUSE-backed memory on systems where unprivileged userfaultfd is disabled) as the optval, an attacker can halt execution during the copy operation, keeping the lock held. Combined with asynchronous tear-down operations like shutdown(), this exhausts the kernel wq (kworkers) and triggers the hung task watchdog. [ 240.123456] INFO: task kworker/u8:2 blocked for more than 120 seconds. [ 240.123489] Call Trace: [ 240.123501] smc_shutdown+... [ 240.123512] lock_sock_nested+... This patch moves the user-space copy outside the lock_sock() critical section to prevent the issue.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < 35a22117839602bb52283de08894c5a7dde92420 (git)
Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < 5d27d2ffe487df89ce28fda0410eafa05dbe03a0 (git)
Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < 89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 (git)
Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < dcd90f42a33e4220385f27b515183d0c91b2fc4a (git)
Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < 94d286fa5eedc550d42bcb9c85416af8f77736ff (git)
Affected: a6a6fe27bab48f0d09a64b051e7bde432fcae081 , < a3fdd924d88c30b9f488636ce0e4696012cf5511 (git)
Create a notification for this product.
Linux Linux Affected: 5.18
Unaffected: 0 , < 5.18 (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.94 , ≤ 6.12.* (semver)
Unaffected: 6.18.36 , ≤ 6.18.* (semver)
Unaffected: 7.0.13 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/smc/af_smc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "35a22117839602bb52283de08894c5a7dde92420",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            },
            {
              "lessThan": "5d27d2ffe487df89ce28fda0410eafa05dbe03a0",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            },
            {
              "lessThan": "89f6fbe0033c942cb790ffd53ca93a45eeaf1c91",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            },
            {
              "lessThan": "dcd90f42a33e4220385f27b515183d0c91b2fc4a",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            },
            {
              "lessThan": "94d286fa5eedc550d42bcb9c85416af8f77736ff",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            },
            {
              "lessThan": "a3fdd924d88c30b9f488636ce0e4696012cf5511",
              "status": "affected",
              "version": "a6a6fe27bab48f0d09a64b051e7bde432fcae081",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/smc/af_smc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS\n\nA logic flaw in __smc_setsockopt() allows a local unprivileged user to\ncause a Denial of Service (DoS) by holding the socket lock indefinitely.\n\nThe function __smc_setsockopt() calls copy_from_sockptr() while holding\nlock_sock(sk). By passing a userfaultfd-monitored memory page (or\nFUSE-backed memory on systems where unprivileged userfaultfd is disabled)\nas the optval, an attacker can halt execution during the copy operation,\nkeeping the lock held.\n\nCombined with asynchronous tear-down operations like shutdown(), this\nexhausts the kernel wq (kworkers) and triggers the hung task watchdog.\n\n[  240.123456] INFO: task kworker/u8:2 blocked for more than 120 seconds.\n[  240.123489] Call Trace:\n[  240.123501]  smc_shutdown+...\n[  240.123512]  lock_sock_nested+...\n\nThis patch moves the user-space copy outside the lock_sock() critical\nsection to prevent the issue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-25T08:39:58.478Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/35a22117839602bb52283de08894c5a7dde92420"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a"
        },
        {
          "url": "https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff"
        },
        {
          "url": "https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511"
        }
      ],
      "title": "net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53274",
    "datePublished": "2026-06-25T08:39:58.478Z",
    "dateReserved": "2026-06-09T07:44:35.395Z",
    "dateUpdated": "2026-06-25T08:39:58.478Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53274",
      "date": "2026-06-26",
      "epss": "0.00181",
      "percentile": "0.0785"
    }
  }
}


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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…