VDB

CVE-2024-47748

CVE-2024-47748 PUBLISHED CVSS 7.8 HIGH

vhost_vdpa: assign irq bypass producer token correctly

Reported by linux · Published October 21, 2024

In the Linux kernel, the following vulnerability has been resolved: vhost_vdpa: assign irq bypass producer token correctly We used to call irq_bypass_unregister_producer() in vhost_vdpa_setup_vq_irq() which is problematic as we don't know if the token pointer is still valid or not. Actually, we use the eventfd_ctx as the token so the life cycle of the token should be bound to the VHOST_SET_VRING_CALL instead of vhost_vdpa_setup_vq_irq() which could be called by set_status(). Fixing this by setting up irq bypass producer's token when handling VHOST_SET_VRING_CALL and un-registering the producer before calling vhost_vring_ioctl() to prevent a possible use after free as eventfd could have been released in vhost_vring_ioctl(). And such registering and unregistering will only be done if DRIVER_OK is set.

Fixed versions

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

PackageEcosystemFixed in
LinuxLinuxfae9b1776f53aab93ab345bdbf653b991aed717d, ca64edd7ae93402af2596a952e0d94d545e2b9c0, 7cf2fb51175cafe01df8c43fa15a06194a59c6e2, 02e9e9366fefe461719da5d173385b6685f70319

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60, 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60, 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60
LinuxLinux5.9, 0, 5.10.227
LinuxLinux5.10.227, 5.15.168, 6.6.54
linuxlinux_kernel5.9, 5.9, 5.9

Timeline

  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 22, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 3, 2026 Security Advisory (449 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-47748
vulnetix vdb fixes CVE-2024-47748

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-2024-47748/fixes/registry"

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

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