{"id":"CVE-2026-74681","state":"PUBLISHED","title":"usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg\n\nibuf_len is the bulk IN (receive) buffer size, but the EMSGSIZE check\nin usbio_bulk_msg() compares it against txbuf_len — the bulk OUT\nendpoint size.  Both are taken independently from different endpoints\nin usbio_probe(), so the check is wrong when they differ.\n\nUse rxbuf_len for the IN direction.  This matches the buffer that\nactually holds the response data.","publishedAt":"2026-08-22T15:32:48.873Z","updatedAt":"2026-08-22T15:32:48.873Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"ebfd1e82ab0a6d26efd9bdd89de899215851f5bf","versionType":"git"},{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"9ad0164f78b66b0b5eca3a5748cc94dd87e28124","versionType":"git"},{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"7e22c9f79b200672f3e477421b6c9050d8cf70a5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/misc/usbio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.45","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.9","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/misc/usbio.c"]}],"references":["https://git.kernel.org/stable/c/ebfd1e82ab0a6d26efd9bdd89de899215851f5bf","https://git.kernel.org/stable/c/9ad0164f78b66b0b5eca3a5748cc94dd87e28124","https://git.kernel.org/stable/c/7e22c9f79b200672f3e477421b6c9050d8cf70a5"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74681.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74681","state":"PUBLISHED","datePublished":"2026-08-22T15:32:48.873Z","dateUpdated":"2026-08-22T15:32:48.873Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.925Z"},"containers":{"cna":{"title":"usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg\n\nibuf_len is the bulk IN (receive) buffer size, but the EMSGSIZE check\nin usbio_bulk_msg() compares it against txbuf_len — the bulk OUT\nendpoint size.  Both are taken independently from different endpoints\nin usbio_probe(), so the check is wrong when they differ.\n\nUse rxbuf_len for the IN direction.  This matches the buffer that\nactually holds the response data."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"ebfd1e82ab0a6d26efd9bdd89de899215851f5bf","versionType":"git"},{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"9ad0164f78b66b0b5eca3a5748cc94dd87e28124","versionType":"git"},{"version":"121a0f839dbb397af5fabb701cea3e9983223e50","status":"affected","lessThan":"7e22c9f79b200672f3e477421b6c9050d8cf70a5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/misc/usbio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.45","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.9","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/misc/usbio.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ebfd1e82ab0a6d26efd9bdd89de899215851f5bf"},{"url":"https://git.kernel.org/stable/c/9ad0164f78b66b0b5eca3a5748cc94dd87e28124"},{"url":"https://git.kernel.org/stable/c/7e22c9f79b200672f3e477421b6c9050d8cf70a5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-22T15:32:48.873Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.45"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}