CVE-2023-54306 (GCVE-0-2023-54306)
Vulnerability from cvelistv5
Published
2025-12-30 12:23
Modified
2026-10-15 21:41
Summary
In the Linux kernel, the following vulnerability has been resolved: net: tls: avoid hanging tasks on the tx_lock syzbot sent a hung task report and Eric explains that adversarial receiver may keep RWIN at 0 for a long time, so we are not guaranteed to make forward progress. Thread which took tx_lock and went to sleep may not release tx_lock for hours. Use interruptible sleep where possible and reschedule the work if it can't take the lock. Testing: existing selftest passes
Impacted products
Vendor Product Version
Linux Linux Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: 79ffe6087e9145d2377385cac48d0d6a6b4225a5
Version: c8d6817345f4ba228d07380e571676405e112872
Version: 5.3.11   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-54306",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T21:40:10.978521Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-15T21:41:44.334Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bde541a57b4204d0a800afbbd3d1c06c9cdb133f",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "lessThan": "7123a4337bf73132bbfb5437e4dc83ba864a9a1e",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "lessThan": "be5d5d0637fd88c18ee76024bdb22649a1de00d6",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "lessThan": "1f800f6aae57d2d8f63d32fff383017cbc11cf65",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "lessThan": "ccf1ccdc5926907befbe880b562b2a4b5f44c087",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "lessThan": "f3221361dc85d4de22586ce8441ec2c67b454f5d",
              "status": "affected",
              "version": "79ffe6087e9145d2377385cac48d0d6a6b4225a5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c8d6817345f4ba228d07380e571676405e112872",
              "versionType": "git"
            },
            {
              "lessThan": "5.4",
              "status": "affected",
              "version": "5.3.11",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.100",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.100",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.18",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.5",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.3.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: tls: avoid hanging tasks on the tx_lock\n\nsyzbot sent a hung task report and Eric explains that adversarial\nreceiver may keep RWIN at 0 for a long time, so we are not guaranteed\nto make forward progress. Thread which took tx_lock and went to sleep\nmay not release tx_lock for hours. Use interruptible sleep where\npossible and reschedule the work if it can\u0027t take the lock.\n\nTesting: existing selftest passes"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The condition that causes the tx_lock holder to sleep indefinitely is a zero TCP receive window advertised by the remote TLS peer, so a remote attacker on the network triggers the hang purely through TCP-level behavior against a kTLS-using service (nginx/OpenSSL kTLS, NFS-over-TLS tlshd, etc.). Per kernel scoring guidance, net/tls bugs driven by a remote peer are Network.\nAC:L - The attacker deterministically creates and holds the zero-window condition simply by not reading from the socket; there is no race to win, no memory-layout dependency, and no condition outside the attacker\u0027s control. A single sender is sufficient because the partial-send path itself schedules tx_work, which then blocks a kworker on the mutex.\nPR:N - The attacker is just an ordinary TLS peer of the victim service and needs no credentials on the target; for a public HTTPS/TLS endpoint the kTLS session is established with no authentication. No local account or capability on the victim system is required.\nUI:N - The victim service simply serves data over its normal kTLS send path; no administrator or user action beyond routine operation is needed. The hang occurs automatically once the attacker stalls the window.\nS:U - The impact is confined to the kernel/system that owns the vulnerable socket \u2014 blocked tasks, pinned kworkers, and a potential panic. No security boundary such as a VM, IOMMU, or sandbox is crossed.\nC:N - The defect is a lock-hold/scheduling problem with no out-of-bounds access, no use-after-free, and no uninitialized data exposure. No kernel memory contents are disclosed to the attacker.\nI:N - Nothing is written out of bounds or modified incorrectly; the record data itself is unaffected and eventually sent or discarded normally. There is no write primitive or control-flow influence available from this bug.\nA:H - The uninterruptible mutex waiters (tx_work_handler kworker, concurrent senders, and close()/exit via cancel_delayed_work_sync) become unkillable D-state tasks, tripping the hung-task watchdog and causing a kernel panic on systems with hung_task_panic=1. Even without panic, each stalled connection permanently pins a global system_wq worker (max_active 256), so repeated attacker connections starve the shared workqueue and wedge unrelated kernel work."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:19:05.796Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bde541a57b4204d0a800afbbd3d1c06c9cdb133f"
        },
        {
          "url": "https://git.kernel.org/stable/c/7123a4337bf73132bbfb5437e4dc83ba864a9a1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/be5d5d0637fd88c18ee76024bdb22649a1de00d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f800f6aae57d2d8f63d32fff383017cbc11cf65"
        },
        {
          "url": "https://git.kernel.org/stable/c/ccf1ccdc5926907befbe880b562b2a4b5f44c087"
        },
        {
          "url": "https://git.kernel.org/stable/c/f3221361dc85d4de22586ce8441ec2c67b454f5d"
        }
      ],
      "title": "net: tls: avoid hanging tasks on the tx_lock",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54306",
    "datePublished": "2025-12-30T12:23:39.833Z",
    "dateReserved": "2025-12-30T12:06:44.529Z",
    "dateUpdated": "2026-10-15T21:41:44.334Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-54306\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-15T21:40:10.978521Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-15T21:40:11.767Z\"}}], \"cna\": {\"title\": \"net: tls: avoid hanging tasks on the tx_lock\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The condition that causes the tx_lock holder to sleep indefinitely is a zero TCP receive window advertised by the remote TLS peer, so a remote attacker on the network triggers the hang purely through TCP-level behavior against a kTLS-using service (nginx/OpenSSL kTLS, NFS-over-TLS tlshd, etc.). Per kernel scoring guidance, net/tls bugs driven by a remote peer are Network.\\nAC:L - The attacker deterministically creates and holds the zero-window condition simply by not reading from the socket; there is no race to win, no memory-layout dependency, and no condition outside the attacker\u0027s control. A single sender is sufficient because the partial-send path itself schedules tx_work, which then blocks a kworker on the mutex.\\nPR:N - The attacker is just an ordinary TLS peer of the victim service and needs no credentials on the target; for a public HTTPS/TLS endpoint the kTLS session is established with no authentication. No local account or capability on the victim system is required.\\nUI:N - The victim service simply serves data over its normal kTLS send path; no administrator or user action beyond routine operation is needed. The hang occurs automatically once the attacker stalls the window.\\nS:U - The impact is confined to the kernel/system that owns the vulnerable socket \\u2014 blocked tasks, pinned kworkers, and a potential panic. No security boundary such as a VM, IOMMU, or sandbox is crossed.\\nC:N - The defect is a lock-hold/scheduling problem with no out-of-bounds access, no use-after-free, and no uninitialized data exposure. No kernel memory contents are disclosed to the attacker.\\nI:N - Nothing is written out of bounds or modified incorrectly; the record data itself is unaffected and eventually sent or discarded normally. There is no write primitive or control-flow influence available from this bug.\\nA:H - The uninterruptible mutex waiters (tx_work_handler kworker, concurrent senders, and close()/exit via cancel_delayed_work_sync) become unkillable D-state tasks, tripping the hung-task watchdog and causing a kernel panic on systems with hung_task_panic=1. Even without panic, each stalled connection permanently pins a global system_wq worker (max_active 256), so repeated attacker connections starve the shared workqueue and wedge unrelated kernel work.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"bde541a57b4204d0a800afbbd3d1c06c9cdb133f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"7123a4337bf73132bbfb5437e4dc83ba864a9a1e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"be5d5d0637fd88c18ee76024bdb22649a1de00d6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"1f800f6aae57d2d8f63d32fff383017cbc11cf65\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"ccf1ccdc5926907befbe880b562b2a4b5f44c087\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"79ffe6087e9145d2377385cac48d0d6a6b4225a5\", \"lessThan\": \"f3221361dc85d4de22586ce8441ec2c67b454f5d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c8d6817345f4ba228d07380e571676405e112872\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5.3.11\", \"lessThan\": \"5.4\", \"versionType\": \"semver\"}], \"programFiles\": [\"net/tls/tls_sw.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.4\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.4\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.235\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.173\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.100\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.18\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.2.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.2.*\"}, {\"status\": \"unaffected\", \"version\": \"6.3\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/tls/tls_sw.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bde541a57b4204d0a800afbbd3d1c06c9cdb133f\"}, {\"url\": \"https://git.kernel.org/stable/c/7123a4337bf73132bbfb5437e4dc83ba864a9a1e\"}, {\"url\": \"https://git.kernel.org/stable/c/be5d5d0637fd88c18ee76024bdb22649a1de00d6\"}, {\"url\": \"https://git.kernel.org/stable/c/1f800f6aae57d2d8f63d32fff383017cbc11cf65\"}, {\"url\": \"https://git.kernel.org/stable/c/ccf1ccdc5926907befbe880b562b2a4b5f44c087\"}, {\"url\": \"https://git.kernel.org/stable/c/f3221361dc85d4de22586ce8441ec2c67b454f5d\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: tls: avoid hanging tasks on the tx_lock\\n\\nsyzbot sent a hung task report and Eric explains that adversarial\\nreceiver may keep RWIN at 0 for a long time, so we are not guaranteed\\nto make forward progress. Thread which took tx_lock and went to sleep\\nmay not release tx_lock for hours. Use interruptible sleep where\\npossible and reschedule the work if it can\u0027t take the lock.\\n\\nTesting: existing selftest passes\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.235\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.173\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.100\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.18\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.2.5\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.3\", \"versionStartIncluding\": \"5.4\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.3.11\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T09:19:05.796Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-54306\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-15T21:41:44.334Z\", \"dateReserved\": \"2025-12-30T12:06:44.529Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-12-30T12:23:39.833Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…