In the Linux kernel, the following vulnerability has been resolved:
serial: imx: Introduce timeout when waiting on transmitter empty
By waiting at most 1 second for USR2_TXDC to be set, we avoid a potential deadlock.
In case of the timeout, there is not much we can do, so we simply ignore the transmitter state and optimistically try to continue.
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-0db26e39",
        "digest": {
            "length": 832.0,
            "function_hash": "195849251620323046601323987603712589684"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f9e70c68b7ace0141fe3bc94bf7b61296b71916",
        "target": {
            "function": "imx_uart_console_write",
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-1067874c",
        "digest": {
            "line_hashes": [
                "81746260913693134270097454166045837603",
                "232235631077437940502293025495618748718",
                "316285541635376626354557835155518567150",
                "323435912655871800415628562912064842306",
                "30563838952727266831642278164805793302",
                "265260046257962711202232386170205718776",
                "28548785985715997360122903758039642642",
                "75432510986320164954667882153650042426",
                "322255224005087843242347816144166126399",
                "14141190038670553620876523134822420024",
                "38627088291529789622627567844442617714",
                "97140173459813817040842123494210068588"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@982ae3376c4c91590d38dc8a676c10f7df048a44",
        "target": {
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-32b93363",
        "digest": {
            "length": 815.0,
            "function_hash": "128031127308712928285220655440553416818"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53b2c95547427c358f45515a9f144efee95e3701",
        "target": {
            "function": "imx_uart_console_write",
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-68f0aecb",
        "digest": {
            "line_hashes": [
                "55682211695008449671942389592602261998",
                "122636680958732427760878184184315893740",
                "236916392146744599001170250937746908994",
                "144033830717503220967456541177825779547",
                "30563838952727266831642278164805793302",
                "265260046257962711202232386170205718776",
                "28548785985715997360122903758039642642",
                "75432510986320164954667882153650042426",
                "322255224005087843242347816144166126399",
                "14141190038670553620876523134822420024",
                "38627088291529789622627567844442617714",
                "97140173459813817040842123494210068588"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2b9ab6d0b26f16cd38dd9fd91d51899635f7c7",
        "target": {
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-8498df87",
        "digest": {
            "length": 832.0,
            "function_hash": "195849251620323046601323987603712589684"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2b9ab6d0b26f16cd38dd9fd91d51899635f7c7",
        "target": {
            "function": "imx_uart_console_write",
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-97b45af3",
        "digest": {
            "line_hashes": [
                "81746260913693134270097454166045837603",
                "232235631077437940502293025495618748718",
                "316285541635376626354557835155518567150",
                "323435912655871800415628562912064842306",
                "30563838952727266831642278164805793302",
                "265260046257962711202232386170205718776",
                "28548785985715997360122903758039642642",
                "75432510986320164954667882153650042426",
                "322255224005087843242347816144166126399",
                "14141190038670553620876523134822420024",
                "38627088291529789622627567844442617714",
                "19089448901287246074691439375112627517"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e533e4c62e9993e62e947ae9bbec34e4c7ae81c2",
        "target": {
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-9e131961",
        "digest": {
            "line_hashes": [
                "55682211695008449671942389592602261998",
                "122636680958732427760878184184315893740",
                "236916392146744599001170250937746908994",
                "323435912655871800415628562912064842306",
                "30563838952727266831642278164805793302",
                "265260046257962711202232386170205718776",
                "28548785985715997360122903758039642642",
                "75432510986320164954667882153650042426",
                "322255224005087843242347816144166126399",
                "14141190038670553620876523134822420024",
                "38627088291529789622627567844442617714",
                "97140173459813817040842123494210068588"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f9e70c68b7ace0141fe3bc94bf7b61296b71916",
        "target": {
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-a4448603",
        "digest": {
            "line_hashes": [
                "81746260913693134270097454166045837603",
                "232235631077437940502293025495618748718",
                "316285541635376626354557835155518567150",
                "323435912655871800415628562912064842306",
                "30563838952727266831642278164805793302",
                "265260046257962711202232386170205718776",
                "28548785985715997360122903758039642642",
                "75432510986320164954667882153650042426",
                "322255224005087843242347816144166126399",
                "14141190038670553620876523134822420024",
                "38627088291529789622627567844442617714",
                "19089448901287246074691439375112627517"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53b2c95547427c358f45515a9f144efee95e3701",
        "target": {
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-d7c281e6",
        "digest": {
            "length": 815.0,
            "function_hash": "128031127308712928285220655440553416818"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e533e4c62e9993e62e947ae9bbec34e4c7ae81c2",
        "target": {
            "function": "imx_uart_console_write",
            "file": "drivers/tty/serial/imx.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-40967-e22b2260",
        "digest": {
            "length": 832.0,
            "function_hash": "195849251620323046601323987603712589684"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@982ae3376c4c91590d38dc8a676c10f7df048a44",
        "target": {
            "function": "imx_uart_console_write",
            "file": "drivers/tty/serial/imx.c"
        }
    }
]