{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142953","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.339Z","datePublished":"2026-12-03T09:16:40.148Z","dateUpdated":"2026-12-03T09:16:40.148Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:16:40.148Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: mpsse: reject bulk-in endpoints smaller than 3 bytes\n\nmpsse_read() reads min(len + 2, wMaxPacketSize) bytes and then copies\nlen_actual - 2 bytes to the caller. A device that declares a bulk-in\nendpoint with wMaxPacketSize 1 completes the read with len_actual 1, so\nthe copy length becomes -1 and memcpy() runs far past the one byte\nbuffer on the caller's stack and past bulk_in_buf:\n\n  memcpy: detected buffer overflow: 18446744073709551615 byte write of buffer size 1\n  WARNING: lib/string_helpers.c:1036 at __fortify_report+0x6e/0xc0\n  Call Trace:\n   __fortify_panic+0xd/0x10\n   gpio_mpsse_get_multiple+0x767/0x780\n   gpio_mpsse_gpio_get+0xa2/0xf0\n   gpiod_get_raw_value_commit+0xf8/0x1f0\n   gpiod_get_value_cansleep+0x1e/0xa0\n   value_show+0x42/0x90\n\nReproduced with dummy_hcd and raw-gadget. A read needs room for the two\nstatus bytes plus at least one data byte, so refuse to bind otherwise."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpio-mpsse.c"],"versions":[{"version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","lessThan":"61f99e5d24408f9fa12125b8f5b06549efeb7c91","status":"affected","versionType":"git"},{"version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","lessThan":"58c873e631498ea0d100b1505cbefe8c868d1a38","status":"affected","versionType":"git"},{"version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","lessThan":"f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b","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/gpio/gpio-mpsse.c"],"versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc4","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":"6.13","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.4-rc4"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/61f99e5d24408f9fa12125b8f5b06549efeb7c91"},{"url":"https://git.kernel.org/stable/c/58c873e631498ea0d100b1505cbefe8c868d1a38"},{"url":"https://git.kernel.org/stable/c/f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b"}],"title":"gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes","x_generator":{"engine":"bippy-1.2.0"}}}}