Vulnerability in linux-azure
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-2023-53489 has been found in linux-azure.
Risk of unauthorized operations or information disclosure.
What to do: upgrade linux-azure to 5.4.0-1109.118~18.04.1 or later.
If unsure, ask your IT team or search "linux-azure UBUNTU-CVE-2023-53489" on the vendor's site.
UBUNTU-CVE-2023-53489 (linux-azure)
Attack vector: local / no user interaction
Patched: 5.4.0-1109.118~18.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-azure.
Check the vendor advisory for the affected versions of linux-azure.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 5.4.0-1109.118~18.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-azure' . 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-azure' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
linux-azureを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade linux-azure to 5.4.0-1109.118~18.04.1ステージング環境で 5.4.0-1109.118~18.04.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSlinux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-aws-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSlinux-hwe-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-oracle |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-aws |
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:Pro:18.04:LTSlinux-aws-5.4 |
< 5.4.0-1109.118~18.04.1→ 5.4.0-1109.118~18.04.1 |
5.4.0-1109.118~18.04.1 |
| Ubuntu:18.04:LTSlinux-azure |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-azure-4.15 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-azure-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-azure-5.4 |
< 5.4.0-1115.122~18.04.1→ 5.4.0-1115.122~18.04.1 |
5.4.0-1115.122~18.04.1 |
| Ubuntu:18.04:LTSlinux-azure-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gcp |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-gcp-4.15 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-gcp-5.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-gcp-5.4 |
< 5.4.0-1112.121~18.04.1→ 5.4.0-1112.121~18.04.1 |
5.4.0-1112.121~18.04.1 |
| 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:Pro:18.04:LTSlinux-hwe-5.4 |
< 5.4.0-162.179~18.04.1→ 5.4.0-162.179~18.04.1 |
5.4.0-162.179~18.04.1 |
| Ubuntu:18.04:LTSlinux-hwe-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-ibm-5.4 |
< 5.4.0-1056.61~18.04.1→ 5.4.0-1056.61~18.04.1 |
5.4.0-1056.61~18.04.1 |
| Ubuntu:Pro:18.04:LTSlinux-kvm |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux-oem |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlinux-oracle |
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:Pro:18.04:LTSlinux-oracle-5.4 |
< 5.4.0-1108.117~18.04.1→ 5.4.0-1108.117~18.04.1 |
5.4.0-1108.117~18.04.1 |
| Ubuntu:Pro:18.04:LTSlinux-raspi-5.4 |
< 5.4.0-1093.104~18.04.1→ 5.4.0-1093.104~18.04.1 |
5.4.0-1093.104~18.04.1 |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-aws-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-azure-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-gcp-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:18.04:LTSlinux-aws-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:18.04:LTSlinux-azure-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:18.04:LTSlinux-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:18.04:LTSlinux-gcp-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlinux |
< 5.4.0-162.179→ 5.4.0-162.179 |
5.4.0-162.179 |
| Ubuntu:20.04:LTSlinux-aws |
< 5.4.0-1109.118→ 5.4.0-1109.118 |
5.4.0-1109.118 |
| Ubuntu:20.04:LTSlinux-aws-5.15 |
< 5.15.0-1041.46~20.04.1→ 5.15.0-1041.46~20.04.1 |
5.15.0-1041.46~20.04.1 |
| Ubuntu:20.04:LTSlinux-azure |
< 5.4.0-1115.122→ 5.4.0-1115.122 |
5.4.0-1115.122 |
| Ubuntu:20.04:LTSlinux-azure-5.15 |
< 5.15.0-1045.52~20.04.1→ 5.15.0-1045.52~20.04.1 |
5.15.0-1045.52~20.04.1 |
| Ubuntu:20.04:LTSlinux-bluefield |
< 5.4.0-1070.76→ 5.4.0-1070.76 |
5.4.0-1070.76 |
| Ubuntu:20.04:LTSlinux-gcp |
< 5.4.0-1112.121→ 5.4.0-1112.121 |
5.4.0-1112.121 |
| Ubuntu:20.04:LTSlinux-gcp-5.15 |
< 5.15.0-1039.47~20.04.1→ 5.15.0-1039.47~20.04.1 |
5.15.0-1039.47~20.04.1 |
| Ubuntu:20.04:LTSlinux-hwe-5.15 |
< 5.15.0-79.86~20.04.2→ 5.15.0-79.86~20.04.2 |
5.15.0-79.86~20.04.2 |
| Ubuntu:20.04:LTSlinux-ibm |
< 5.4.0-1056.61→ 5.4.0-1056.61 |
5.4.0-1056.61 |
| Ubuntu:20.04:LTSlinux-ibm-5.15 |
< 5.15.0-1036.39~20.04.1→ 5.15.0-1036.39~20.04.1 |
5.15.0-1036.39~20.04.1 |
| Ubuntu:20.04:LTSlinux-intel-iotg-5.15 |
< 5.15.0-1037.42~20.04.1→ 5.15.0-1037.42~20.04.1 |
5.15.0-1037.42~20.04.1 |
| Ubuntu:20.04:LTSlinux-iot |
< 5.4.0-1021.22→ 5.4.0-1021.22 |
5.4.0-1021.22 |
| Ubuntu:20.04:LTSlinux-kvm |
< 5.4.0-1098.104→ 5.4.0-1098.104 |
5.4.0-1098.104 |
| Ubuntu:20.04:LTSlinux-lowlatency-hwe-5.15 |
< 5.15.0-79.88~20.04.1→ 5.15.0-79.88~20.04.1 |
5.15.0-79.88~20.04.1 |
| Ubuntu:20.04:LTSlinux-nvidia-tegra-5.15 |
< 5.15.0-1016.16~20.04.1→ 5.15.0-1016.16~20.04.1 |
5.15.0-1016.16~20.04.1 |
| Ubuntu:20.04:LTSlinux-oracle |
< 5.4.0-1108.117→ 5.4.0-1108.117 |
5.4.0-1108.117 |
| Ubuntu:20.04:LTSlinux-oracle-5.15 |
< 5.15.0-1040.46~20.04.1→ 5.15.0-1040.46~20.04.1 |
5.15.0-1040.46~20.04.1 |
| Ubuntu:20.04:LTSlinux-raspi |
< 5.4.0-1093.104→ 5.4.0-1093.104 |
5.4.0-1093.104 |
| Ubuntu:20.04:LTSlinux-riscv-5.15 |
< 5.15.0-1038.42~20.04.2→ 5.15.0-1038.42~20.04.2 |
5.15.0-1038.42~20.04.2 |
| Ubuntu:20.04:LTSlinux-xilinx-zynqmp |
< 5.4.0-1029.33→ 5.4.0-1029.33 |
5.4.0-1029.33 |
| 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:Pro:FIPS-updates:20.04:LTSlinux-aws-fips |
< 5.4.0-1109.118+fips1→ 5.4.0-1109.118+fips1 |
5.4.0-1109.118+fips1 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-azure-fips |
< 5.4.0-1115.122+fips1→ 5.4.0-1115.122+fips1 |
5.4.0-1115.122+fips1 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-fips |
< 5.4.0-1084.93→ 5.4.0-1084.93 |
5.4.0-1084.93 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-gcp-fips |
< 5.4.0-1112.121+fips1→ 5.4.0-1112.121+fips1 |
5.4.0-1112.121+fips1 |
| Ubuntu:Pro:FIPS:20.04:LTSlinux-aws-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:20.04:LTSlinux-azure-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:20.04:LTSlinux-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:20.04:LTSlinux-gcp-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux |
< 5.15.0-79.86→ 5.15.0-79.86 |
5.15.0-79.86 |
| Ubuntu:22.04:LTSlinux-allwinner-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws |
< 5.15.0-1042.47→ 5.15.0-1042.47 |
5.15.0-1042.47 |
| 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-azure |
< 5.15.0-1045.52→ 5.15.0-1045.52 |
5.15.0-1045.52 |
| 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-fde |
< 5.15.0-1045.52.1→ 5.15.0-1045.52.1 |
5.15.0-1045.52.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-gcp |
< 5.15.0-1039.47→ 5.15.0-1039.47 |
5.15.0-1039.47 |
| 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-gke |
< 5.15.0-1039.44→ 5.15.0-1039.44 |
5.15.0-1039.44 |
| Ubuntu:22.04:LTSlinux-gkeop |
< 5.15.0-1025.30→ 5.15.0-1025.30 |
5.15.0-1025.30 |
| 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-ibm |
< 5.15.0-1035.38→ 5.15.0-1035.38 |
5.15.0-1035.38 |
| Ubuntu:22.04:LTSlinux-intel-iot-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-intel-iotg |
< 5.15.0-1037.42→ 5.15.0-1037.42 |
5.15.0-1037.42 |
| Ubuntu:22.04:LTSlinux-kvm |
< 5.15.0-1039.44→ 5.15.0-1039.44 |
5.15.0-1039.44 |
| Ubuntu:22.04:LTSlinux-lowlatency |
< 5.15.0-79.88→ 5.15.0-79.88 |
5.15.0-79.88 |
| 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-nvidia |
< 5.15.0-1030.30→ 5.15.0-1030.30 |
5.15.0-1030.30 |
| 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-tegra |
< 5.15.0-1016.16→ 5.15.0-1016.16 |
5.15.0-1016.16 |
| Ubuntu:22.04:LTSlinux-nvidia-tegra-igx |
< 5.15.0-1002.2→ 5.15.0-1002.2 |
5.15.0-1002.2 |
| 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 |
< 5.15.0-1040.46→ 5.15.0-1040.46 |
5.15.0-1040.46 |
| Ubuntu:22.04:LTSlinux-oracle-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-raspi |
< 5.15.0-1035.38→ 5.15.0-1035.38 |
5.15.0-1035.38 |
| 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-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:22.04:LTSlinux-xilinx-zynqmp |
< 5.15.0-1025.29→ 5.15.0-1025.29 |
5.15.0-1025.29 |
| Ubuntu:Nvidia-BlueField:22.04:LTSlinux-bluefield |
< 5.15.0-1022.24→ 5.15.0-1022.24 |
5.15.0-1022.24 |
| Ubuntu:Pro:FIPS-preview:22.04:LTSlinux-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:Realtime:22.04:LTSlinux-intel-iot-realtime |
< 5.15.0-1036.38→ 5.15.0-1036.38 |
5.15.0-1036.38 |
| Ubuntu:Pro:Realtime:22.04:LTSlinux-realtime |
< 5.15.0-1043.48→ 5.15.0-1043.48 |
5.15.0-1043.48 |
| Ubuntu:24.04:LTSlinux-azure-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-gcp-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-intel |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oem-6.11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlinux-oem-6.8 |
All versions→ Not listed |
Not listed |
| 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:26.04linux-nvidia |
All versions→ Not listed |
Not listed |
| Ubuntu:Nvidia-BlueField:24.04:LTSlinux-bluefield |
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: tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp. syzkaller reported [0] memory leaks of an UDP socket and ZEROCOPY skbs. We can reproduce the problem with these sequences: sk = socket(AF_INET, SOCK_DGRAM, 0) sk.setsockopt(SOL_SOCKET, SO_TIMESTAMPING, SOF_TIMESTAMPING_TX_SOFTWARE) sk.setsockopt(SOL_SOCKET, SO_ZEROCOPY, 1) sk.sendto(b'', MSG_ZEROCOPY, ('127.0.0.1', 53)) sk.close() sendmsg() calls msg_zerocopy_alloc(), which allocates a skb, sets skb->cb->ubuf.refcnt to 1, and calls sock_hold(). Here, struct ubuf_info_msgzc indirectly holds a refcnt of the socket. When the skb is sent, __skb_tstamp_tx() clones it and puts the clone into the socket's error queue with the TX timestamp. When the original skb is received locally, skb_copy_ubufs() calls skb_unclone(), and pskb_expand_head() increments skb->cb->ubuf.refcnt. This additional count is decremented while freeing the skb, but struct ubuf_info_msgzc still has a refcnt, so __msg_zerocopy_callback() is not called. The last refcnt is not released unless we retrieve the TX timestamped skb by recvmsg(). Since we clear the error queue in inet_sock_destruct() after the socket's refcnt reaches 0, there is a circular dependency. If we close() the socket holding such skbs, we never call sock_put() and leak the count, sk, and skb. TCP has the same problem, and commit e0c8bccd40fc ("net: stream: purge sk_error_queue in sk_stream_kill_queues…
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
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org
- report git.kernel.org