{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-93056",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-17T15:57:05.659Z",
        "datePublished": "2026-09-17T16:10:44.442Z",
        "dateUpdated": "2026-10-19T09:04:52.242Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:04:52.242Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_uac1_legacy: remove broken string configfs attributes\n\nThe UAC1_STR_ATTRIBUTE macro defines configfs show/store handlers for\nthe fn_play, fn_cap, and fn_cntl string options. The store function\ncontains an inverted null check on the kstrndup() return value.\n\nThis means every write attempt returns -ENOMEM on success and\ndereferences a NULL pointer on allocation failure. The attributes\nhave been broken and unused for many years.\n\nRemove the UAC1_STR_ATTRIBUTE macro and the three attributes it\ngenerated. The internal defaults (FILE_PCM_PLAYBACK, FILE_PCM_CAPTURE,\nFILE_CONTROL) set in f_audio_alloc_inst() are unaffected."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy",
                        "Documentation/usb/gadget-testing.rst",
                        "drivers/usb/gadget/function/f_uac1_legacy.c",
                        "drivers/usb/gadget/function/u_uac1_legacy.h"
                    ],
                    "versions": [
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "745adfe6c337f3d5d7737d57529d14a208151b45",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "6351ba62778f72dc4f6bc18bfa99e618829cff0d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "021b58ac3e58cffa68ed9585ff492a19e98414f6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "8b9335aec93975bb9186d63993a5a610e5066ffc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "2ed25c9d4400cf90d9201657963a231c27a5ea57",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "977659adb341f6e30fb00dcf183f63f29df879e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0854611a19ae4dfa56569e6f640017a1d2dd3312",
                            "lessThan": "590d74ec8f488e06b9f1c0f8f0941f45531f3a55",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy",
                        "Documentation/usb/gadget-testing.rst",
                        "drivers/usb/gadget/function/f_uac1_legacy.c",
                        "drivers/usb/gadget/function/u_uac1_legacy.h"
                    ],
                    "versions": [
                        {
                            "version": "3.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.270",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.221",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.110",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.52",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.6",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "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": "3.18",
                                    "versionEndExcluding": "5.10.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "5.15.221"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.12.110"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.18.52"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "7.2.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/745adfe6c337f3d5d7737d57529d14a208151b45"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6351ba62778f72dc4f6bc18bfa99e618829cff0d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/021b58ac3e58cffa68ed9585ff492a19e98414f6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fd43eae7d539ea7cfc7c9f0d3f0eaa890415e8a7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8b9335aec93975bb9186d63993a5a610e5066ffc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2ed25c9d4400cf90d9201657963a231c27a5ea57"
                },
                {
                    "url": "https://git.kernel.org/stable/c/977659adb341f6e30fb00dcf183f63f29df879e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/590d74ec8f488e06b9f1c0f8f0941f45531f3a55"
                }
            ],
            "title": "usb: gadget: f_uac1_legacy: remove broken string configfs attributes",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}