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-64421 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-147.147 or later.
If unsure, ask your IT team or search "linux-hwe-edge UBUNTU-CVE-2026-64421" on the vendor's site.
UBUNTU-CVE-2026-64421 (linux-hwe-edge)
Attack vector: local / no user interaction
Patched: 6.8.0-147.147 — 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-147.147.
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-147.147ステージング環境で 6.8.0-147.147 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
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-1069.74~22.04.1→ 6.8.0-1069.74~22.04.1 |
6.8.0-1069.74~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-1073.82~22.04.1→ 6.8.0-1073.82~22.04.1 |
6.8.0-1073.82~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-1071.78~22.04.1→ 6.8.0-1071.78~22.04.1 |
6.8.0-1071.78~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-1073.81~22.04.1→ 6.8.0-1073.81~22.04.1 |
6.8.0-1073.81~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-1069.70~22.04.1→ 6.8.0-1069.70~22.04.1 |
6.8.0-1069.70~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-149.149.1~22.04.1→ 6.8.0-149.149.1~22.04.1 |
6.8.0-149.149.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-1068.71~22.04.1→ 6.8.0-1068.71~22.04.1 |
6.8.0-1068.71~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-149.149~22.04.2→ 6.8.0-149.149~22.04.2 |
6.8.0-149.149~22.04.2 |
| 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-1064.65~22.04.1→ 6.8.1-1064.65~22.04.1 |
6.8.1-1064.65~22.04.1 |
| Ubuntu:24.04:LTSlinux |
< 6.8.0-147.147→ 6.8.0-147.147 |
6.8.0-147.147 |
| Ubuntu:24.04:LTSlinux-aws |
< 6.8.0-1067.70→ 6.8.0-1067.70 |
6.8.0-1067.70 |
| 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-aws-7.0 |
< 7.0.0-1012.12~24.04.1→ 7.0.0-1012.12~24.04.1 |
7.0.0-1012.12~24.04.1 |
| Ubuntu:24.04:LTSlinux-azure |
< 6.8.0-1071.79→ 6.8.0-1071.79 |
6.8.0-1071.79 |
| 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-1069.76→ 6.8.0-1069.76 |
6.8.0-1069.76 |
| 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-1071.79→ 6.8.0-1071.79 |
6.8.0-1071.79 |
| 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-1066.74→ 6.8.0-1066.74 |
6.8.0-1066.74 |
| Ubuntu:24.04:LTSlinux-gkeop |
< 6.8.0-1052.56→ 6.8.0-1052.56 |
6.8.0-1052.56 |
| 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-31.31~24.04.1→ 7.0.0-31.31~24.04.1 |
7.0.0-31.31~24.04.1 |
| Ubuntu:24.04:LTSlinux-ibm |
< 6.8.0-1067.68→ 6.8.0-1067.68 |
6.8.0-1067.68 |
| Ubuntu:24.04:LTSlinux-lowlatency |
< 6.8.0-147.147.1→ 6.8.0-147.147.1 |
6.8.0-147.147.1 |
| Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia |
< 6.8.0-1067.70→ 6.8.0-1067.70 |
6.8.0-1067.70 |
| 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-1018.18~24.04.1→ 7.0.0-1018.18~24.04.1 |
7.0.0-1018.18~24.04.1 |
| Ubuntu:24.04:LTSlinux-nvidia-lowlatency |
< 6.8.0-1067.70.1→ 6.8.0-1067.70.1 |
6.8.0-1067.70.1 |
| Ubuntu:24.04:LTSlinux-nvidia-tegra |
< 6.8.0-1038.42→ 6.8.0-1038.42 |
6.8.0-1038.42 |
| 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-1064.67→ 6.8.0-1064.67 |
6.8.0-1064.67 |
| 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-31.31.1~24.04.1→ 7.0.0-31.31.1~24.04.1 |
7.0.0-31.31.1~24.04.1 |
| Ubuntu:24.04:LTSlinux-xilinx |
All versions→ Not listed |
Not listed |
| Ubuntu:Nvidia-BlueField:24.04:LTSlinux-bluefield |
< 6.8.0-1033.38→ 6.8.0-1033.38 |
6.8.0-1033.38 |
| 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-1062.63→ 6.8.1-1062.63 |
6.8.1-1062.63 |
| 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-1067.70+fips1→ 6.8.0-1067.70+fips1 |
6.8.0-1067.70+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-azure-fips |
< 6.8.0-1071.79+fips1→ 6.8.0-1071.79+fips1 |
6.8.0-1071.79+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-fips |
< 6.8.0-147.147+fips1→ 6.8.0-147.147+fips1 |
6.8.0-147.147+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-gcp-fips |
< 6.8.0-1071.79+fips1→ 6.8.0-1071.79+fips1 |
6.8.0-1071.79+fips1 |
| Ubuntu:26.04:LTSlinux |
< 7.0.0-31.31→ 7.0.0-31.31 |
7.0.0-31.31 |
| Ubuntu:26.04:LTSlinux-aws |
< 7.0.0-1012.12→ 7.0.0-1012.12 |
7.0.0-1012.12 |
| Ubuntu:26.04:LTSlinux-azure |
< 7.0.0-1014.14→ 7.0.0-1014.14 |
7.0.0-1014.14 |
| Ubuntu:26.04:LTSlinux-azure-fde |
< 7.0.0-1013.13→ 7.0.0-1013.13 |
7.0.0-1013.13 |
| Ubuntu:26.04:LTSlinux-gcp |
< 7.0.0-1011.11→ 7.0.0-1011.11 |
7.0.0-1011.11 |
| Ubuntu:26.04:LTSlinux-gke |
< 7.0.0-1006.7→ 7.0.0-1006.7 |
7.0.0-1006.7 |
| Ubuntu:26.04:LTSlinux-ibm |
< 7.0.0-1013.13→ 7.0.0-1013.13 |
7.0.0-1013.13 |
| Ubuntu:26.04:LTSlinux-nvidia |
< 7.0.0-1018.18→ 7.0.0-1018.18 |
7.0.0-1018.18 |
| Ubuntu:26.04:LTSlinux-nvidia-bos |
< 7.0.0-2018.18→ 7.0.0-2018.18 |
7.0.0-2018.18 |
| Ubuntu:26.04:LTSlinux-oem-7.0 |
< 7.0.0-1013.13→ 7.0.0-1013.13 |
7.0.0-1013.13 |
| Ubuntu:26.04:LTSlinux-oracle |
< 7.0.0-1011.11→ 7.0.0-1011.11 |
7.0.0-1011.11 |
| Ubuntu:26.04:LTSlinux-raspi |
< 7.0.0-1019.19→ 7.0.0-1019.19 |
7.0.0-1019.19 |
| Ubuntu:26.04:LTSlinux-realtime |
< 7.0.0-31.31.1→ 7.0.0-31.31.1 |
7.0.0-31.31.1 |
| Ubuntu:26.04:LTSlinux-riscv |
< 7.0.0-31.31.1→ 7.0.0-31.31.1 |
7.0.0-31.31.1 |
| Ubuntu:24.04:LTSlinux-vmware |
< 6.8.0-1008.8→ 6.8.0-1008.8 |
6.8.0-1008.8 |
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved: media: nxp: imx8-isi: Fix use-after-free on remove KASAN reports a slab-use-after-free in __media_entity_remove_link() during rmmod of imx8_isi: BUG: KASAN: slab-use-after-free in __media_entity_remove_link+0x608/0x650 Read of size 2 at addr ffff0000d47cb02a by task rmmod/724 Call trace: __media_entity_remove_link+0x608/0x650 __media_entity_remove_links+0x78/0x144 __media_device_unregister_entity+0x150/0x280 media_device_unregister_entity+0x48/0x68 v4l2_device_unregister_subdev+0x158/0x300 v4l2_async_unbind_subdev_one+0x22c/0x358 v4l2_async_nf_unbind_all_subdevs+0xfc/0x1c0 v4l2_async_nf_unregister+0x5c/0x14c mxc_isi_remove+0x124/0x2a0 [imx8_isi] Allocated by task 249: __kmalloc_noprof+0x27c/0x690 mxc_isi_crossbar_init+0x22c/0x560 [imx8_isi] Freed by task 724: kfree+0x1e4/0x5b0 mxc_isi_crossbar_cleanup+0x34/0x80 [imx8_isi] mxc_isi_remove+0x11c/0x2a0 [imx8_isi] The problem is that mxc_isi_remove() calls mxc_isi_crossbar_cleanup() before mxc_isi_v4l2_cleanup(). The crossbar cleanup frees the media entity pads, but the subsequent v4l2 cleanup still tries to remove media links that reference those pads. Fix this by calling mxc_isi_v4l2_cleanup() before mxc_isi_crossbar_cleanup() to ensure all media entities are properly unregistered while the pads are still valid.
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
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org