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-2022-49337 has been found in linux-azure.
Risk of unauthorized operations or information disclosure.
What to do: upgrade linux-azure to 4.15.0-1150.165~14.04.1 or later.
If unsure, ask your IT team or search "linux-azure UBUNTU-CVE-2022-49337" on the vendor's site.
UBUNTU-CVE-2022-49337 (linux-azure)
Attack vector: local / no user interaction
Patched: 4.15.0-1150.165~14.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 4.15.0-1150.165~14.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 4.15.0-1150.165~14.04.1ステージング環境で 4.15.0-1150.165~14.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 |
< 4.15.0-1150.165~14.04.1→ 4.15.0-1150.165~14.04.1 |
4.15.0-1150.165~14.04.1 |
| Ubuntu:Pro:14.04:LTSlinux |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:14.04:LTSlinux-aws |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:14.04:LTSlinux-lts-xenial |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-aws |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-aws-hwe |
< 4.15.0-1140.151~16.04.1→ 4.15.0-1140.151~16.04.1 |
4.15.0-1140.151~16.04.1 |
| Ubuntu:Pro:16.04:LTSlinux-azure |
< 4.15.0-1150.165~16.04.1→ 4.15.0-1150.165~16.04.1 |
4.15.0-1150.165~16.04.1 |
| Ubuntu:Pro:16.04:LTSlinux-gcp |
< 4.15.0-1135.151~16.04.2→ 4.15.0-1135.151~16.04.2 |
4.15.0-1135.151~16.04.2 |
| Ubuntu:Pro:16.04:LTSlinux-hwe |
< 4.15.0-192.203~16.04.1→ 4.15.0-192.203~16.04.1 |
4.15.0-192.203~16.04.1 |
| Ubuntu:16.04:LTSlinux-hwe-edge |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-kvm |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlinux-oracle |
< 4.15.0-1105.116~16.04.1→ 4.15.0-1105.116~16.04.1 |
4.15.0-1105.116~16.04.1 |
| Ubuntu:Pro:FIPS:16.04:LTSlinux-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlinux |
< 4.15.0-192.203→ 4.15.0-192.203 |
4.15.0-192.203 |
| Ubuntu:18.04:LTSlinux-aws |
< 4.15.0-1140.151→ 4.15.0-1140.151 |
4.15.0-1140.151 |
| Ubuntu:18.04:LTSlinux-aws-5.4 |
< 5.4.0-1085.92~18.04.1→ 5.4.0-1085.92~18.04.1 |
5.4.0-1085.92~18.04.1 |
| Ubuntu:18.04:LTSlinux-azure-4.15 |
< 4.15.0-1150.165→ 4.15.0-1150.165 |
4.15.0-1150.165 |
| Ubuntu:18.04:LTSlinux-azure-5.4 |
< 5.4.0-1091.96~18.04.1→ 5.4.0-1091.96~18.04.1 |
5.4.0-1091.96~18.04.1 |
| Ubuntu:18.04:LTSlinux-gcp-4.15 |
< 4.15.0-1135.151→ 4.15.0-1135.151 |
4.15.0-1135.151 |
| Ubuntu:18.04:LTSlinux-gcp-5.4 |
< 5.4.0-1089.97~18.04.1→ 5.4.0-1089.97~18.04.1 |
5.4.0-1089.97~18.04.1 |
| Ubuntu:18.04:LTSlinux-hwe-5.4 |
< 5.4.0-126.142~18.04.1→ 5.4.0-126.142~18.04.1 |
5.4.0-126.142~18.04.1 |
| Ubuntu:18.04:LTSlinux-ibm-5.4 |
< 5.4.0-1033.37~18.04.1→ 5.4.0-1033.37~18.04.1 |
5.4.0-1033.37~18.04.1 |
| Ubuntu:18.04:LTSlinux-kvm |
< 4.15.0-1126.131→ 4.15.0-1126.131 |
4.15.0-1126.131 |
| Ubuntu:18.04:LTSlinux-oracle |
< 4.15.0-1105.116→ 4.15.0-1105.116 |
4.15.0-1105.116 |
| Ubuntu:18.04:LTSlinux-oracle-5.4 |
< 5.4.0-1083.91~18.04.1→ 5.4.0-1083.91~18.04.1 |
5.4.0-1083.91~18.04.1 |
| Ubuntu:18.04:LTSlinux-raspi-5.4 |
< 5.4.0-1070.80~18.04.1→ 5.4.0-1070.80~18.04.1 |
5.4.0-1070.80~18.04.1 |
| 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:Pro:FIPS-updates:18.04:LTSlinux-aws-fips |
< 4.15.0-2079.84→ 4.15.0-2079.84 |
4.15.0-2079.84 |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-azure-fips |
< 4.15.0-2060.66→ 4.15.0-2060.66 |
4.15.0-2060.66 |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-fips |
< 4.15.0-1097.108→ 4.15.0-1097.108 |
4.15.0-1097.108 |
| Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-gcp-fips |
< 4.15.0-2044.49→ 4.15.0-2044.49 |
4.15.0-2044.49 |
| 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-126.142→ 5.4.0-126.142 |
5.4.0-126.142 |
| Ubuntu:20.04:LTSlinux-aws |
< 5.4.0-1085.92→ 5.4.0-1085.92 |
5.4.0-1085.92 |
| Ubuntu:20.04:LTSlinux-aws-5.15 |
< 5.15.0-1019.23~20.04.1→ 5.15.0-1019.23~20.04.1 |
5.15.0-1019.23~20.04.1 |
| Ubuntu:20.04:LTSlinux-azure |
< 5.4.0-1091.96→ 5.4.0-1091.96 |
5.4.0-1091.96 |
| Ubuntu:20.04:LTSlinux-azure-5.15 |
< 5.15.0-1019.24~20.04.1→ 5.15.0-1019.24~20.04.1 |
5.15.0-1019.24~20.04.1 |
| Ubuntu:20.04:LTSlinux-bluefield |
< 5.4.0-1046.51→ 5.4.0-1046.51 |
5.4.0-1046.51 |
| Ubuntu:20.04:LTSlinux-gcp |
< 5.4.0-1089.97→ 5.4.0-1089.97 |
5.4.0-1089.97 |
| Ubuntu:20.04:LTSlinux-gcp-5.15 |
< 5.15.0-1017.23~20.04.2→ 5.15.0-1017.23~20.04.2 |
5.15.0-1017.23~20.04.2 |
| Ubuntu:20.04:LTSlinux-hwe-5.15 |
< 5.15.0-48.54~20.04.1→ 5.15.0-48.54~20.04.1 |
5.15.0-48.54~20.04.1 |
| Ubuntu:20.04:LTSlinux-ibm |
< 5.4.0-1033.37→ 5.4.0-1033.37 |
5.4.0-1033.37 |
| Ubuntu:20.04:LTSlinux-intel-iotg-5.15 |
< 5.15.0-1015.20~20.04.2→ 5.15.0-1015.20~20.04.2 |
5.15.0-1015.20~20.04.2 |
| Ubuntu:20.04:LTSlinux-iot |
< 5.4.0-1004.6→ 5.4.0-1004.6 |
5.4.0-1004.6 |
| Ubuntu:20.04:LTSlinux-kvm |
< 5.4.0-1075.80→ 5.4.0-1075.80 |
5.4.0-1075.80 |
| Ubuntu:20.04:LTSlinux-lowlatency-hwe-5.15 |
< 5.15.0-48.54~20.04.1→ 5.15.0-48.54~20.04.1 |
5.15.0-48.54~20.04.1 |
| Ubuntu:20.04:LTSlinux-oracle |
< 5.4.0-1083.91→ 5.4.0-1083.91 |
5.4.0-1083.91 |
| Ubuntu:20.04:LTSlinux-oracle-5.15 |
< 5.15.0-1017.22~20.04.1→ 5.15.0-1017.22~20.04.1 |
5.15.0-1017.22~20.04.1 |
| Ubuntu:20.04:LTSlinux-raspi |
< 5.4.0-1070.80→ 5.4.0-1070.80 |
5.4.0-1070.80 |
| Ubuntu:20.04:LTSlinux-riscv-5.15 |
< 5.15.0-1018.21~20.04.1→ 5.15.0-1018.21~20.04.1 |
5.15.0-1018.21~20.04.1 |
| 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:Pro:20.04:LTSlinux-azure-fde-5.15 |
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-1085.92+fips1→ 5.4.0-1085.92+fips1 |
5.4.0-1085.92+fips1 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-azure-fips |
< 5.4.0-1091.96+fips1→ 5.4.0-1091.96+fips1 |
5.4.0-1091.96+fips1 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-fips |
< 5.4.0-1061.69→ 5.4.0-1061.69 |
5.4.0-1061.69 |
| Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-gcp-fips |
< 5.4.0-1089.97+fips1→ 5.4.0-1089.97+fips1 |
5.4.0-1089.97+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-47.51→ 5.15.0-47.51 |
5.15.0-47.51 |
| Ubuntu:22.04:LTSlinux-allwinner-5.19 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-aws |
< 5.15.0-1019.23→ 5.15.0-1019.23 |
5.15.0-1019.23 |
| 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-1019.24→ 5.15.0-1019.24 |
5.15.0-1019.24 |
| 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.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-1017.23→ 5.15.0-1017.23 |
5.15.0-1017.23 |
| 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-1015.18→ 5.15.0-1015.18 |
5.15.0-1015.18 |
| Ubuntu:22.04:LTSlinux-gkeop |
< 5.15.0-1002.4→ 5.15.0-1002.4 |
5.15.0-1002.4 |
| 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-1013.15→ 5.15.0-1013.15 |
5.15.0-1013.15 |
| Ubuntu:22.04:LTSlinux-intel-iot-realtime |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-intel-iotg |
< 5.15.0-1015.20→ 5.15.0-1015.20 |
5.15.0-1015.20 |
| Ubuntu:22.04:LTSlinux-kvm |
< 5.15.0-1017.21→ 5.15.0-1017.21 |
5.15.0-1017.21 |
| Ubuntu:22.04:LTSlinux-lowlatency |
< 5.15.0-47.53→ 5.15.0-47.53 |
5.15.0-47.53 |
| 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-1007.7→ 5.15.0-1007.7 |
5.15.0-1007.7 |
| 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-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-1017.22→ 5.15.0-1017.22 |
5.15.0-1017.22 |
| Ubuntu:22.04:LTSlinux-oracle-6.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlinux-raspi |
< 5.15.0-1014.16→ 5.15.0-1014.16 |
5.15.0-1014.16 |
| 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:Pro:Realtime:22.04:LTSlinux-realtime |
< 5.15.0-1020.20→ 5.15.0-1020.20 |
5.15.0-1020.20 |
| Ubuntu:24.04:LTSlinux-raspi-realtime |
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:Pro:FIPS-updates:16.04:LTSlinux-fips |
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: ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock When user_dlm_destroy_lock failed, it didn't clean up the flags it set before exit. For USER_LOCK_IN_TEARDOWN, if this function fails because of lock is still in used, next time when unlink invokes this function, it will return succeed, and then unlink will remove inode and dentry if lock is not in used(file closed), but the dlm lock is still linked in dlm lock resource, then when bast come in, it will trigger a panic due to user-after-free. See the following panic call trace. To fix this, USER_LOCK_IN_TEARDOWN should be reverted if fail. And also error should be returned if USER_LOCK_IN_TEARDOWN is set to let user know that unlink fail. For the case of ocfs2_dlm_unlock failure, besides USER_LOCK_IN_TEARDOWN, USER_LOCK_BUSY is also required to be cleared. Even though spin lock is released in between, but USER_LOCK_IN_TEARDOWN is still set, for USER_LOCK_BUSY, if before every place that waits on this flag, USER_LOCK_IN_TEARDOWN is checked to bail out, that will make sure no flow waits on the busy flag set by user_dlm_destroy_lock(), then we can simplely revert USER_LOCK_BUSY when ocfs2_dlm_unlock fails. Fix user_dlm_cluster_lock() which is the only function not following this. [ 941.336392] (python,26174,16):dlmfs_unlink:562 ERROR: unlink 004fb0000060000b5a90b8c847b72e1, error -16 from destroy [ 989.757536] ------------[ cut here ]------------ […
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