Vulnerability in linux-hwe-edge
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-64099 has been found in linux-hwe-edge.
Successful exploitation can lead to full system takeover.
What to do: upgrade linux-hwe-edge to 6.8.0-1066.69~22.04.1 or later.
If unsure, ask your IT team or search "linux-hwe-edge UBUNTU-CVE-2026-64099" on the vendor's site.
UBUNTU-CVE-2026-64099 (linux-hwe-edge)
Attack vector: local / no user interaction
Patched: 6.8.0-1066.69~22.04.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in linux-hwe-edge.
Check the vendor advisory for the affected versions of linux-hwe-edge.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 6.8.0-1066.69~22.04.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'linux-hwe-edge' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'linux-hwe-edge' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
linux-hwe-edgeを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade linux-hwe-edge to 6.8.0-1066.69~22.04.1ステージング環境で 6.8.0-1066.69~22.04.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlinux-hwe-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-aws-5.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-aws-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-azure-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-azure-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gcp-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gke-4.15 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gke-5.4 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gkeop-5.4 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-hwe-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-oem |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-oracle-5.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-oracle-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-aws-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-aws-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-aws-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-azure-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-azure-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-azure-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-azure-fde |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gcp-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gcp-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gcp-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gke |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gke-5.15 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gkeop |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-gkeop-5.15 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-hwe-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-hwe-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-hwe-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-intel-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oem-5.10 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oem-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oem-5.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oem-5.6 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oracle-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oracle-5.13 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-oracle-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-raspi2 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-riscv-5.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux-riscv-5.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-allwinner-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws-6.8 |
< 6.8.0-1066.69~22.04.1→ 6.8.0-1066.69~22.04.1 |
6.8.0-1066.69~22.04.1 |
| Ubuntu:22.04:LTSlinux-azure-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-azure-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-azure-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-azure-6.8 |
< 6.8.0-1070.78~22.04.1→ 6.8.0-1070.78~22.04.1 |
6.8.0-1070.78~22.04.1 |
| Ubuntu:22.04:LTSlinux-azure-fde-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-azure-fde-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-azure-fde-6.8 |
< 6.8.0-1068.75~22.04.1→ 6.8.0-1068.75~22.04.1 |
6.8.0-1068.75~22.04.1 |
| Ubuntu:22.04:LTSlinux-gcp-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-gcp-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-gcp-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-gcp-6.8 |
< 6.8.0-1070.78~22.04.1→ 6.8.0-1070.78~22.04.1 |
6.8.0-1070.78~22.04.1 |
| Ubuntu:22.04:LTSlinux-hwe-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-hwe-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-hwe-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-hwe-6.8 |
< 6.8.0-149.149~22.04.1→ 6.8.0-149.149~22.04.1 |
6.8.0-149.149~22.04.1 |
| Ubuntu:22.04:LTSlinux-ibm-6.8 |
< 6.8.0-1066.67~22.04.1→ 6.8.0-1066.67~22.04.1 |
6.8.0-1066.67~22.04.1 |
| Ubuntu:22.04:LTSlinux-intel-iot-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.8 |
< 6.8.0-146.146.1~22.04.1→ 6.8.0-146.146.1~22.04.1 |
6.8.0-146.146.1~22.04.1 |
| Ubuntu:22.04:LTSlinux-nvidia-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-nvidia-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-nvidia-6.8 |
< 6.8.0-1064.67~22.04.1→ 6.8.0-1064.67~22.04.1 |
6.8.0-1064.67~22.04.1 |
| Ubuntu:22.04:LTSlinux-oem-5.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-oem-6.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-oem-6.1 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-oem-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-oracle-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-oracle-6.8 |
< 6.8.0-1067.71~22.04.1→ 6.8.0-1067.71~22.04.1 |
6.8.0-1067.71~22.04.1 |
| Ubuntu:22.04:LTSlinux-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-riscv-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-riscv-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-riscv-6.8 |
< 6.8.0-146.146~22.04.1→ 6.8.0-146.146~22.04.1 |
6.8.0-146.146~22.04.1 |
| Ubuntu:22.04:LTSlinux-starfive-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-starfive-6.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-starfive-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:Realtime:22.04:LTSlinux-realtime-6.8 |
< 6.8.1-1061.62~22.04.1→ 6.8.1-1061.62~22.04.1 |
6.8.1-1061.62~22.04.1 |
| Ubuntu:24.04:LTSlinux |
< 6.8.0-146.146→ 6.8.0-146.146 |
6.8.0-146.146 |
| Ubuntu:24.04:LTSlinux-aws |
< 6.8.0-1066.69→ 6.8.0-1066.69 |
6.8.0-1066.69 |
| Ubuntu:24.04:LTSlinux-aws-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-aws-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure |
< 6.8.0-1070.78→ 6.8.0-1070.78 |
6.8.0-1070.78 |
| Ubuntu:24.04:LTSlinux-azure-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-7.0 |
< 7.0.0-1014.14~24.04.1→ 7.0.0-1014.14~24.04.1 |
7.0.0-1014.14~24.04.1 |
| Ubuntu:24.04:LTSlinux-azure-fde |
< 6.8.0-1068.75→ 6.8.0-1068.75 |
6.8.0-1068.75 |
| Ubuntu:24.04:LTSlinux-azure-fde-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-fde-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-fde-7.0 |
< 7.0.0-1013.13~24.04.1→ 7.0.0-1013.13~24.04.1 |
7.0.0-1013.13~24.04.1 |
| Ubuntu:24.04:LTSlinux-azure-nvidia |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-nvidia-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp |
< 6.8.0-1070.78→ 6.8.0-1070.78 |
6.8.0-1070.78 |
| Ubuntu:24.04:LTSlinux-gcp-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp-7.0 |
< 7.0.0-1011.11~24.04.1→ 7.0.0-1011.11~24.04.1 |
7.0.0-1011.11~24.04.1 |
| Ubuntu:24.04:LTSlinux-gke |
< 6.8.0-1065.73→ 6.8.0-1065.73 |
6.8.0-1065.73 |
| Ubuntu:24.04:LTSlinux-gkeop |
< 6.8.0-1051.55→ 6.8.0-1051.55 |
6.8.0-1051.55 |
| Ubuntu:24.04:LTSlinux-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-hwe-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-hwe-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-hwe-7.0 |
< 7.0.0-28.28~24.04.1→ 7.0.0-28.28~24.04.1 |
7.0.0-28.28~24.04.1 |
| Ubuntu:24.04:LTSlinux-ibm |
< 6.8.0-1066.67→ 6.8.0-1066.67 |
6.8.0-1066.67 |
| Ubuntu:24.04:LTSlinux-lowlatency |
< 6.8.0-146.146.1→ 6.8.0-146.146.1 |
6.8.0-146.146.1 |
| Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia |
< 6.8.0-1064.67→ 6.8.0-1064.67 |
6.8.0-1064.67 |
| Ubuntu:24.04:LTSlinux-nvidia-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia-7.0 |
< 7.0.0-1016.16~24.04.1→ 7.0.0-1016.16~24.04.1 |
7.0.0-1016.16~24.04.1 |
| Ubuntu:24.04:LTSlinux-nvidia-lowlatency |
< 6.8.0-1064.67.1→ 6.8.0-1064.67.1 |
6.8.0-1064.67.1 |
| Ubuntu:24.04:LTSlinux-nvidia-tegra |
< 6.8.0-1035.38→ 6.8.0-1035.38 |
6.8.0-1035.38 |
| Ubuntu:24.04:LTSlinux-oem-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oem-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oem-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oem-6.8 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oracle |
< 6.8.0-1063.66→ 6.8.0-1063.66 |
6.8.0-1063.66 |
| Ubuntu:24.04:LTSlinux-oracle-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oracle-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oracle-7.0 |
< 7.0.0-1011.11~24.04.1→ 7.0.0-1011.11~24.04.1 |
7.0.0-1011.11~24.04.1 |
| Ubuntu:24.04:LTSlinux-raspi |
< 6.8.0-1068.72→ 6.8.0-1068.72 |
6.8.0-1068.72 |
| Ubuntu:24.04:LTSlinux-raspi-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-riscv-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-riscv-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-riscv-7.0 |
< 7.0.0-28.28.1~24.04.3→ 7.0.0-28.28.1~24.04.3 |
7.0.0-28.28.1~24.04.3 |
| Ubuntu:24.04:LTSlinux-xilinx |
All versions→ Not listed |
Not listed |
| Ubuntu:Nvidia-BlueField:24.04:LTSlinux-bluefield |
< 6.8.0-1032.37→ 6.8.0-1032.37 |
6.8.0-1032.37 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-raspi-realtime |
< 6.8.0-2056.58→ 6.8.0-2056.58 |
6.8.0-2056.58 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime |
< 6.8.1-1061.62→ 6.8.1-1061.62 |
6.8.1-1061.62 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-aws-fips |
< 6.8.0-1066.69+fips1→ 6.8.0-1066.69+fips1 |
6.8.0-1066.69+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-azure-fips |
< 6.8.0-1069.77+fips1→ 6.8.0-1069.77+fips1 |
6.8.0-1069.77+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-fips |
< 6.8.0-146.146+fips1→ 6.8.0-146.146+fips1 |
6.8.0-146.146+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-gcp-fips |
< 6.8.0-1070.78+fips1→ 6.8.0-1070.78+fips1 |
6.8.0-1070.78+fips1 |
| Ubuntu:26.04:LTSlinux |
< 7.0.0-28.28→ 7.0.0-28.28 |
7.0.0-28.28 |
| Ubuntu:26.04:LTSlinux-aws |
< 7.0.0-1009.9→ 7.0.0-1009.9 |
7.0.0-1009.9 |
| Ubuntu:26.04:LTSlinux-azure |
< 7.0.0-1010.10→ 7.0.0-1010.10 |
7.0.0-1010.10 |
| Ubuntu:26.04:LTSlinux-azure-fde |
< 7.0.0-1009.9→ 7.0.0-1009.9 |
7.0.0-1009.9 |
| Ubuntu:26.04:LTSlinux-gcp |
< 7.0.0-1008.8→ 7.0.0-1008.8 |
7.0.0-1008.8 |
| Ubuntu:26.04:LTSlinux-gke |
< 7.0.0-1003.4→ 7.0.0-1003.4 |
7.0.0-1003.4 |
| Ubuntu:26.04:LTSlinux-ibm |
< 7.0.0-1010.10→ 7.0.0-1010.10 |
7.0.0-1010.10 |
| Ubuntu:26.04:LTSlinux-nvidia |
< 7.0.0-1016.16→ 7.0.0-1016.16 |
7.0.0-1016.16 |
| Ubuntu:26.04:LTSlinux-nvidia-bos |
< 7.0.0-2016.16→ 7.0.0-2016.16 |
7.0.0-2016.16 |
| Ubuntu:26.04:LTSlinux-oem-7.0 |
< 7.0.0-1009.9→ 7.0.0-1009.9 |
7.0.0-1009.9 |
| Ubuntu:26.04:LTSlinux-oracle |
< 7.0.0-1008.8→ 7.0.0-1008.8 |
7.0.0-1008.8 |
| Ubuntu:26.04:LTSlinux-raspi |
< 7.0.0-1015.15→ 7.0.0-1015.15 |
7.0.0-1015.15 |
| Ubuntu:26.04:LTSlinux-realtime |
< 7.0.0-28.28.1→ 7.0.0-28.28.1 |
7.0.0-28.28.1 |
| Ubuntu:26.04:LTSlinux-riscv |
< 7.0.0-28.28.1→ 7.0.0-28.28.1 |
7.0.0-28.28.1 |
| Ubuntu:24.04:LTSlinux-vmware |
< 6.8.0-1008.8→ 6.8.0-1008.8 |
6.8.0-1008.8 |
| Ubuntu:26.04:LTSlinux-vmware |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix use-after-free of CPU job query arrays on error path The CPU job ioctl's fail label calls kvfree() on cpu_job's timestamp and performance query arrays after v3d_job_cleanup(), which drops the job's last reference and frees cpu_job. Reading cpu_job at that point is a use-after-free. Also, on the early v3d_job_init() failure path, it is a NULL dereference, since v3d_job_deallocate() zeroes the local pointer. In the success path, the arrays are released from the scheduler's .free_job callback, but on the error path, they are freed manually, as the job was never pushed to the scheduler. While the success path deals with this correctly, the fail path doesn't. On top of that, the manual kvfree() calls only free the array storage; they don't drm_syncobj_put() the per-query syncobjs that v3d_timestamp_query_info_free() and v3d_performance_query_info_free() release on the success path. So the same fail path that triggers the use-after-free also leaks one syncobj reference per query. Unify the CPU job teardown into the CPU job's kref destructor, mirroring v3d_render_job_free(). The scheduler's .free_job slot reverts to the generic v3d_sched_job_free() and the fail label drops the manual kvfree() calls, leaving a single teardown path that is reached from both the scheduler and the ioctl error path. That removes the use-after-free, the NULL dereference, and the syncobj leak by construction.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report git.kernel.org