VDB

CVE-2024-44932

CVE-2024-44932 PUBLISHED

idpf: fix UAFs when destroying the queues

Reported by linux · Published August 26, 2024

In the Linux kernel, the following vulnerability has been resolved: idpf: fix UAFs when destroying the queues The second tagged commit started sometimes (very rarely, but possible) throwing WARNs from net/core/page_pool.c:page_pool_disable_direct_recycling(). Turned out idpf frees interrupt vectors with embedded NAPIs *before* freeing the queues making page_pools' NAPI pointers lead to freed memory before these pools are destroyed by libeth. It's not clear whether there are other accesses to the freed vectors when destroying the queues, but anyway, we usually free queue/interrupt vectors only when the queues are destroyed and the NAPIs are guaranteed to not be referenced anywhere. Invert the allocation and freeing logic making queue/interrupt vectors be allocated first and freed last. Vectors don't require queues to be present, so this is safe. Additionally, this change allows to remove that useless queue->q_vector pointer cleanup, as vectors are still valid when freeing the queues (+ both are freed within one function, so it's not clear why nullify the pointers at all).

Fixed versions

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

PackageEcosystemFixed in
linux_kernellinux6.10.5

Affected products

VendorProductVersions
LinuxLinux1c325aac10a82f11410da8a2bf35e3e410a42751, 1c325aac10a82f11410da8a2bf35e3e410a42751
LinuxLinux6.7, 0, 6.10.5
LinuxLinux0, 6.10.5, 6.11
linuxlinux_kernel6.7, 6.7

Timeline

  • Aug 25, 2024 CVE Published
  • Aug 27, 2024 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (86 in total, the first dated here)
  • Jul 7, 2026 Coalition ESS Score
  • Nov 19, 2026 Distribution Patch (69 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-44932
vulnetix vdb fixes CVE-2024-44932

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

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

References

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