CVE-2026-97540

Source
https://cve.org/CVERecord?id=CVE-2026-97540
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97540.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-97540
Downstream
Related
Published
2026-09-25T10:21:37Z
Modified
2026-10-09T17:26:58Z
Summary
net: usb: pegasus: don't rely on id table pointer arithmetic
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97540.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
733260ff9c45bd4db60f45d17e8560a4a68dff4d
Fixed
7c940a1100cb0aa18a54dc48d736c0525c0f400c
Fixed
05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b
Fixed
9425a13960ef38bac237608f25c9ee64ff113086
Fixed
7654812b65047349ea4c111eed42c4315a00e462
Fixed
61b84e964a829d534f24eab4cbd4035d22b52601
Fixed
ce8101c331956bbd3e20681331dfd22eb7c1c1ea

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97540.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.16
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97540.json"