CVE-2024-44950 (GCVE-0-2024-44950)
Vulnerability from cvelistv5
Published
2024-09-04 18:35
Modified
2026-08-05 11:37
Summary
In the Linux kernel, the following vulnerability has been resolved: serial: sc16is7xx: fix invalid FIFO access with special register set When enabling access to the special register set, Receiver time-out and RHR interrupts can happen. In this case, the IRQ handler will try to read from the FIFO thru the RHR register at address 0x00, but address 0x00 is mapped to DLL register, resulting in erroneous FIFO reading. Call graph example: sc16is7xx_startup(): entry sc16is7xx_ms_proc(): entry sc16is7xx_set_termios(): entry sc16is7xx_set_baud(): DLH/DLL = $009C --> access special register set sc16is7xx_port_irq() entry --> IIR is 0x0C sc16is7xx_handle_rx() entry sc16is7xx_fifo_read(): --> unable to access FIFO (RHR) because it is mapped to DLL (LCR=LCR_CONF_MODE_A) sc16is7xx_set_baud(): exit --> Restore access to general register set Fix the problem by claiming the efr_lock mutex when accessing the Special register set.
Impacted products
Vendor Product Version
Linux Linux Version: dfeae619d781dee61666d5551b93ba3be755a86b
Version: dfeae619d781dee61666d5551b93ba3be755a86b
Version: dfeae619d781dee61666d5551b93ba3be755a86b
Version: dfeae619d781dee61666d5551b93ba3be755a86b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-44950",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:40:23.237971Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-12T17:33:37.131Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T20:39:00.788Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/sc16is7xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cc6a3f35bc9b3a8da1b195420a2e8d9fdadfa831",
              "status": "affected",
              "version": "dfeae619d781dee61666d5551b93ba3be755a86b",
              "versionType": "git"
            },
            {
              "lessThan": "dc5ead0e8fc5ef53b8553394d4aab60c277976b3",
              "status": "affected",
              "version": "dfeae619d781dee61666d5551b93ba3be755a86b",
              "versionType": "git"
            },
            {
              "lessThan": "6a6730812220a9a5ce4003eb347da1ee5abd06b0",
              "status": "affected",
              "version": "dfeae619d781dee61666d5551b93ba3be755a86b",
              "versionType": "git"
            },
            {
              "lessThan": "7d3b793faaab1305994ce568b59d61927235f57b",
              "status": "affected",
              "version": "dfeae619d781dee61666d5551b93ba3be755a86b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/sc16is7xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.120",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.64",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.5",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sc16is7xx: fix invalid FIFO access with special register set\n\nWhen enabling access to the special register set, Receiver time-out and\nRHR interrupts can happen. In this case, the IRQ handler will try to read\nfrom the FIFO thru the RHR register at address 0x00, but address 0x00 is\nmapped to DLL register, resulting in erroneous FIFO reading.\n\nCall graph example:\n    sc16is7xx_startup(): entry\n    sc16is7xx_ms_proc(): entry\n    sc16is7xx_set_termios(): entry\n    sc16is7xx_set_baud(): DLH/DLL = $009C --\u003e access special register set\n    sc16is7xx_port_irq() entry            --\u003e IIR is 0x0C\n    sc16is7xx_handle_rx() entry\n    sc16is7xx_fifo_read(): --\u003e unable to access FIFO (RHR) because it is\n                               mapped to DLL (LCR=LCR_CONF_MODE_A)\n    sc16is7xx_set_baud(): exit --\u003e Restore access to general register set\n\nFix the problem by claiming the efr_lock mutex when accessing the Special\nregister set."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable window is opened by `sc16is7xx_set_termios()`\u2192`sc16is7xx_set_baud()`, reached from a local `TCSETS`/`tcsetattr` ioctl or `open()` on `/dev/ttySC*`, and the racing interrupt side (THRI, and RX via `TIOCM_LOOP`) is also generated locally. No network or physical access to the serial line is required.\nAC:L - The attacker controls both sides of the race \u2014 looping `tcsetattr` while writing to the port generates THRI/RX interrupts on demand \u2014 and the window spans several SPI/I2C register transactions (tens of microseconds), so it is hit reliably; the commit message documents it occurring during ordinary port startup.\nPR:L - Requires only an unprivileged account with access to the tty device node (dialout group, or the common embedded/IoT case where the SC16IS7xx port is user-accessible); no root or capability is needed.\nUI:N - The attacking process performs the termios changes and the port I/O itself; no victim action is required.\nS:U - The corruption is confined to the kernel\u0027s own serial driver state and the UART bridge it manages, with no crossing into a different security authority such as a hypervisor or IOMMU domain.\nC:N - `rxlen` is clamped to `sizeof(one-\u003ebuf)` before `regmap_noinc_read()`, so there is no out-of-bounds or uninitialized-memory read; the bytes wrongly returned are the DLL baud-divisor register the attacker set itself, disclosing no kernel or other-user data.\nI:H - Attacker-chosen bytes (the DLL divisor value) are injected into the RX stream delivered to whichever process reads the port, and concurrent THR/IER writes land in DLL/DLH, corrupting the baud divisor and permanently desynchronizing regmap\u0027s register cache from the hardware \u2014 a serious integrity failure on links carrying control traffic (RS-485/Modbus field buses, consoles, modems).\nA:H - The lost IER write leaves THRI enabled in hardware while the cache believes it is cleared, so subsequent `regmap_update_bits()` calls are elided and `sc16is7xx_irq()`\u0027s `do {} while (keep_polling)` loop never terminates \u2014 a hung threaded IRQ handler, a saturated shared SPI/I2C bus, and a permanently unusable serial port."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:37:15.955Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cc6a3f35bc9b3a8da1b195420a2e8d9fdadfa831"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc5ead0e8fc5ef53b8553394d4aab60c277976b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a6730812220a9a5ce4003eb347da1ee5abd06b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/7d3b793faaab1305994ce568b59d61927235f57b"
        }
      ],
      "title": "serial: sc16is7xx: fix invalid FIFO access with special register set",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-44950",
    "datePublished": "2024-09-04T18:35:50.602Z",
    "dateReserved": "2024-08-21T05:34:56.665Z",
    "dateUpdated": "2026-08-05T11:37:15.955Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T20:39:00.788Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-44950\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:40:23.237971Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:27.682Z\"}}], \"cna\": {\"title\": \"serial: sc16is7xx: fix invalid FIFO access with special register set\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"dfeae619d781dee61666d5551b93ba3be755a86b\", \"lessThan\": \"cc6a3f35bc9b3a8da1b195420a2e8d9fdadfa831\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dfeae619d781dee61666d5551b93ba3be755a86b\", \"lessThan\": \"dc5ead0e8fc5ef53b8553394d4aab60c277976b3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dfeae619d781dee61666d5551b93ba3be755a86b\", \"lessThan\": \"6a6730812220a9a5ce4003eb347da1ee5abd06b0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dfeae619d781dee61666d5551b93ba3be755a86b\", \"lessThan\": \"7d3b793faaab1305994ce568b59d61927235f57b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/tty/serial/sc16is7xx.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.120\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.64\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/tty/serial/sc16is7xx.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cc6a3f35bc9b3a8da1b195420a2e8d9fdadfa831\"}, {\"url\": \"https://git.kernel.org/stable/c/dc5ead0e8fc5ef53b8553394d4aab60c277976b3\"}, {\"url\": \"https://git.kernel.org/stable/c/6a6730812220a9a5ce4003eb347da1ee5abd06b0\"}, {\"url\": \"https://git.kernel.org/stable/c/7d3b793faaab1305994ce568b59d61927235f57b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nserial: sc16is7xx: fix invalid FIFO access with special register set\\n\\nWhen enabling access to the special register set, Receiver time-out and\\nRHR interrupts can happen. In this case, the IRQ handler will try to read\\nfrom the FIFO thru the RHR register at address 0x00, but address 0x00 is\\nmapped to DLL register, resulting in erroneous FIFO reading.\\n\\nCall graph example:\\n    sc16is7xx_startup(): entry\\n    sc16is7xx_ms_proc(): entry\\n    sc16is7xx_set_termios(): entry\\n    sc16is7xx_set_baud(): DLH/DLL = $009C --\u003e access special register set\\n    sc16is7xx_port_irq() entry            --\u003e IIR is 0x0C\\n    sc16is7xx_handle_rx() entry\\n    sc16is7xx_fifo_read(): --\u003e unable to access FIFO (RHR) because it is\\n                               mapped to DLL (LCR=LCR_CONF_MODE_A)\\n    sc16is7xx_set_baud(): exit --\u003e Restore access to general register set\\n\\nFix the problem by claiming the efr_lock mutex when accessing the Special\\nregister set.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.120\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.64\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.5\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"3.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T20:32:36.594Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-44950\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T20:32:36.594Z\", \"dateReserved\": \"2024-08-21T05:34:56.665Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-04T18:35:50.602Z\", \"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…