CVE-2024-44964
idpf: fix memory leaks and crashes while performing a soft reset
Reported by linux · Published September 4, 2024
In the Linux kernel, the following vulnerability has been resolved: idpf: fix memory leaks and crashes while performing a soft reset The second tagged commit introduced a UAF, as it removed restoring q_vector->vport pointers after reinitializating the structures. This is due to that all queue allocation functions are performed here with the new temporary vport structure and those functions rewrite the backpointers to the vport. Then, this new struct is freed and the pointers start leading to nowhere. But generally speaking, the current logic is very fragile. It claims to be more reliable when the system is low on memory, but in fact, it consumes two times more memory as at the moment of running this function, there are two vports allocated with their queues and vectors. Moreover, it claims to prevent the driver from running into "bad state", but in fact, any error during the rebuild leaves the old vport in the partially allocated state. Finally, if the interface is down when the function is called, it always allocates a new queue set, but when the user decides to enable the interface later on, vport_open() allocates them once again, IOW there's a clear memory leak here. Just don't allocate a new queue set when performing a reset, that solves crashes and memory leaks. Readd the old queue number and reopen the interface on rollback - that solves limbo states when the device is left disabled and/or without HW queues enabled.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f01032a2ca099ec8d619aaa916c3762aa62495df, 6b289f8d91537ec1e4f9c7b38b31b90d93b1419b |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb |
| Linux | Linux | 6.7, 0, 6.10.5 |
| Linux | Linux | 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, 0, 6.10.5 |
| linux | linux_kernel | 6.7, 6.7 |
Timeline
- Sep 4, 2024 CVE Published
- Sep 5, 2024 EPSS Score (30 in total, the first dated here)
- Sep 6, 2024 CVE Updated
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 5, 2026 Security Advisory (76 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (55 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-44964
vulnetix vdb fixes CVE-2024-44964
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-44964/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart