can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message

Summary

CVECVE-2026-23307
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-25 11:16:26 UTC
Updated2026-04-18 09:16:18 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message When looking at the data in a USB urb, the actual_length is the size of the buffer passed to the driver, not the transfer_buffer_length which is set by the driver as the max size of the buffer. When parsing the messages in ems_usb_read_bulk_callback() properly check the size both at the beginning of parsing the message to make sure it is big enough for the expected structure, and at the end of the message to make sure we don't overflow past the end of the buffer for the next message.

Risk And Classification

EPSS: 0.000370000 probability, percentile 0.108430000 (date 2026-04-18)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 aed172a2e2330131f0977d2acd3ec8883f413ec1 git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 f10177e6c4575aedaea580ce67d792fab7a2235e git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 c703bbf8e9b4947e111c88d2ed09236a6772a471 git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 1818974e1b5ef200e27f144c8cb8a246420bb54d git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 18f75b9cbdc3703f15965425ab69dee509b07785 git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 1cf469026d4a2308eaa91d04dca4a900d07a5c2e git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 2833e13e2b099546abf5d40a483b4eb04ddd1f7b git Not specified
CNA Linux Linux affected 702171adeed3607ee9603ec30ce081411e36ae42 38a01c9700b0dcafe97dfa9dc7531bf4a245deff git Not specified
CNA Linux Linux affected 2.6.32 Not specified
CNA Linux Linux unaffected 2.6.32 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.203 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.167 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.130 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.77 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.17 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.7 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1818974e1b5ef200e27f144c8cb8a246420bb54d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2833e13e2b099546abf5d40a483b4eb04ddd1f7b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/18f75b9cbdc3703f15965425ab69dee509b07785 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/38a01c9700b0dcafe97dfa9dc7531bf4a245deff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1cf469026d4a2308eaa91d04dca4a900d07a5c2e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aed172a2e2330131f0977d2acd3ec8883f413ec1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f10177e6c4575aedaea580ce67d792fab7a2235e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c703bbf8e9b4947e111c88d2ed09236a6772a471 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report