{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-54299",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-12-30T12:06:44.528Z",
        "datePublished": "2025-12-30T12:23:35.146Z",
        "dateUpdated": "2026-05-11T19:59:16.752Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:59:16.752Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: bus: verify partner exists in typec_altmode_attention\n\nSome usb hubs will negotiate DisplayPort Alt mode with the device\nbut will then negotiate a data role swap after entering the alt\nmode. The data role swap causes the device to unregister all alt\nmodes, however the usb hub will still send Attention messages\neven after failing to reregister the Alt Mode. type_altmode_attention\ncurrently does not verify whether or not a device's altmode partner\nexists, which results in a NULL pointer error when dereferencing\nthe typec_altmode and typec_altmode_ops belonging to the altmode\npartner.\n\nVerify the presence of a device's altmode partner before sending\nthe Attention message to the Alt Mode driver."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/typec/bus.c",
                        "drivers/usb/typec/tcpm/tcpm.c",
                        "include/linux/usb/typec_altmode.h"
                    ],
                    "versions": [
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "5f71716772b88cbe0e1788f6a38d7871aff2120b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "38e1f2ee82bacbbfded8f1c06794a443d038d054",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "0ad6bad31da692f8d7acacab07eabe7586239ae0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "0d3b5fe47938e9c451466845304a2bd74e967a80",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "d49547950bf7f3480d6ca05fe055978e5f0d9e5b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "1101867a1711c27d8bbe0e83136bec47f8c1ca2a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
                            "lessThan": "f23643306430f86e2f413ee2b986e0773e79da31",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/typec/bus.c",
                        "drivers/usb/typec/tcpm/tcpm.c",
                        "include/linux/usb/typec_altmode.h"
                    ],
                    "versions": [
                        {
                            "version": "4.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.257",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.195",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.132",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.53",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.16",
                            "lessThanOrEqual": "6.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5.3",
                            "lessThanOrEqual": "6.5.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6",
                            "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": "4.19",
                                    "versionEndExcluding": "5.4.257"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "5.10.195"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "5.15.132"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.1.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.4.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.5.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31"
                }
            ],
            "title": "usb: typec: bus: verify partner exists in typec_altmode_attention",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}