{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52781","id":"CVE-2023-52781","title":"usb: config: fix iteration issue in 'usb_get_bos_descriptor()'","description":"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","descriptionLong":"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.","published":"2024-05-21T15:31:00.242Z","updated":"2026-11-17T07:01:08.649706689Z","reserved":"2024-05-21T15:19:24.240Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3dd550a2d36596a1b0ee7955da3b611c031d3873","lessThan":"9ef94ec8e52eaf7b9abc5b5f8f5b911751112223","status":"affected","versionType":"git"},{"version":"3dd550a2d36596a1b0ee7955da3b611c031d3873","lessThan":"64c27b7b2357ddb38b6afebaf46d5bff4d250702","status":"affected","versionType":"git"},{"version":"3dd550a2d36596a1b0ee7955da3b611c031d3873","lessThan":"f89fef7710b2ba0f7a1e46594e530dcf2f77be91","status":"affected","versionType":"git"},{"version":"3dd550a2d36596a1b0ee7955da3b611c031d3873","lessThan":"7c0244cc311a4038505b73682b7c8ceaa5c7a8c8","status":"affected","versionType":"git"},{"version":"3dd550a2d36596a1b0ee7955da3b611c031d3873","lessThan":"974bba5c118f4c2baf00de0356e3e4f7928b4cbc","status":"affected","versionType":"git"},{"version":"77ce180d68beffd1af620d0121590e16683fc6b8","status":"affected","versionType":"git"},{"version":"20a07e1aadcd6990893c532d1b2b507bfa065152","status":"affected","versionType":"git"},{"version":"a5c051b6503c0ba543e993cfc295b64f096e0a29","status":"affected","versionType":"git"},{"version":"ea4a173d8358b756a780786baa3fc39d282bdbe3","status":"affected","versionType":"git"},{"version":"77d4e2a058858b4a94fc469bc1bfc94a0958e252","status":"affected","versionType":"git"},{"version":"1fc15d29540a69cfb55c8b8f8c38f1af33178243","status":"affected","versionType":"git"},{"version":"9f8dd40c68c176f2c3f1fc8b87bc81756856938f","status":"affected","versionType":"git"},{"version":"3.16.79","lessThan":"3.17","status":"affected","versionType":"semver"},{"version":"4.4.194","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.194","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.146","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.75","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.2.17","lessThan":"5.3","status":"affected","versionType":"semver"},{"version":"5.3.1","lessThan":"5.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.10.203","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.142","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.66","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.4","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-670"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9ef94ec8e52eaf7b9abc5b5f8f5b911751112223","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/64c27b7b2357ddb38b6afebaf46d5bff4d250702","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f89fef7710b2ba0f7a1e46594e530dcf2f77be91","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7c0244cc311a4038505b73682b7c8ceaa5c7a8c8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/974bba5c118f4c2baf00de0356e3e4f7928b4cbc","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52781.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52781","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00241,"epssPercentile":0.15601,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52781","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52781","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52781","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52781","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}