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-2025-22077 has been found in linux-hwe-edge.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "linux-hwe-edge UBUNTU-CVE-2025-22077" on the vendor's site.
UBUNTU-CVE-2025-22077 (linux-hwe-edge)
Attack vector: local / no user interaction
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: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
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
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-1046.49~22.04.1→ 6.8.0-1046.49~22.04.1 |
6.8.0-1046.49~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-1051.57~22.04.1→ 6.8.0-1051.57~22.04.1 |
6.8.0-1051.57~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-1046.53~22.04.1→ 6.8.0-1046.53~22.04.1 |
6.8.0-1046.53~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-1047.50~22.04.2→ 6.8.0-1047.50~22.04.2 |
6.8.0-1047.50~22.04.2 |
| 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-100.100~22.04.1→ 6.8.0-100.100~22.04.1 |
6.8.0-100.100~22.04.1 |
| Ubuntu:22.04:LTSlinux-ibm-6.8 |
< 6.8.0-1044.44~22.04.1→ 6.8.0-1044.44~22.04.1 |
6.8.0-1044.44~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-100.100.1~22.04.1→ 6.8.0-100.100.1~22.04.1 |
6.8.0-100.100.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-1046.49~22.04.1→ 6.8.0-1046.49~22.04.1 |
6.8.0-1046.49~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-1043.44~22.04.1→ 6.8.0-1043.44~22.04.1 |
6.8.0-1043.44~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-100.100~22.04.1→ 6.8.0-100.100~22.04.1 |
6.8.0-100.100~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-1041.42~22.04.1→ 6.8.1-1041.42~22.04.1 |
6.8.1-1041.42~22.04.1 |
| Ubuntu:24.04:LTSlinux |
< 6.8.0-100.100→ 6.8.0-100.100 |
6.8.0-100.100 |
| Ubuntu:24.04:LTSlinux-aws |
< 6.8.0-1046.49→ 6.8.0-1046.49 |
6.8.0-1046.49 |
| 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-1046.52→ 6.8.0-1046.52 |
6.8.0-1046.52 |
| 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-fde |
< 6.8.0-1046.53→ 6.8.0-1046.53 |
6.8.0-1046.53 |
| 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-nvidia |
< 6.8.0-1039.42→ 6.8.0-1039.42 |
6.8.0-1039.42 |
| Ubuntu:24.04:LTSlinux-azure-nvidia-6.14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp |
< 6.8.0-1047.50→ 6.8.0-1047.50 |
6.8.0-1047.50 |
| 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-gke |
< 6.8.0-1043.48→ 6.8.0-1043.48 |
6.8.0-1043.48 |
| Ubuntu:24.04:LTSlinux-gkeop |
< 6.8.0-1030.33→ 6.8.0-1030.33 |
6.8.0-1030.33 |
| 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-ibm |
< 6.8.0-1044.44→ 6.8.0-1044.44 |
6.8.0-1044.44 |
| Ubuntu:24.04:LTSlinux-intel |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-lowlatency |
< 6.8.0-100.100.1→ 6.8.0-100.100.1 |
6.8.0-100.100.1 |
| Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia |
< 6.8.0-1046.49→ 6.8.0-1046.49 |
6.8.0-1046.49 |
| Ubuntu:24.04:LTSlinux-nvidia-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia-lowlatency |
< 6.8.0-1046.49.1→ 6.8.0-1046.49.1 |
6.8.0-1046.49.1 |
| Ubuntu:24.04:LTSlinux-nvidia-tegra |
< 6.8.0-1020.20→ 6.8.0-1020.20 |
6.8.0-1020.20 |
| 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-1043.44→ 6.8.0-1043.44 |
6.8.0-1043.44 |
| 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-raspi |
< 6.8.0-1047.51→ 6.8.0-1047.51 |
6.8.0-1047.51 |
| 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-xilinx |
< 6.8.0-1023.24→ 6.8.0-1023.24 |
6.8.0-1023.24 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-aws-fips |
< 6.8.0-1046.49+fips1→ 6.8.0-1046.49+fips1 |
6.8.0-1046.49+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-azure-fips |
< 6.8.0-1046.52+fips1→ 6.8.0-1046.52+fips1 |
6.8.0-1046.52+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-fips |
< 6.8.0-100.100+fips1→ 6.8.0-100.100+fips1 |
6.8.0-100.100+fips1 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-gcp-fips |
< 6.8.0-1047.50+fips1→ 6.8.0-1047.50+fips1 |
6.8.0-1047.50+fips1 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-raspi-realtime |
< 6.8.0-2037.38→ 6.8.0-2037.38 |
6.8.0-2037.38 |
| Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime |
< 6.8.1-1041.42→ 6.8.1-1041.42 |
6.8.1-1041.42 |
| 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:25.10linux |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-aws |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-azure-fde |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-oracle |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-raspi |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10linux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-aws |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-azure-fde |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-ibm |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-oracle |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-raspi |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04linux-nvidia |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-aws |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-azure-fde |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-ibm |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-nvidia |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-oracle |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-raspi |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-riscv |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia-6.17 |
All versions→ Not listed |
Not listed |
| Ubuntu:Nvidia-BlueField:24.04:LTSlinux-bluefield |
< 6.8.0-1016.20→ 6.8.0-1016.20 |
6.8.0-1016.20 |
| Ubuntu:24.04:LTSlinux-aws-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-azure-fde-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-hwe-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-nvidia-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oracle-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-riscv-7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-vmware |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-gke |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-nvidia-bos |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlinux-oem-7.0 |
All versions→ Not listed |
Not listed |
| 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: Revert "smb: client: fix TCP timers deadlock after rmmod" This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801. Commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") is intended to fix a null-ptr-deref in LOCKDEP, which is mentioned as CVE-2024-54680, but is actually did not fix anything; The issue can be reproduced on top of it. [0] Also, it reverted the change by commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") and introduced a real issue by reviving the kernel TCP socket. When a reconnect happens for a CIFS connection, the socket state transitions to FIN_WAIT_1. Then, inet_csk_clear_xmit_timers_sync() in tcp_close() stops all timers for the socket. If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1 forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans. Usually, FIN can be retransmitted by the peer, but if the peer aborts the connection, the issue comes into reality. I warned about this privately by pointing out the exact report [1], but the bogus fix was finally merged. So, we should not stop the timers to finally kill the connection on our side in that case, meaning we must not use a kernel socket for TCP whose sk->sk_net_refcnt is 0. The kernel socket does not have a reference to its netns to make it possible to tear down netns without cleaning up every resource in it. For example, tunnel devices use a UDP sock…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- 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