VDB

CVE-2023-52679

CVE-2023-52679 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel-modules-extra-commonAmazon Linux6.1.75-99.163.amzn2023
perfAmazon Linux6.1.75-99.163.amzn2023
kernelAmazon Linux6.1.75-99.163.amzn2023
kernel-livepatch-6.1.75-99.163Amazon Linux1.0-0.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxbd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa
LinuxLinux4.17, 0, 4.19.306
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.75-99.1630
linuxlinux_kernel4.17, 4.17, 4.17
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-headers0
LinuxLinux*, 5.10.209, 6.6.14
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf0

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

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