Vulnérabilité dans linux-hwe-edge (UBUNTU-CVE-2025-21939)
Résumé
Vulnérabilité dans linux-hwe-edge (UBUNTU-CVE-2025-21939). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers 6.11.0-1018.18~24.04.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
In the Linux kernel, the following vulnerability has been resolved: drm/xe/hmm: Don't dereference struct page pointers without notifier lock The pnfs that we obtain from hmm_range_fault() point to pages that we don't have a reference on, and the guarantee that they are still in the cpu page-tables is that the notifier lock must be held and the notifier seqno is still valid. So while building the sg table and marking the pages accesses / dirty we need to hold this lock with a validated seqno. However, the lock is reclaim tainted which makes sg_alloc_table_from_pages_segment() unusable, since it internally allocates memory. Instead build the sg-table manually. For the non-iommu case this might lead to fewer coalesces, but if that's a problem it can be fixed up later in the resource cursor code. For the iommu case, the whole sg-table may still be coalesced to a single contigous device va region. This avoids marking pages that we don't own dirty and accessed, and it also avoid dereferencing struct pages that we don't own. v2: - Use assert to check whether hmm pfns are valid (Matthew Auld) - Take into account that large pages may cross range boundaries (Matthew Auld) v3: - Don't unnecessarily check for a non-freed sg-table. (Matthew Auld) - Add a missing up_read() in an error path. (Matthew Auld) (cherry picked from commit ea3e66d280ce2576664a862693d1da8fd324c317)
Source: OSV.dev (Open Source Vulnerabilities) OSV
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée UBUNTU-CVE-2025-21939 a été découverte dans linux-hwe-edge.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour linux-hwe-edge vers 6.11.0-1018.18~24.04.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « linux-hwe-edge UBUNTU-CVE-2025-21939 » sur le site de l'éditeur.
UBUNTU-CVE-2025-21939 (linux-hwe-edge)
Vecteur d'attaque : local / sans interaction utilisateur
Correctif : 6.11.0-1018.18~24.04.1 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (non classée) affecte linux-hwe-edge.
Consultez l'avis de l'éditeur pour les versions affectées de linux-hwe-edge.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 6.11.0-1018.18~24.04.1.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'linux-hwe-edge' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
linux-hwe-edgeを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade linux-hwe-edge to 6.11.0-1018.18~24.04.1ステージング環境で 6.11.0-1018.18~24.04.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report git.kernel.org