cbcvebase.
CVE-2024-47748
published 2024-10-21

CVE-2024-47748: In the Linux kernel, the following vulnerability has been resolved: vhost_vdpa: assign irq bypass producer token correctly We used to call…

PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.21%
11.7th percentile
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

31 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
debianlinux-6.1< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
linuxlinux
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < 0c170b1e918b9afac25e2bbd01eaa2bfc0ece8c00c170b1e918b9afac25e2bbd01eaa2bfc0ece8c0
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < 927a2580208e0f9b0b47b08f1c802b7233a7ba3c927a2580208e0f9b0b47b08f1c802b7233a7ba3c
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < ec5f1b54ceb23475049ada6e7a43452cf4df88d1ec5f1b54ceb23475049ada6e7a43452cf4df88d1
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < ca64edd7ae93402af2596a952e0d94d545e2b9c0ca64edd7ae93402af2596a952e0d94d545e2b9c0
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < fae9b1776f53aab93ab345bdbf653b991aed717dfae9b1776f53aab93ab345bdbf653b991aed717d
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < 7cf2fb51175cafe01df8c43fa15a06194a59c6e27cf2fb51175cafe01df8c43fa15a06194a59c6e2
linuxlinux>= 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 < 02e9e9366fefe461719da5d173385b6685f7031902e9e9366fefe461719da5d173385b6685f70319
linuxlinux_kernel>= 0 < 5.10.234-15.10.234-1
linuxlinux_kernel>= 0 < 6.1.115-16.1.115-1
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 5.15.0-127.1375.15.0-127.137
linuxlinux_kernel>= 0 < 6.8.0-54.566.8.0-54.56
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 5.11 < 5.15.1685.15.168
linuxlinux_kernel>= 5.16 < 6.1.1136.1.113
linuxlinux_kernel>= 5.9 < 5.10.2275.10.227
linuxlinux_kernel>= 6.11 < 6.11.26.11.2
linuxlinux_kernel>= 6.2 < 6.6.546.6.54
linuxlinux_kernel>= 6.7 < 6.10.136.10.13
msrcazl3_kernel_6.6.51.1-5_on_azure_linux_3.0
msrcazl3_kernel_6.6.56.1-5_on_azure_linux_3.0

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.