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-2026-74712

published critical CVSS 3.1 · 9.3

vdpa/mlx5: Fix buffer length in create_direct_keys()

Published
22 Aug 2026, 15:33:08 UTC
Updated
25 Aug 2026, 05:41:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0071b138d44af4296bf871e6624369ce697b4b15 to < ec3bb289cf19d526224117d5d450a5fd9cbd5ab2 · 0071b138d44af4296bf871e6624369ce697b4b15 to < cde8931a25392670dd59a0acfcab87a830ab66c5 · 0071b138d44af4296bf871e6624369ce697b4b15 to < 6c8a9f7bc00301e533a5366384f3070a8e7f8430 · 0071b138d44af4296bf871e6624369ce697b4b15 to < 727e1f569855df83579edbd73dcb4a0723543a12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.104 through 6.12.* (unaffected · semver) · 6.18.45 through 6.18.* (unaffected · semver) · 7.1.9 through 7.1.* (unaffected · semver) · 7.2 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 evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.107-1~deb12u1 DLA-4788-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Debian trixie linux Advisory build 6.12.105-1 DSA-6466-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-207.111.5.1.el10uek ELSA-2026-500374

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

Description

In the Linux kernel, the following vulnerability has been resolved: vdpa/mlx5: Fix buffer length in create_direct_keys() We have seen in our CI the following KASAN message: BUG: KASAN: slab-out-of-bounds in cmd_exec+0x550/0xca0 [mlx5_core] Read of size 272 at addr 0000000176795020 by task qemu-system-s39/82764 [...] [<000011388ab3a7a0>] cmd_exec+0x550/0xca0 [mlx5_core] [<000011388ab3b61c>] mlx5_cmd_exec_cb+0x25c/0x4f0 [mlx5_core] [<000011388b21e82e>] mlx5_vdpa_exec_async_cmds+0x22e/0x5e0 [mlx5_vdpa] [<000011388b21fd44>] create_direct_keys+0x954/0xef0 [mlx5_vdpa] [...] The buggy address is located 4128 bytes inside of allocated 4384-byte region [0000000176794000, 0000000176795120) So in essence we read 16 bytes beyond 4384-byte allocation. create_direct_keys calculates the pointer and length for in and out buffers. The size calculation for in includes the entire structure size (out + in + mtt[]) but the pointer passed to cmd_exec points only to the 'in' field, skipping the 'out' field. This causes mlx5_copy_to_msg() to read beyond the allocated buffer by sizeof(out) bytes when copying command data. Properly calculate the input size to match the pointer and allocation size.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.3 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached when host vDPA memory keys are created during IOTLB/set_map handling on /dev/vhost-vdpa (ioctl/write from QEMU/vhost), not from remote network packet processing; worst case is a co-tenant VM guest driving host QEMU virtio memory updates on the same mlx5 vDPA host. AC:L - Once mlx5 vDPA user MR setup runs, create_direct_keys() always passes an oversized inlen to mlx5_cmd_exec_cb(), deterministically causing mlx5_copy_to_msg() to read past the slab allocation; no race or victim state is required beyond normal virtio memory mapping. PR:N - In cloud mlx5 virtio-vDPA deployments a malicious VM tenant needs no host credentials—normal guest virtio-net bring-up causes QEMU to issue vhost IOTLB updates that invoke mlx5_vdpa_set_map() and create_user_mr() on the host without CAP_NET_ADMIN or root in the host init namespace. UI:N - Exploitation requires only automated virtio driver initialization and memory table updates; no additional victim clicks, mounts, or manual actions are needed beyond provisioning a vDPA-backed VM, which is the intended operational path. S:C - The vulnerable mlx5 vDPA code runs in the hypervisor host kernel while the practical attacker is a guest VM tenant; successful slab out-of-bounds reads and corrupted firmware commands cross the guest/host virtualization boundary per KVM guest-to-host guidance. C:H - Incorrect inlen makes mlx5_copy_to_msg() perform a slab out-of-bounds read (KASAN-reported) of adjacent kernel heap memory, copying leaked bytes into CREATE_MKEY commands and enabling arbitrary kernel information disclosure, not a bounded benign leak. I:H - The over-read injects adjacent heap contents into firmware CREATE_MKEY command buffers, corrupting memory-key setup data sent to the mlx5 device; this is exploitable kernel memory corruption that can alter device DMA mappings and enable further control, not a read-only crash. A:H - The flaw triggers a KASAN slab-out-of-bounds fault in mlx5_core cmd_exec() during normal MR creation; such heap corruption commonly causes kernel oops/panic and can also destabilize vDPA networking on repeated virtio memory remaps.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0071b138d44af4296bf871e6624369ce697b4b15 to < ec3bb289cf19d526224117d5d450a5fd9cbd5ab2 (affected · git)0071b138d44af4296bf871e6624369ce697b4b15 to < cde8931a25392670dd59a0acfcab87a830ab66c5 (affected · git)0071b138d44af4296bf871e6624369ce697b4b15 to < 6c8a9f7bc00301e533a5366384f3070a8e7f8430 (affected · git)0071b138d44af4296bf871e6624369ce697b4b15 to < 727e1f569855df83579edbd73dcb4a0723543a12 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.104 through 6.12.* (unaffected · semver)6.18.45 through 6.18.* (unaffected · semver)7.1.9 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

vdpa/mlx5: Fix buffer length in create_direct_keys()

Provenance

Schema
5.2
Searchable
yes
Content hash
954328d1db3df7bc52fd562ed288a28e123ed15a50abef9c81c10623585d3cff
Ingested
23 Sep 2026, 09:31:28 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