CVE-2023-52679
of: Fix double free in of_parse_phandle_with_args_map
Reported by linux · Published May 17, 2024
In the Linux kernel, the following vulnerability has been resolved: of: Fix double free in of_parse_phandle_with_args_map In of_parse_phandle_with_args_map() the inner loop that iterates through the map entries calls of_node_put(new) to free the reference acquired by the previous iteration of the inner loop. This assumes that the value of "new" is NULL on the first iteration of the inner loop. Make sure that this is true in all iterations of the outer loop by setting "new" to NULL after its value is assigned to "cur". Extend the unittest to detect the double free and add an additional test case that actually triggers this path.
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-modules-extra-common | Amazon Linux | 6.1.75-99.163.amzn2023 |
| perf | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-livepatch-6.1.75-99.163 | Amazon Linux | 1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa |
| Linux | Linux | 4.17, 0, 4.19.306 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.1.75-99.163 | 0 |
| linux | linux_kernel | 4.17, 4.17, 4.17 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | *, 5.10.209, 6.6.14 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 25, 2026 Security Advisory (472 in total, the first dated here)
- Sep 22, 2026 Distribution Patch (364 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-52679
vulnetix vdb fixes CVE-2023-52679
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-2023-52679/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart