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-63886 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-1065.68~22.04.1 or later.
If unsure, ask your IT team or search "linux-hwe-edge UBUNTU-CVE-2026-63886" on the vendor's site.
UBUNTU-CVE-2026-63886 (linux-hwe-edge)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 6.8.0-1065.68~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-1065.68~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-1065.68~22.04.1ステージング環境で 6.8.0-1065.68~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-1065.68~22.04.1→ 6.8.0-1065.68~22.04.1 |
6.8.0-1065.68~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-1068.76~22.04.1→ 6.8.0-1068.76~22.04.1 |
6.8.0-1068.76~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-1066.73~22.04.1→ 6.8.0-1066.73~22.04.1 |
6.8.0-1066.73~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-1069.77~22.04.1→ 6.8.0-1069.77~22.04.1 |
6.8.0-1069.77~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-142.142.1~22.04.1→ 6.8.0-142.142.1~22.04.1 |
6.8.0-142.142.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-1063.66~22.04.1→ 6.8.0-1063.66~22.04.1 |
6.8.0-1063.66~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-1062.65~22.04.1→ 6.8.0-1062.65~22.04.1 |
6.8.0-1062.65~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-142.142~22.04.1→ 6.8.0-142.142~22.04.1 |
6.8.0-142.142~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-1060.61~22.04.1→ 6.8.1-1060.61~22.04.1 |
6.8.1-1060.61~22.04.1 |
| Ubuntu:24.04:LTSlinux |
< 6.8.0-142.142→ 6.8.0-142.142 |
6.8.0-142.142 |
| Ubuntu:24.04:LTSlinux-aws |
< 6.8.0-1065.68→ 6.8.0-1065.68 |
6.8.0-1065.68 |
| 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-1068.76→ 6.8.0-1068.76 |
6.8.0-1068.76 |
| 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-1066.73→ 6.8.0-1066.73 |
6.8.0-1066.73 |
| 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-1069.77→ 6.8.0-1069.77 |
6.8.0-1069.77 |
| 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-1064.72→ 6.8.0-1064.72 |
6.8.0-1064.72 |
| Ubuntu:24.04:LTSlinux-gkeop |
< 6.8.0-1050.54→ 6.8.0-1050.54 |
6.8.0-1050.54 |
| 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-1065.66→ 6.8.0-1065.66 |
6.8.0-1065.66 |
| Ubuntu:24.04:LTSlinux-lowlatency |
< 6.8.0-142.142.1→ 6.8.0-142.142.1 |
6.8.0-142.142.1 |
| Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia |
< 6.8.0-1063.66→ 6.8.0-1063.66 |
6.8.0-1063.66 |
| 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-1063.66.1→ 6.8.0-1063.66.1 |
6.8.0-1063.66.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-1062.65→ 6.8.0-1062.65 |
6.8.0-1062.65 |
| 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-1065.69→ 6.8.0-1065.69 |
6.8.0-1065.69 |
| 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-1031.36→ 6.8.0-1031.36 |
6.8.0-1031.36 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-raspi-realtime |
< 6.8.0-2054.56→ 6.8.0-2054.56 |
6.8.0-2054.56 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime |
< 6.8.1-1060.61→ 6.8.1-1060.61 |
6.8.1-1060.61 |
| 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-1065.68+fips1→ 6.8.0-1065.68+fips1 |
6.8.0-1065.68+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-azure-fips |
< 6.8.0-1068.76+fips1→ 6.8.0-1068.76+fips1 |
6.8.0-1068.76+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-fips |
< 6.8.0-142.142+fips1→ 6.8.0-142.142+fips1 |
6.8.0-142.142+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-gcp-fips |
< 6.8.0-1068.76+fips1→ 6.8.0-1068.76+fips1 |
6.8.0-1068.76+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: scsi: target: iscsi: Validate CHAP_R length before base64 decode chap_server_compute_hash() allocates client_digest as kzalloc(chap->digest_size) and then, for BASE64-encoded responses, passes chap_r directly to chap_base64_decode() without checking whether the input length could produce more than digest_size bytes of output. chap_base64_decode() writes to the destination unconditionally as long as there is input to consume. With MAX_RESPONSE_LENGTH set to 128 and the "0b" prefix stripped by extract_param(), up to 127 base64 characters can reach the decoder. 127 characters decode to 95 bytes. For SHA-256 (digest_size=32) this overflows client_digest by 63 bytes; for MD5 (digest_size=16) the overflow is 79 bytes. The length check at line 344 fires after the write has already happened. The HEX branch in the same switch statement already validates the length up front. Apply the same approach to the BASE64 branch: strip trailing base64 padding characters, then reject any input whose data length exceeds DIV_ROUND_UP(digest_size * 4, 3) before calling the decoder. Stripping trailing '=' before the comparison handles both padded and unpadded encodings. chap_base64_decode() already returns early on '=', so the full original string is still passed to the decoder unchanged. The mutual CHAP path decodes CHAP_C into initiatorchg_binhex, which is kzalloc(CHAP_CHALLENGE_STR_LEN). extract_param() caps initiatorchg at CHAP_C…
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
- report ubuntu.com
- report cve.org
- report git.kernel.org