CVE-2023-52679
of: Fix double free in of_parse_phandle_with_args_map
Mitigation
- Upgrade Linux to 4dde83569832f9377362e50f7748463340c5db6b or later.
Who should check
- Anyone running Linux >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 26b4d702c44f9e5cf3c5c001ae619a4a001889db; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < a0a061151a6200c13149dbcdb6c065203c8425d2; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < d5f490343c77e6708b6c4aa7dbbfbcbb9546adea; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4541004084527ce9e95a818ebbc4e6b293ffca21; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b9d760dae5b10e73369b769073525acd7b3be2bd; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b64d09a4e8596f76d27f4b4a90a1cf6baf6a82f8; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < cafa992134124e785609a406da4ff2b54052aff7; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4dde83569832f9377362e50f7748463340c5db6b
- Anyone running Linux 4.17
Vulnerability facts
- Affected
- Linux >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 26b4d702c44f9e5cf3c5c001ae619a4a001889db; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < a0a061151a6200c13149dbcdb6c065203c8425d2; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < d5f490343c77e6708b6c4aa7dbbfbcbb9546adea; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4541004084527ce9e95a818ebbc4e6b293ffca21; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b9d760dae5b10e73369b769073525acd7b3be2bd; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b64d09a4e8596f76d27f4b4a90a1cf6baf6a82f8; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < cafa992134124e785609a406da4ff2b54052aff7; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4dde83569832f9377362e50f7748463340c5db6b; Linux 4.17
- Fixed in
- Linux 26b4d702c44f9e5cf3c5c001ae619a4a001889db, Linux 4541004084527ce9e95a818ebbc4e6b293ffca21, Linux 4dde83569832f9377362e50f7748463340c5db6b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-415
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 26b4d702c44f9e5cf3c5c001ae619a4a001889db; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < a0a061151a6200c13149dbcdb6c065203c8425d2; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < d5f490343c77e6708b6c4aa7dbbfbcbb9546adea; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4541004084527ce9e95a818ebbc4e6b293ffca21; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b9d760dae5b10e73369b769073525acd7b3be2bd; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b64d09a4e8596f76d27f4b4a90a1cf6baf6a82f8; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < cafa992134124e785609a406da4ff2b54052aff7; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4dde83569832f9377362e50f7748463340c5db6b | — | cvelist |
| Linux | 4.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52679. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52679.md Affected: Linux >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 26b4d702c44f9e5cf3c5c001ae619a4a001889db; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < a0a061151a6200c13149dbcdb6c065203c8425d2; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < d5f490343c77e6708b6c4aa7dbbfbcbb9546adea; >= bd6f2fd5a1d52198468c5cd… Fixed in: Linux 26b4d702c44f9e5cf3c5c001ae619a4a001889db, Linux 4541004084527ce9e95a818ebbc4e6b293ffca21, Linux 4dde83569832f9377362e50f7748463340c5db6b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/26b4d702c44f9e5cf3c5c001ae619a4a001889db
- https://git.kernel.org/stable/c/a0a061151a6200c13149dbcdb6c065203c8425d2
- https://git.kernel.org/stable/c/d5f490343c77e6708b6c4aa7dbbfbcbb9546adea
- https://git.kernel.org/stable/c/4541004084527ce9e95a818ebbc4e6b293ffca21
- https://git.kernel.org/stable/c/b9d760dae5b10e73369b769073525acd7b3be2bd
- https://git.kernel.org/stable/c/b64d09a4e8596f76d27f4b4a90a1cf6baf6a82f8
- https://git.kernel.org/stable/c/cafa992134124e785609a406da4ff2b54052aff7
- https://git.kernel.org/stable/c/4dde83569832f9377362e50f7748463340c5db6b
FAQ
Is CVE-2023-52679 being exploited?
There is no confirmed exploitation: CVE-2023-52679 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52679?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52679?
Linux >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 26b4d702c44f9e5cf3c5c001ae619a4a001889db; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < a0a061151a6200c13149dbcdb6c065203c8425d2; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < d5f490343c77e6708b6c4aa7dbbfbcbb9546adea; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4541004084527ce9e95a818ebbc4e6b293ffca21; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b9d760dae5b10e73369b769073525acd7b3be2bd; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < b64d09a4e8596f76d27f4b4a90a1cf6baf6a82f8; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < cafa992134124e785609a406da4ff2b54052aff7; >= bd6f2fd5a1d52198468c5cdc3c2472362dff5aaa, < 4dde83569832f9377362e50f7748463340c5db6b; Linux 4.17.
Is there a fix for CVE-2023-52679?
Yes. Fixed in Linux 26b4d702c44f9e5cf3c5c001ae619a4a001889db, Linux 4541004084527ce9e95a818ebbc4e6b293ffca21, Linux 4dde83569832f9377362e50f7748463340c5db6b. Upgrade Linux to 4dde83569832f9377362e50f7748463340c5db6b or later.
How do I check if I'm affected by CVE-2023-52679?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.