CVE-2022-48672·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: of: fdt: fix off-by-one error in unflatten_dt_nodes() Commit 78c44d910d3e ("drivers/of: Fix depth when unflattening devicetree") forgot to fix up the depth check in the loop body in unflatten_dt_nodes() which makes it possible to overflow the nps[] buffer... Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.19.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2022-48672 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.16
Until: 5.19.11
Fixed in: 5.19.11
How to fix this CVE
Update your Linux kernel to version 5.19.11 or later to address a depth-checking flaw in the device tree flattening code that could lead to buffer overflow. Systems running kernel versions 5.16 through 5.19.10 should prioritize this update, as the vulnerability allows local attackers with limited privileges to corrupt kernel memory and potentially escalate privileges or crash the system.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running `uname -r` and compare it against the affected range (5.16.x to 5.19.10)
- Step 2: Verify if device tree parsing is active by checking `cat /proc/device-tree/` — if this directory exists and is populated, your system uses the vulnerable code path
- Step 3: Search kernel logs for device tree-related errors or buffer overflows using `dmesg | grep -i 'fdt\|device.tree\|overflow'`
- Step 4: After patching, confirm the new kernel is running with `uname -r` and verify it reports version 5.19.11 or higher
FAQ
What is CVE-2022-48672?
This vulnerability is an off-by-one error in the Linux kernel's device tree parsing logic (unflatten_dt_nodes function) that fails to properly validate buffer depth, allowing a stack-based buffer overflow when processing malformed device tree structures.
Is CVE-2022-48672 being actively exploited?
No, this CVE is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available, though it remains a high-severity local privilege escalation risk.
What versions of Kernel are affected by CVE-2022-48672?
Linux kernel versions 5.16.0 through 5.19.10 are vulnerable; version 5.19.11 and later contain the fix.
How do I check if my server is vulnerable to CVE-2022-48672?
Run `uname -r` to display your kernel version. If it shows 5.16.x, 5.17.x, 5.18.x, or 5.19.0-5.19.10, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2022-48672?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2022-48672 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e
- https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0
- https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181
- https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7
- https://git.kernel.org/stable/c/cbdda20ce363356698835185801a58a28f644853
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48672. Free for 1 server.
Get started free