---
id: CVE-2026-97540
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  net: usb: pegasus: don't rely on id table pointer arithmetic

  The current code is broken when dynamic ID is involved; in such cases
  usb_device_id parameter of probe liv…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  net: usb: pegasus: don't rely on id table pointer arithmetic

  The current code is broken when dynamic ID is involved; in such cases
  usb_device_id parameter of probe liv…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    7c940a1100cb0aa18a54dc48d736c0525c0f400c
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    9425a13960ef38bac237608f25c9ee64ff113086
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    7654812b65047349ea4c111eed42c4315a00e462
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    61b84e964a829d534f24eab4cbd4035d22b52601
  - >-
    Linux >= 733260ff9c45bd4db60f45d17e8560a4a68dff4d <
    ce8101c331956bbd3e20681331dfd22eb7c1c1ea
  - Linux 2.6.16
published: '2026-09-25'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:02.730'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97540'
references:
  - url: 'https://git.kernel.org/stable/c/05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/61b84e964a829d534f24eab4cbd4035d22b52601'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7654812b65047349ea4c111eed42c4315a00e462'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7c940a1100cb0aa18a54dc48d736c0525c0f400c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9425a13960ef38bac237608f25c9ee64ff113086'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ce8101c331956bbd3e20681331dfd22eb7c1c1ea'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97540.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97540'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541080'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97540'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97540'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97540.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00211
epssPercentile: 0.11326
cvssSource: vendor
ingestedAt: '2026-09-25T11:06:38.921Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

net: usb: pegasus: don't rely on id table pointer arithmetic

The current code is broken when dynamic ID is involved; in such cases
usb_device_id parameter of probe lives on the heap and the pointer
arithmetic will get an index that is wildly out of bound. Instead of
keeping a side table for additional information, use driver_info field of
the usb_device_id.

The dynamic ID parsing code needs to be updated for this; convert it to
just write to the reserved entry for dynamic ID and remove the weird loop.

## Remediation

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

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97540.json)
