CVE-2024-49936
net/xen-netback: prevent UAF in xenvif_flush_hash()
Reported by linux · Published October 21, 2024
In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.115-126.197.amzn2023 |
| Linux | Linux | efcff6ce7467f01f0753609f420333f3f2ceceda, d408889d4b54f5501e4becc4dbbb9065143fbf4e, 54d8639af5568fc41c0e274fc3ec9cf86c59fcbb, 4.7, 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 |
| Linux | Linux | 4.7, 0, 5.4.290 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 4.7, 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2 | kernel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2 | kernel-livepatch-4.14.355-275.582 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
…and 6 more
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 23, 2024 Coalition ESS Score (17 in total, the first dated here)
- Jan 2, 2026 Security Advisory (456 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (388 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-49936
vulnetix vdb fixes CVE-2024-49936
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-49936/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart