VDB

CVE-2026-31581

CVE-2026-31581 PUBLISHED

ALSA: 6fire: fix use-after-free on disconnect

Reported by linux · Published April 24, 2026

In the Linux kernel, the following vulnerability has been resolved: ALSA: 6fire: fix use-after-free on disconnect In usb6fire_chip_abort(), the chip struct is allocated as the card's private data (via snd_card_new with sizeof(struct sfire_chip)). When snd_card_free_when_closed() is called and no file handles are open, the card and embedded chip are freed synchronously. The subsequent chip->card = NULL write then hits freed slab memory. Call trace: usb6fire_chip_abort sound/usb/6fire/chip.c:59 [inline] usb6fire_chip_disconnect+0x348/0x358 sound/usb/6fire/chip.c:182 usb_unbind_interface+0x1a8/0x88c drivers/usb/core/driver.c:458 ... hub_event+0x1a04/0x4518 drivers/usb/core/hub.c:5953 Fix by moving the card lifecycle out of usb6fire_chip_abort() and into usb6fire_chip_disconnect(). The card pointer is saved in a local before any teardown, snd_card_disconnect() is called first to prevent new opens, URBs are aborted while chip is still valid, and snd_card_free_when_closed() is called last so chip is never accessed after the card may be freed.

EPSS 0.13% · 2.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-abi-stablelistserrata.rockylinux.org5.14.0-687.15.1.el9, 4.18.0-553.132.1.el8
kernel-tools-libs-develerrata.rockylinux.org6.12.0-211.22.1.el10, 5.14.0-687.15.1.el9, 4.18.0-553.132.1.el8
perf-debuginfoerrata.rockylinux.org5.14.0-687.15.1.el9
kernel-moduleserrata.rockylinux.org6.12.0-211.22.1.el10, 5.14.0-687.15.1.el9
kernel-debug-develerrata.rockylinux.org5.14.0-687.15.1.el9
kernel-debug-moduleserrata.rockylinux.org6.12.0-211.22.1.el10, 5.14.0-687.15.1.el9, 4.18.0-553.132.1.el8
kernel-devel-matchederrata.rockylinux.org6.12.0-211.22.1.el10, 5.14.0-687.15.1.el9
kernel-debuginfo-common-aarch64errata.rockylinux.org6.12.0-211.22.1.el10, 5.14.0-687.15.1.el9, 4.18.0-553.132.1.el8
kernel-rt-debuginfo-common-x86_64errata.rockylinux.org4.18.0-553.132.1.rt7.473.el8
rverrata.rockylinux.org5.14.0-687.15.1.el9
kernelerrata.rockylinux.org5.14.0-687.15.1.el9
kernel-debug-debuginfoerrata.rockylinux.org5.14.0-687.15.1.el9, 4.18.0-553.132.1.el8

41 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.13%
2.4th percentile

Affected products

VendorProductVersions
LinuxLinuxf2d06d4e129e2508e356136f99bb20a332ff1a00, b889a7d68d7e76b8795b754a75c91a2d561d5e8c, ea8cc56db659cf0ae57073e32a4735ead7bd7ee3
LinuxLinux6.13, 0, 5.10.258
chainguardlinux-azure-6.180
LinuxLinux7.1, 7.0.1, *
chainguardlinux-aws-6.120
chainguardlinux-vmware-6.120
chainguardlinux-aws-6.180
chainguardlinux-gcp-6.120
chainguardlinux-qemu-6.180
chainguardlinux-gcp-6.180
linuxlinux_kernel6.12.2, 6.13, 6.13
chainguardlinux-vmware-6.180
chainguardlinux-qemu-6.120

Timeline

  • Apr 24, 2026 CVE Published
  • Apr 24, 2026 Security Advisory (104 in total, the first dated here)
  • May 18, 2026 EPSS Score (24 in total, the first dated here)
  • Jun 11, 2026 Distribution Patch (103 in total, the first dated here)
  • Jul 18, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31581
vulnetix vdb fixes CVE-2026-31581

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31581/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›