{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-48948",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-22T01:27:53.625Z",
        "datePublished": "2024-10-21T20:05:37.122Z",
        "dateUpdated": "2024-10-22T13:28:41.126Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-10-21T20:05:37.122Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: Prevent buffer overflow in setup handler\n\nSetup function uvc_function_setup permits control transfer\nrequests with up to 64 bytes of payload (UVC_MAX_REQUEST_SIZE),\ndata stage handler for OUT transfer uses memcpy to copy req->actual\nbytes to uvc_event->data.data array of size 60. This may result\nin an overflow of 4 bytes."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_uvc.c"
                    ],
                    "versions": [
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "4972e3528b96",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "06fd17ee92c8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "bc8380fe5768",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "b8fb1cba934e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "c79538f32df1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "6b41a35b41f7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "7b1f773277a7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "d1a92bb8d697",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdda479f15cd",
                            "lessThan": "4c92670b1672",
                            "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/gadget/function/f_uvc.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.35",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.35",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.9.337",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.14.303",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.19.270",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.4.229",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.10.161",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.15.85",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.0.15",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.1.1",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35"
                },
                {
                    "url": "https://git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107"
                }
            ],
            "title": "usb: gadget: uvc: Prevent buffer overflow in setup handler",
            "x_generator": {
                "engine": "bippy-c9c4e1df01b2"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-48948",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-10-22T13:22:00.601644Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-22T13:28:41.126Z"
                }
            }
        ]
    }
}