Katalog CVE

CVE-2026-93212

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux, w serwerze NFS (nfsd), występuje podatność na dereferencję pustego wskaźnika w funkcji nfsd_file_net_dispose(). Podczas zamykania sieci, wskaźnik nn->nfsd_serv może być wyczyszczony, a funkcja nadal próbuje go użyć, co prowadzi do awarii. Poprawka polega na bezpiecznym sprawdzeniu wskaźnika przed użyciem.

Ocena ryzyka

Ryzyko obejmuje możliwość awarii serwera NFS (panic) podczas zamykania lub wyłączania usługi sieciowej. Może to prowadzić do przerw w dostępie do plików i niestabilności działania.

Rekomendacja

Należy zaktualizować jądro Linux do wersji zawierającej poprawkę, która zabezpiecza dereferencję wskaźnika nfsd_serv. W przypadku systemów produkcyjnych zaleca się staranne zaplanowanie restartu usług.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: nfsd: guard nfsd_serv deref in nfsd_file_net_dispose nfsd_file_net_dispose() is the consumer side of l->freeme: the nfsd service thread loop calls it to drain entries that the filecache garbage collector and shrinker append via nfsd_file_dispose_list_delayed(). During per-net teardown, nn->nfsd_serv is cleared before the filecache laundrette is shut down, so the service thread can still run a dispose pass that finds more than eight entries on l->freeme and dereferences a NULL svc_serv: nfsd service thread loop nfsd_file_net_dispose(nn) if (!list_empty(&l->freeme)) { ... svc_wake_up(nn->nfsd_serv); /* nn->nfsd_serv == NULL */ } The sibling helper nfsd_file_dispose_list_delayed() already documents this ordering and caches nn->nfsd_serv into a local before testing it for NULL. nfsd_file_net_dispose() was introduced with the same raw svc_wake_up(nn->nfsd_serv) call and never picked up the guard. Fix by loading nn->nfsd_serv into a local svc_serv pointer and only calling svc_wake_up() when it is non-NULL, matching the pattern in nfsd_file_dispose_list_delayed().

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS