CVE-2026-74670
JSON

7.8high

ipvs: stop estimator after disabled calc phase

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ipvs: stop estimator after disabled calc phase IPVS estimator kthread 0 starts with zeroed chain and tick limits until its initial calculation phase completes. If network namespace teardown clears ipvs->enable during that phase, ip_vs_est_calc_phase() can return without installing positive limits. The kthread can then continue into its main loop and drain est_temp_list with zero chain_max, tick_max and est_max_count values. Each enqueue consumes one available tick row, but est_count never reaches the zero est_max_count value. After all rows are consumed, the row lookup returns IPVS_EST_NTICKS and ip_vs_enqueue_estimator() writes past the ticks and tick_len arrays. Exit kthread 0 after the calculation phase if the kthread is stopping or IPVS has been disabled. That keeps temporary estimators from being drained after the limits failed to initialize. Estimator kthreads can now self-exit before teardown or reload stops kd->task. Keep an extra task reference after creation and release it with kthread_stop_put(), so kd->task remains valid until the stop paths consume that reference.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 705dd34440812735ece298eb5bc153fde9544d42 before d5122a2b2601145975d387006e517c56896e310e, from 705dd34440812735ece298eb5bc153fde9544d42 before de98dc5ef94b83bbb444c670c253ea02ca0f5e43, from 705dd34440812735ece298eb5bc153fde9544d42 before e7f34f29b330265d456943bf0b984dcecfcef9af, from 705dd34440812735ece298eb5bc153fde9544d42 before 2335dedc1922dfa889ca1f9f70370924e8e79a08, from 705dd34440812735ece298eb5bc153fde9544d42 before 558f67f1340f803a346ecd14a69c49653111c5f4, 6.2
Not affected: before 6.2, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*, from 7.2 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ipvs: stop estimator after disabled calc phase IPVS estimator kthread 0 starts with zeroed chain and tick limits until its initial calculation phase completes. If network namespace teardown clears ipvs->enable during that phase, ip_vs_est_calc_phase() can return without installing positive limits. The kthread can then continue into its main loop and drain est_temp_list with zero chain_max, tick_max and est_max_count values. Each enqueue consumes one available tick row, but est_count never reaches the zero est_max_count value. After all rows are consumed, the row lookup returns IPVS_EST_NTICKS and ip_vs_enqueue_estimator() writes past the ticks and tick_len arrays. Exit kthread 0 after the calculation phase if the kthread is stopping or IPVS has been disabled. That keeps temporary estimators from being drained after the limits failed to initialize. Estimator kthreads can now self-exit before teardown or reload stops kd->task. Keep an extra task reference after creation and release it with kthread_stop_put(), so kd->task remains valid until the stop paths consume that reference.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ipvs: detener el estimador después de la fase de cálculo deshabilitada El kthread 0 del estimador de IPVS comienza con límites de cadena y de tick puestos a cero hasta que su fase de cálculo inicial se completa. Si la eliminación del espacio de nombres de red borra ipvs -> enable durante esa fase, ip_vs_est_calc_phase() puede retornar sin instalar límites positivos. El kthread puede entonces continuar en su bucle principal y vaciar est_temp_list con valores de chain_max, tick_max y est_max_count puestos a cero. Cada encolamiento consume una fila de tick disponible, pero est_count nunca alcanza el valor de est_max_count puesto a cero. Después de que todas las filas son consumidas, la búsqueda de fila retorna IPVS_EST_NTICKS e ip_vs_enqueue_estimator() escribe más allá de los arrays de ticks y tick_len. Salir del kthread 0 después de la fase de cálculo si el kthread se está deteniendo o IPVS ha sido deshabilitado. Eso evita que los estimadores temporales sean vaciados después de que los límites no se inicializaron. Los kthreads del estimador ahora pueden auto-salir antes de que la eliminación o recarga detenga kd -> task. Mantener una referencia de tarea adicional después de la creación y liberarla con kthread_stop_put(), para que kd -> task permanezca válido hasta que las rutas de detención consuman esa referencia.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74670 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-74670 changed 2026-10-14Public domain