CVE-2024-47748

vhost_vdpa: assign irq bypass producer token correctly

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 12:14 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1685.16 ≤ v < 6.1.1135.9 ≤ v < 5.10.2275.9 ≤ v < 5.15.1685.9 ≤ v < 6.1.1135.9 ≤ v < 6.10.135.9 ≤ v < 6.11.25.9 ≤ v < 6.125.9 ≤ v < 6.6.546.11 ≤ v < 6.11.26.2 ≤ v < 6.6.546.7 ≤ v < 6.10.132cf1ba9a4d15cb78b96ea97f727b93382c3f9a605.9
Vendor states this is fixed in 02e9e9366fefe461719da5d173385b6685f70319 (fixed)
Vendor states this is fixed in 0c170b1e918b9afac25e2bbd01eaa2bfc0ece8c0 (fixed)
Vendor states this is fixed in 7cf2fb51175cafe01df8c43fa15a06194a59c6e2 (fixed)
Vendor states this is fixed in 927a2580208e0f9b0b47b08f1c802b7233a7ba3c (fixed)
Vendor states this is fixed in ca64edd7ae93402af2596a952e0d94d545e2b9c0 (fixed)
Vendor states this is fixed in ec5f1b54ceb23475049ada6e7a43452cf4df88d1 (fixed)
Vendor states this is fixed in fae9b1776f53aab93ab345bdbf653b991aed717d (fixed)
Vendor states this is fixed in 5.10.227 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/02e9e9366fefe461719da5d173385b6685f70319
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c170b1e918b9afac25e2bbd01eaa2bfc0ece8c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7cf2fb51175cafe01df8c43fa15a06194a59c6e2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/927a2580208e0f9b0b47b08f1c802b7233a7ba3c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca64edd7ae93402af2596a952e0d94d545e2b9c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec5f1b54ceb23475049ada6e7a43452cf4df88d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fae9b1776f53aab93ab345bdbf653b991aed717d
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card