{"id":"CVE-2023-52781","published":"2024-05-21T15:31:00Z","modified":"2026-05-23T15:27:05Z","title":"usb: config: fix iteration issue in 'usb_get_bos_descriptor()'","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: config: fix iteration issue in 'usb_get_bos_descriptor()'\n\nThe BOS descriptor defines a root descriptor and is the base descriptor for\naccessing a family of related descriptors.\n\nFunction 'usb_get_bos_descriptor()' encounters an iteration issue when\nskipping the 'USB_DT_DEVICE_CAPABILITY' descriptor type. This results in\nthe same descriptor being read repeatedly.\n\nTo address this issue, a 'goto' statement is introduced to ensure that the\npointer and the amount read is updated correctly. This ensures that the\nfunction iterates to the next descriptor instead of reading the same\ndescriptor repeatedly.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00305,"percentile":0.15668,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9ef94ec8e52eaf7b9abc5b5f8f5b911751112223","tags":[]},{"url":"https://git.kernel.org/stable/c/64c27b7b2357ddb38b6afebaf46d5bff4d250702","tags":[]},{"url":"https://git.kernel.org/stable/c/f89fef7710b2ba0f7a1e46594e530dcf2f77be91","tags":[]},{"url":"https://git.kernel.org/stable/c/7c0244cc311a4038505b73682b7c8ceaa5c7a8c8","tags":[]},{"url":"https://git.kernel.org/stable/c/974bba5c118f4c2baf00de0356e3e4f7928b4cbc","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.13}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3dd550a2d36596a1b0ee7955da3b611c031d3873, < 9ef94ec8e52eaf7b9abc5b5f8f5b911751112223",">= 3dd550a2d36596a1b0ee7955da3b611c031d3873, < 64c27b7b2357ddb38b6afebaf46d5bff4d250702",">= 3dd550a2d36596a1b0ee7955da3b611c031d3873, < f89fef7710b2ba0f7a1e46594e530dcf2f77be91",">= 3dd550a2d36596a1b0ee7955da3b611c031d3873, < 7c0244cc311a4038505b73682b7c8ceaa5c7a8c8",">= 3dd550a2d36596a1b0ee7955da3b611c031d3873, < 974bba5c118f4c2baf00de0356e3e4f7928b4cbc","77ce180d68beffd1af620d0121590e16683fc6b8","20a07e1aadcd6990893c532d1b2b507bfa065152","a5c051b6503c0ba543e993cfc295b64f096e0a29","ea4a173d8358b756a780786baa3fc39d282bdbe3","77d4e2a058858b4a94fc469bc1bfc94a0958e252"]},{"vendor":"Linux","product":"Linux","versions":["5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T17:27:41.275139Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59498","exploited":false,"provenance":"source"}}