CVE-2026-64528 (GCVE-0-2026-64528)

Vulnerability from cvelistv5 – Published: 2026-07-25 09:20 – Updated: 2026-07-25 09:20
VLAI
Title
tty: serial: samsung: Remove redundant port lock acquisition in rx helpers
Summary
In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung: Remove redundant port lock acquisition in rx helpers Sashiko identified a deadlock when the console flow is engaged [1]. When console flow control is enabled (UPF_CONS_FLOW), s3c24xx_serial_stop_tx() calls s3c24xx_serial_rx_enable() and s3c24xx_serial_start_tx() calls s3c24xx_serial_rx_disable(). The serial core framework invokes the .stop_tx() and .start_tx() callbacks with the port->lock spinlock already held. Furthermore, all internal driver paths that invoke stop_tx (such as the DMA TX completion handler s3c24xx_serial_tx_dma_complete() or the PIO TX IRQ handler s3c24xx_serial_tx_irq()) also acquire port->lock prior to calling it. (Note that s3c24xx_serial_start_tx() is only invoked by the serial core). However, s3c24xx_serial_rx_enable() and s3c24xx_serial_rx_disable() unconditionally attempt to acquire port->lock again using uart_port_lock_irqsave(). Since spinlocks are not recursive, this causes a deadlock on the same CPU when console flow control is engaged. Remove the redundant lock acquisition from both rx helper functions.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < ee9eb72be95490602c493db050c73d925c3a4d74 (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < 10014eb7eee351f7b587f8ac85830f0c9343cb9a (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < f4c3e63fa8639aedf96fb200d9939945a9eed51e (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < a9c22e0f93ba18322a6623ecdda2f0cd858ca350 (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < 14143ec10d69f42806b5d7b046f0fd1b835831ae (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < 9fd48937046efc9abb89379d63ee9cc5c661d711 (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < 9c92b42207978559e32903c3098aaf5c5b5788b2 (git)
Affected: b497549a035c2a81b71c7a27f2b00c8a16c09423 , < a3bb136bff5e6a5e48cdd813246c9c4686feaaa9 (git)
Create a notification for this product.
Linux Linux Affected: 2.6.27
Unaffected: 0 , < 2.6.27 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.93 , ≤ 6.12.* (semver)
Unaffected: 6.18.35 , ≤ 6.18.* (semver)
Unaffected: 7.0.12 , ≤ 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": [
            "drivers/tty/serial/samsung_tty.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ee9eb72be95490602c493db050c73d925c3a4d74",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "10014eb7eee351f7b587f8ac85830f0c9343cb9a",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "f4c3e63fa8639aedf96fb200d9939945a9eed51e",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "a9c22e0f93ba18322a6623ecdda2f0cd858ca350",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "14143ec10d69f42806b5d7b046f0fd1b835831ae",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "9fd48937046efc9abb89379d63ee9cc5c661d711",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "9c92b42207978559e32903c3098aaf5c5b5788b2",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            },
            {
              "lessThan": "a3bb136bff5e6a5e48cdd813246c9c4686feaaa9",
              "status": "affected",
              "version": "b497549a035c2a81b71c7a27f2b00c8a16c09423",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/samsung_tty.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.27"
            },
            {
              "lessThan": "2.6.27",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "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.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.12",
              "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": "5.10.259",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.93",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.35",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.12",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntty: serial: samsung: Remove redundant port lock acquisition in rx helpers\n\nSashiko identified a deadlock when the console flow is engaged [1].\n\nWhen console flow control is enabled (UPF_CONS_FLOW),\ns3c24xx_serial_stop_tx() calls s3c24xx_serial_rx_enable() and\ns3c24xx_serial_start_tx() calls s3c24xx_serial_rx_disable().\n\nThe serial core framework invokes the .stop_tx() and .start_tx()\ncallbacks with the port-\u003elock spinlock already held. Furthermore, all\ninternal driver paths that invoke stop_tx (such as the DMA TX\ncompletion handler s3c24xx_serial_tx_dma_complete() or the PIO TX IRQ\nhandler s3c24xx_serial_tx_irq()) also acquire port-\u003elock prior to\ncalling it. (Note that s3c24xx_serial_start_tx() is only invoked by the\nserial core).\n\nHowever, s3c24xx_serial_rx_enable() and s3c24xx_serial_rx_disable()\nunconditionally attempt to acquire port-\u003elock again using\nuart_port_lock_irqsave(). Since spinlocks are not recursive, this\ncauses a deadlock on the same CPU when console flow control is engaged.\n\nRemove the redundant lock acquisition from both rx helper functions."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-25T09:20:51.774Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ee9eb72be95490602c493db050c73d925c3a4d74"
        },
        {
          "url": "https://git.kernel.org/stable/c/10014eb7eee351f7b587f8ac85830f0c9343cb9a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4c3e63fa8639aedf96fb200d9939945a9eed51e"
        },
        {
          "url": "https://git.kernel.org/stable/c/a9c22e0f93ba18322a6623ecdda2f0cd858ca350"
        },
        {
          "url": "https://git.kernel.org/stable/c/14143ec10d69f42806b5d7b046f0fd1b835831ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/9fd48937046efc9abb89379d63ee9cc5c661d711"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c92b42207978559e32903c3098aaf5c5b5788b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/a3bb136bff5e6a5e48cdd813246c9c4686feaaa9"
        }
      ],
      "title": "tty: serial: samsung: Remove redundant port lock acquisition in rx helpers",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64528",
    "datePublished": "2026-07-25T09:20:51.774Z",
    "dateReserved": "2026-07-19T15:36:31.794Z",
    "dateUpdated": "2026-07-25T09:20:51.774Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64528",
      "date": "2026-07-25",
      "epss": "0.0022",
      "percentile": "0.12579"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64528\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:39.187\",\"lastModified\":\"2026-07-25T10:17:39.187\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntty: serial: samsung: Remove redundant port lock acquisition in rx helpers\\n\\nSashiko identified a deadlock when the console flow is engaged [1].\\n\\nWhen console flow control is enabled (UPF_CONS_FLOW),\\ns3c24xx_serial_stop_tx() calls s3c24xx_serial_rx_enable() and\\ns3c24xx_serial_start_tx() calls s3c24xx_serial_rx_disable().\\n\\nThe serial core framework invokes the .stop_tx() and .start_tx()\\ncallbacks with the port-\u003elock spinlock already held. Furthermore, all\\ninternal driver paths that invoke stop_tx (such as the DMA TX\\ncompletion handler s3c24xx_serial_tx_dma_complete() or the PIO TX IRQ\\nhandler s3c24xx_serial_tx_irq()) also acquire port-\u003elock prior to\\ncalling it. (Note that s3c24xx_serial_start_tx() is only invoked by the\\nserial core).\\n\\nHowever, s3c24xx_serial_rx_enable() and s3c24xx_serial_rx_disable()\\nunconditionally attempt to acquire port-\u003elock again using\\nuart_port_lock_irqsave(). Since spinlocks are not recursive, this\\ncauses a deadlock on the same CPU when console flow control is engaged.\\n\\nRemove the redundant lock acquisition from both rx helper functions.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/tty/serial/samsung_tty.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"ee9eb72be95490602c493db050c73d925c3a4d74\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"10014eb7eee351f7b587f8ac85830f0c9343cb9a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"f4c3e63fa8639aedf96fb200d9939945a9eed51e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"a9c22e0f93ba18322a6623ecdda2f0cd858ca350\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"14143ec10d69f42806b5d7b046f0fd1b835831ae\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"9fd48937046efc9abb89379d63ee9cc5c661d711\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"9c92b42207978559e32903c3098aaf5c5b5788b2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b497549a035c2a81b71c7a27f2b00c8a16c09423\",\"lessThan\":\"a3bb136bff5e6a5e48cdd813246c9c4686feaaa9\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/tty/serial/samsung_tty.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.27\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.27\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.93\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.35\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.12\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/10014eb7eee351f7b587f8ac85830f0c9343cb9a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/14143ec10d69f42806b5d7b046f0fd1b835831ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9c92b42207978559e32903c3098aaf5c5b5788b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9fd48937046efc9abb89379d63ee9cc5c661d711\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a3bb136bff5e6a5e48cdd813246c9c4686feaaa9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a9c22e0f93ba18322a6623ecdda2f0cd858ca350\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee9eb72be95490602c493db050c73d925c3a4d74\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4c3e63fa8639aedf96fb200d9939945a9eed51e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



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…

Loading…