{"api_version":"1","generated_at":"2026-12-04T12:43:49+00:00","cve":"CVE-2026-142953","urls":{"html":"https://cve.report/CVE-2026-142953","api":"https://cve.report/api/cve/CVE-2026-142953.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142953","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142953"},"summary":{"title":"gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:15","updated_at":"2026-12-03 10:17:15"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/61f99e5d24408f9fa12125b8f5b06549efeb7c91","name":"https://git.kernel.org/stable/c/61f99e5d24408f9fa12125b8f5b06549efeb7c91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b","name":"https://git.kernel.org/stable/c/f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/58c873e631498ea0d100b1505cbefe8c868d1a38","name":"https://git.kernel.org/stable/c/58c873e631498ea0d100b1505cbefe8c868d1a38","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142953","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142953","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c46a74ff05c0ac76ba11ef21c930c3b447abf31a 61f99e5d24408f9fa12125b8f5b06549efeb7c91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c46a74ff05c0ac76ba11ef21c930c3b447abf31a 58c873e631498ea0d100b1505cbefe8c868d1a38 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c46a74ff05c0ac76ba11ef21c930c3b447abf31a f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"142953","cve":"CVE-2026-142953","epss":"0.002060000","percentile":"0.113200000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpio/gpio-mpsse.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"61f99e5d24408f9fa12125b8f5b06549efeb7c91","status":"affected","version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","versionType":"git"},{"lessThan":"58c873e631498ea0d100b1505cbefe8c868d1a38","status":"affected","version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","versionType":"git"},{"lessThan":"f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b","status":"affected","version":"c46a74ff05c0ac76ba11ef21c930c3b447abf31a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpio/gpio-mpsse.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:16:40.148Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142953","datePublished":"2026-12-03T09:16:40.148Z","dateReserved":"2026-12-03T03:10:28.339Z","dateUpdated":"2026-12-03T09:16:40.148Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:15","lastModifiedDate":"2026-12-03 10:17:15","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142953","Ordinal":"1","Title":"gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes","CVE":"CVE-2026-142953","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142953","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes"}]}}}