Ad

CVE-2026-90237

HIGH CVSS 3.1: 7,8 EPSS 0.17%
Обновлено 19 октября 2026
Linux
Параметр Значение
CVSS 7,8 (HIGH)
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_ct: move custom expectation support to helper Originally, the ct expectation support called nf_ct_helper_ext_add() for confirmed conntracks, which is invalid, triggering a splat. This was fixed by commit 1710eb913bdc ("netfilter: nft_ct: skip expectations for confirmed conntrack") which restricted it to unconfirmed conntracks. Однако ранняя вставка ожиданий в список ожиданий, когда коннтрек не подтвержден, приводит к устаревшим записям, указывающим на неправильный hlist_head через .pprev из-за перераспределения ct-расширения.

Commit 7c9664351980 ("netfilter: move nat hlist_head to nf_conn") moved the nat hlist_head to nf_conn for this reason: 1. ... 2. Когда происходит перераспределение области расширения, нам нужно зафиксировать хеш-головку исходного кода через hlist_replace_rcu. Я бы предпочел не увеличивать размер структуры nf_conn, поскольку эта функция имеет очень ограниченный охват: только одно ожидание может быть создано за один раз, учитывая, что expect_clash() сделает nf_ct_expect_related() отчетами EBUSY.

По этой причине расслабьте nf_ct_expect_related(), чтобы не сбрасывать пакеты в случае, если создание ожидания не удается, поэтому создание ожидания становится лучшим усилием. Чтобы решить эту проблему, добавьте внутренний помощник CT и прикрепите его к записи Conntrack, чтобы упорядочить поддержку ожидания пользовательских CT с существующими помощниками CT. Разоблачите новую функцию nf_conntrack_helper_release(), чтобы освободить внутренний помощник, который выделен и прикреплен к входу Conntrack для создания пользовательских ожиданий.

Удаление модуля nft_ct всегда ожидает льготный период rcu, после чего наблюдается обратный вызов помощника NULL. Этот патч также ограничивает создание ожиданий различными помощниками, отличными от этого пользовательского помощника, который создан для этого типа ожиданий.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_ct: move custom expectation support to helper Originally, the ct expectation support called nf_ct_helper_ext_add() for confirmed conntracks, which is invalid, triggering a splat. This was fixed by commit 1710eb913bdc ("netfilter: nft_ct: skip expectations for confirmed conntrack") which restricted it to unconfirmed conntracks. However, early insertion of expectations into the expectations list when the conntrack is unconfirmed leads to stale entries pointing to the wrong hlist_head through .pprev due to ct extension reallocation. Commit 7c9664351980 ("netfilter: move nat hlist_head to nf_conn") moved the nat hlist_head to nf_conn for this reason: 1. ... 2. When reallocation of extension area occurs we need to fixup the bysource hash head via hlist_replace_rcu. I'd rather not increase the size of the struct nf_conn for this feature has very limited scope: only one expectation can be created at a time given expect_clash() will make nf_ct_expect_related() reports EBUSY. For this reason, relax nf_ct_expect_related() not to drop packets in case expectation creation fails, therefore, expectation creation becomes best effort. To address this issue, add an internal ct helper and attach it to the conntrack entry to streamline the custom ct expectation support with existing ct helpers. Expose a new nf_conntrack_helper_release() function to release the internal helper that is allocated and attached to the conntrack entry to create the custom expectations. The nft_ct module removal always waits for rcu grace period, then the NULL helper callback is observed after this. This patch also restricts the creation of expectations to different helpers other than this custom helper that is created for this type of expectations.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1