CVE-2026-97540 net: usb: pegasus: don't rely on id table pointer arithmetic
A memory corruption vulnerability in the Linux kernel's Pegasus USB driver allows attackers with physical access to cause crashes or execute code via malformed dynamic IDs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-97540?
CVE-2026-97540 is a memory corruption vulnerability in Linux, published on 25 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-97540?
How do I fix CVE-2026-97540?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-97540 being exploited?
There is no known exploitation of CVE-2026-97540 in the wild and no public exploit code.
Sources
Also known as AZL-104564, BELL-CVE-2026-97540, DEBIAN-CVE-2026-97540, GHSA-g2f3-3c54-5rm5, UBUNTU-CVE-2026-97540.