# CVE-2026-98312: ALSA: 6fire: fix OOB write from device-reported iso length

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:46:08.388Z
- **Modified:** 2026-10-19T10:18:33.290Z

## Who should check

- Anyone running Linux \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 61e665fb48e9eee44ec6d610514af383b1802cc1; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 246de677552fe5dede293a1543b632e9853f31e4; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< ea11ade10583cc45af515d6b24510dbfa0184ca6; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< cdc31537012bc7a58c95c6750db321b69dd802bb; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 1589afe2d099d3e817873bc474676968d7080410
- Anyone running Linux 2.6.39

## Description

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

ALSA: 6fire: fix OOB write from device-reported iso length

usb6fire\_pcm\_in\_urb\_handler() sizes each outgoing isochronous packet as
(actual\_length - 4) / (in\_n\_analog \<\< 2) \* (out\_n\_analog \<\< 2) + 4, where
actual\_length is the unsigned length the device reported for the matching
IN packet.  A packet completed with status 0 and actual\_length \< 4 wraps
the subtraction to 0x7fffffec; a zero-length isochronous packet is legal
on the bus, and the preceding loop rejects only non-zero status.  The sum
reaches memset() on out\_urb-\>buffer, a 4832-byte object from
kcalloc(PCM\_MAX\_PACKET\_SIZE, PCM\_N\_PACKETS\_PER\_URB).

Even without the wrap the result is out of bounds: at 88.2/96 kHz the
4-in/6-out scaling turns a full 420-byte IN packet into 628, so eight
packets span 5024 bytes of that buffer.  usb\_submit\_urb() rejects an
over-long descriptor only after the memset() and the
usb6fire\_pcm\_playback() copy of user PCM data have run.

Guard the subtraction as the sibling usb6fire\_pcm\_capture() already does,
and limit the frame count to what fits in rt-\>out\_packet\_size, the OUT
endpoint's wMaxPacketSize.  This bounds total\_length by the buffer size
while keeping each packet length aligned to a whole output frame.

  BUG: KASAN: out-of-bounds in usb6fire\_pcm\_in\_urb\_handler (sound/usb/6fire/pcm.c:338)
  Write of size 18446744073709551456 at addr ffff88802a3d0000 by task vhci\_rx/5018
  Call Trace:
   dump\_stack\_lvl (lib/dump\_stack.c:94 lib/dump\_stack.c:120)
   print\_report (mm/kasan/report.c:378 mm/kasan/report.c:482)
   kasan\_report (mm/kasan/report.c:595)
   kasan\_check\_range (mm/kasan/generic.c:186 mm/kasan/generic.c:200)
   \_\_asan\_memset (mm/kasan/shadow.c:84)
   usb6fire\_pcm\_in\_urb\_handler (sound/usb/6fire/pcm.c:338)
   \_\_usb\_hcd\_giveback\_urb (drivers/usb/core/hcd.c:1657)
   usb\_hcd\_giveback\_urb (drivers/usb/core/hcd.c:1741)
   vhci\_rx\_loop (drivers/usb/usbip/vhci\_rx.c:107 drivers/usb/usbip/vhci\_rx.c:242)
   kthread (kernel/kthread.c:436)
   ret\_from\_fork (arch/x86/kernel/process.c:158)
   ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:245)

  Allocated by task 10:
   \_\_kmalloc\_cache\_noprof (mm/slub.c:5563)
   usb6fire\_pcm\_init (sound/usb/6fire/pcm.c:560 sound/usb/6fire/pcm.c:595)
   usb6fire\_chip\_probe (sound/usb/6fire/chip.c:133)
   usb\_probe\_interface (drivers/usb/core/driver.c:399)

  The buggy address belongs to the object at ffff88802a3d0000
   which belongs to the cache kmalloc-8k of size 8192
  The buggy address is located 0 bytes inside of
   4832-byte region \[ffff88802a3d0000, ffff88802a3d12e0)
  Kernel panic - not syncing: Fatal exception in interrupt

## Affected and fixed versions

- Linux: \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 61e665fb48e9eee44ec6d610514af383b1802cc1; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 246de677552fe5dede293a1543b632e9853f31e4; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< ea11ade10583cc45af515d6b24510dbfa0184ca6; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< cdc31537012bc7a58c95c6750db321b69dd802bb; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 1589afe2d099d3e817873bc474676968d7080410 (cvelist)
- Linux: 2.6.39 (cvelist)

## Mitigation

- Upgrade Linux to 1589afe2d099d3e817873bc474676968d7080410 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98312. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98312.md
Affected: Linux >= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, < 61e665fb48e9eee44ec6d610514af383b1802cc1; >= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, < 246de677552fe5dede293a1543b632e9853f31e4; >= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, < 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8; >= c6d43ba816d1cf1d125bfbf…
Fixed in: Linux 61e665fb48e9eee44ec6d610514af383b1802cc1, Linux 246de677552fe5dede293a1543b632e9853f31e4, Linux 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8, Linux 1589afe2d099d3e817873bc474676968d7080410

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98312 being exploited?

There is no confirmed exploitation: CVE-2026-98312 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98312?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98312?

Linux \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 61e665fb48e9eee44ec6d610514af383b1802cc1; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 246de677552fe5dede293a1543b632e9853f31e4; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< ea11ade10583cc45af515d6b24510dbfa0184ca6; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< cdc31537012bc7a58c95c6750db321b69dd802bb; \>= c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, \< 1589afe2d099d3e817873bc474676968d7080410; Linux 2.6.39.

### Is there a fix for CVE-2026-98312?

Yes. Fixed in Linux 61e665fb48e9eee44ec6d610514af383b1802cc1, Linux 246de677552fe5dede293a1543b632e9853f31e4, Linux 001ba7c1d9677225a5ecbc3e60d4865c08bb21d8, Linux 1589afe2d099d3e817873bc474676968d7080410. Upgrade Linux to 1589afe2d099d3e817873bc474676968d7080410 or later.

### How do I check if I'm affected by CVE-2026-98312?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/61e665fb48e9eee44ec6d610514af383b1802cc1>
- other: <https://git.kernel.org/stable/c/246de677552fe5dede293a1543b632e9853f31e4>
- other: <https://git.kernel.org/stable/c/001ba7c1d9677225a5ecbc3e60d4865c08bb21d8>
- other: <https://git.kernel.org/stable/c/ea11ade10583cc45af515d6b24510dbfa0184ca6>
- other: <https://git.kernel.org/stable/c/cdc31537012bc7a58c95c6750db321b69dd802bb>
- other: <https://git.kernel.org/stable/c/1589afe2d099d3e817873bc474676968d7080410>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98312>

HTML: <https://flawdb.com/CVE-2026-98312> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98312>
