Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-41096

published high CVSS 3.1 · 7.8

PCI/MSI: Fix UAF in msi_capability_init

Published
29 Jul 2024, 15:48:09 UTC
Updated
05 Aug 2026, 11:35:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 0ae40b2d0a5de6b045504098e365d4fdff5bbeba · bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < ff1121d2214b794dc1772081f27bdd90721a84bc · bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 45fc8d20e0768ab0a0ad054081d0f68aa3c83976 · bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 9eee5330656bf92f51cb1f09b2dc9f8cf975b3d1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.109 through 6.1.* (unaffected · semver) · 6.6.37 through 6.6.* (unaffected · semver) · 6.9.8 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-779 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.35.1.el9_4 ALSA-2024:6567
Debian bookworm linux Advisory build 6.1.112-1 DSA-5782-1
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.35.1.el9_4 ELSA-2024-6567
AlmaLinux 9 kernel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 libperf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rtla Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rv Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: PCI/MSI: Fix UAF in msi_capability_init KFENCE reports the following UAF: BUG: KFENCE: use-after-free read in __pci_enable_msi_range+0x2c0/0x488 Use-after-free read at 0x0000000024629571 (in kfence-#12): __pci_enable_msi_range+0x2c0/0x488 pci_alloc_irq_vectors_affinity+0xec/0x14c pci_alloc_irq_vectors+0x18/0x28 kfence-#12: 0x0000000008614900-0x00000000e06c228d, size=104, cache=kmalloc-128 allocated by task 81 on cpu 7 at 10.808142s: __kmem_cache_alloc_node+0x1f0/0x2bc kmalloc_trace+0x44/0x138 msi_alloc_desc+0x3c/0x9c msi_domain_insert_msi_desc+0x30/0x78 msi_setup_msi_desc+0x13c/0x184 __pci_enable_msi_range+0x258/0x488 pci_alloc_irq_vectors_affinity+0xec/0x14c pci_alloc_irq_vectors+0x18/0x28 freed by task 81 on cpu 7 at 10.811436s: msi_domain_free_descs+0xd4/0x10c msi_domain_free_locked.part.0+0xc0/0x1d8 msi_domain_alloc_irqs_all_locked+0xb4/0xbc pci_msi_setup_msi_irqs+0x30/0x4c __pci_enable_msi_range+0x2a8/0x488 pci_alloc_irq_vectors_affinity+0xec/0x14c pci_alloc_irq_vectors+0x18/0x28 Descriptor allocation done in: __pci_enable_msi_range msi_capability_init msi_setup_msi_desc msi_insert_msi_desc msi_domain_insert_msi_desc msi_alloc_desc ... Freed in case of failure in __msi_domain_alloc_locked() __pci_enable_msi_range msi_capability_init pci_msi_setup_msi_irqs msi_domain_alloc_irqs_all_locked msi_domain_alloc_locked __msi_domain_alloc_locked => fails msi_domain_free_locked ... That failure propagates back to pci_msi_setup_msi_irqs() in msi_capability_init() which accesses the descriptor for unmasking in the error exit path. Cure it by copying the descriptor and using the copy for the error exit path unmask operation. [ tglx: Massaged change log ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through local interfaces only — the `VFIO_DEVICE_SET_IRQS` ioctl on a passed-through PCI device, sysfs driver bind/unbind, or device hotplug — never from network input. Local access to a device file or the sysfs PCI interface is required. AC:L - Via VFIO the attacker directly controls the vector count passed to `pci_alloc_irq_vectors()` and can loop enable/disable indefinitely, and the required allocation failure (ITS device-table/LPI exhaustion, x86 vector exhaustion, or `-ENOMEM` in sysfs/irqdomain allocation) is inducible by attacker-created vector and memory pressure. The freed object lives in the generic sprayable `kmalloc-128` cache and the free path sleeps, so reclaim is not an uncontrollable race. PR:L - In the standard device-passthrough deployment the vfio group/device fd is handed to an unprivileged VMM account, and `vfio_pci_ioctl_set_irqs()` performs no capability check for the IOMMU-backed path (`CAP_SYS_RAWIO` gates only no-IOMMU mode). A basic local user holding that descriptor can drive `msi_capability_init()` repeatedly. UI:N - The attacker triggers the MSI enable path entirely through their own ioctl calls, with no action by any other user or administrator required. S:U - The use-after-free corrupts kernel slab memory and is confined to the kernel's own security authority; no IOMMU, hypervisor, or sandbox boundary is crossed by the defect itself. C:H - The freed `msi_desc` is read after free, including the `desc->dev` pointer that is then dereferenced through `pci_write_config_dword()`; controlling the reclaimed `kmalloc-128` object turns this into an arbitrary kernel read primitive and full memory disclosure. I:H - `pci_msi_update_mask()` writes back into the freed object (`desc->pci.msi_mask &= ~clear`), corrupting whatever now occupies the slot, and dereferences `dev->bus->ops->write` from freed memory — a control-flow hijack primitive enabling arbitrary write and code execution. A:H - The use-after-free dereferences stale pointers and takes a spinlock at an address read from freed memory, reliably producing an oops or kernel panic even when not weaponized, as confirmed by the KFENCE report in the fix commit.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 0ae40b2d0a5de6b045504098e365d4fdff5bbeba (affected · git)bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < ff1121d2214b794dc1772081f27bdd90721a84bc (affected · git)bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 45fc8d20e0768ab0a0ad054081d0f68aa3c83976 (affected · git)bf6e054e0e3fbc9614355b760e18c8a14f952a4e to < 9eee5330656bf92f51cb1f09b2dc9f8cf975b3d1 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.109 through 6.1.* (unaffected · semver)6.6.37 through 6.6.* (unaffected · semver)6.9.8 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

PCI/MSI: Fix UAF in msi_capability_init

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c509dda9c70d512a1925f6170d83b9d4e32341ce4219dd8bd3bcee2a3b998d64
Ingested
23 Sep 2026, 08:26:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected