Sårbarheter

CVE-2026-31516

Høy 7.8 CVSS 3.1

Beskrivelse

In the Linux kernel, the following vulnerability has been resolved: xfrm: prevent policy_hthresh.work from racing with netns teardown A XFRM_MSG_NEWSPDINFO request can queue the per-net work item policy_hthresh.work onto the system workqueue. The queued callback, xfrm_hash_rebuild(), retrieves the enclosing struct net via container_of(). If the net namespace is torn down before that work runs, the associated struct net may already have been freed, and xfrm_hash_rebuild() may then dereference stale memory. xfrm_policy_fini() already flushes policy_hash_work during teardown, but it does not synchronize policy_hthresh.work. Synchronize policy_hthresh.work in xfrm_policy_fini() as well, so the queued work cannot outlive the net namespace teardown and access a freed struct net.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2026-04-22
Sist endret
2026-11-11
Tildelt av
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scoret av
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sannsynlighet for utnyttelse
0.1 % høyere enn 1 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Linux Linux Kernel 3.18 Berørt
Linux Linux Kernel 7.0 Berørt
Linux Linux Kernel ≥ 3.18.1, < 6.12.80 Berørt
Linux Linux Kernel ≥ 6.13, < 6.18.21 Berørt
Linux Linux Kernel ≥ 6.19, < 6.19.11 Berørt

Svakhetstype

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization

    The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …

  • CWE-416: Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within…

Referanser

Relatert hos Berigo

Artikler

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter