{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-44951",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-21T05:34:56.665Z",
        "datePublished": "2024-09-04T18:35:51.366Z",
        "dateUpdated": "2026-08-05T11:37:17.012Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:37:17.012Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sc16is7xx: fix TX fifo corruption\n\nSometimes, when a packet is received on channel A at almost the same time\nas a packet is about to be transmitted on channel B, we observe with a\nlogic analyzer that the received packet on channel A is transmitted on\nchannel B. In other words, the Tx buffer data on channel B is corrupted\nwith data from channel A.\n\nThe problem appeared since commit 4409df5866b7 (\"serial: sc16is7xx: change\nEFR lock to operate on each channels\"), which changed the EFR locking to\noperate on each channel instead of chip-wise.\n\nThis commit has introduced a regression, because the EFR lock is used not\nonly to protect the EFR registers access, but also, in a very obscure and\nundocumented way, to protect access to the data buffer, which is shared by\nthe Tx and Rx handlers, but also by each channel of the IC.\n\nFix this regression first by switching to kfifo_out_linear_ptr() in\nsc16is7xx_handle_tx() to eliminate the need for a shared Rx/Tx buffer.\n\nSecondly, replace the chip-wise Rx buffer with a separate Rx buffer for\neach channel."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Both sides of the race are driven purely from local userspace — `write(2)` on one `/dev/ttySC*` node queues `tx_work` into the chip kworker while `read(2)`/incoming traffic on the sibling channel runs the threaded-IRQ RX handler. No network path exists, but no physical access is needed either, since the corrupting write and the observable leak both occur through tty device nodes.\nAC:L - The unprotected window spans an entire SPI/I²C bus transfer of up to 64 bytes, and the attacker can keep one channel transmitting continuously to re-arm the race indefinitely at no cost. The upstream report confirms the corruption occurs spontaneously under normal dual-channel traffic, so no condition beyond the attacker's control is required.\nPR:L - The attacker needs only open/read/write access to one of the chip's tty nodes, which on the embedded, industrial and automotive systems using SC16IS75x/76x bridges is granted to ordinary users via the dialout group or service accounts. No CAP_SYS_ADMIN or root is required anywhere on the path.\nUI:N - The race is triggered by the attacker's own writes racing against ambient traffic on the sibling channel; no victim action is needed. The victim process is affected simply by using its own serial port normally.\nS:U - The vulnerable driver and all impacted resources (the tty ports it manages) are within the same kernel security authority. No VM, IOMMU or sandbox boundary is crossed.\nC:H - The race copies one channel's data into the other's stream in both directions — channel A's received bytes are emitted on channel B's physical wire, and channel B's transmit payload appears in channel A's tty read buffer where a different, lower-privileged user can read it. Because the attacker can sustain the race by flooding its own channel, a large fraction of the victim channel's traffic (console output, credentials, modem/AT sequences, metering or control data) can be harvested over time.\nI:H - Attacker-supplied bytes written to one tty are injected into the other channel's receive stream and are consumed by the victim as legitimate serial input — including passing through `uart_handle_sysrq_char()` on a console channel — while the victim's intended TX payload is silently replaced with foreign data on the wire. This is unauthenticated modification of another security context's data stream and of the commands actually delivered to attached hardware.\nA:H - Data taken from `xmit_fifo` by `uart_fifo_out()` is destroyed when overwritten, so the victim channel's traffic is permanently lost, and the attacker can sustain this by keeping its own channel busy. For the RS-485 control buses, modem links and serial consoles these bridge chips serve, continuous corruption renders the link unusable — a total loss of that communication resource."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/tty/serial/sc16is7xx.c"
                    ],
                    "versions": [
                        {
                            "version": "4409df5866b7ff7686ba27e449ca97a92ee063c9",
                            "lessThan": "09cfe05e9907f3276887a20e267cc40e202f4fdd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4409df5866b7ff7686ba27e449ca97a92ee063c9",
                            "lessThan": "133f4c00b8b2bfcacead9b81e7e8edfceb4b06c4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b068e55bf5ea7bab4d8a282c6a24b03e80c0b68",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9879e1bec3c0f077427dd0d258c80c63ce9babdf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dbe196ca489f3833e0f9eeb86ac346194f131c91",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.76",
                            "lessThan": "6.2",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.15",
                            "lessThan": "6.7",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.3",
                            "lessThan": "6.8",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/tty/serial/sc16is7xx.c"
                    ],
                    "versions": [
                        {
                            "version": "6.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.10.5",
                            "lessThanOrEqual": "6.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.10.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.11"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.76"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.15"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/09cfe05e9907f3276887a20e267cc40e202f4fdd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/133f4c00b8b2bfcacead9b81e7e8edfceb4b06c4"
                }
            ],
            "title": "serial: sc16is7xx: fix TX fifo corruption",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-44951",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T17:40:19.986023Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-12T17:33:36.992Z"
                }
            }
        ]
    }
}