---
id: CVE-2026-23307
title: >-
  can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a
  message
summary: >-
  In 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 pas…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    aed172a2e2330131f0977d2acd3ec8883f413ec1
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    f10177e6c4575aedaea580ce67d792fab7a2235e
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    c703bbf8e9b4947e111c88d2ed09236a6772a471
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    1818974e1b5ef200e27f144c8cb8a246420bb54d
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    18f75b9cbdc3703f15965425ab69dee509b07785
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    1cf469026d4a2308eaa91d04dca4a900d07a5c2e
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    2833e13e2b099546abf5d40a483b4eb04ddd1f7b
  - >-
    Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 <
    38a01c9700b0dcafe97dfa9dc7531bf4a245deff
  - Linux 2.6.32
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:26:25.701712Z'
published: '2026-03-25'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:33:37.668Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23307'
references:
  - url: 'https://git.kernel.org/stable/c/aed172a2e2330131f0977d2acd3ec8883f413ec1'
  - url: 'https://git.kernel.org/stable/c/f10177e6c4575aedaea580ce67d792fab7a2235e'
  - url: 'https://git.kernel.org/stable/c/c703bbf8e9b4947e111c88d2ed09236a6772a471'
  - url: 'https://git.kernel.org/stable/c/1818974e1b5ef200e27f144c8cb8a246420bb54d'
  - url: 'https://git.kernel.org/stable/c/18f75b9cbdc3703f15965425ab69dee509b07785'
  - url: 'https://git.kernel.org/stable/c/1cf469026d4a2308eaa91d04dca4a900d07a5c2e'
  - url: 'https://git.kernel.org/stable/c/2833e13e2b099546abf5d40a483b4eb04ddd1f7b'
  - url: 'https://git.kernel.org/stable/c/38a01c9700b0dcafe97dfa9dc7531bf4a245deff'
tags:
  - cve.org
epss: 0.00127
epssPercentile: 0.02417
ingestedAt: '2026-11-05T22:38:32.113Z'
---

## Overview

In 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.

## Affected

- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < aed172a2e2330131f0977d2acd3ec8883f413ec1`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < f10177e6c4575aedaea580ce67d792fab7a2235e`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < c703bbf8e9b4947e111c88d2ed09236a6772a471`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < 1818974e1b5ef200e27f144c8cb8a246420bb54d`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < 18f75b9cbdc3703f15965425ab69dee509b07785`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < 1cf469026d4a2308eaa91d04dca4a900d07a5c2e`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < 2833e13e2b099546abf5d40a483b4eb04ddd1f7b`
- `Linux >= 702171adeed3607ee9603ec30ce081411e36ae42 < 38a01c9700b0dcafe97dfa9dc7531bf4a245deff`
- `Linux 2.6.32`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
