xen/gntdev: Prevent leaking grants
Оценка Noroxi
Приоритет: Наблюдать (оценка срочности 22/100)
- В отслеживаемых источниках (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) нет публичного эксплойта или записей об эксплуатации.
- Вероятность эксплуатации в ближайшие 30 дней: 0,16% (FIRST EPSS).
- Может быть вызвана пользователем с локальным доступом к системе. Достаточно учётной записи с низкими привилегиями. Действия пользователя не требуются. Особые условия не требуются; воспроизводится стабильно.
- Исправленная версия: Linux Linux 0991028cd49567d7016d1b224fe0117c35059f86, 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579, 1cb73704cb4778299609634a790a80daba582f7d.
Пока низкий приоритет. Обновитесь до Linux Linux 0991028cd49567d7016d1b224fe0117c35059f86, 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579, 1cb73704cb4778299609634a790a80daba582f7d или новее.
Формируется автоматически по данным записи: CVSS (NVD и CNA), CISA KEV и SSVC, FIRST EPSS, источники эксплойтов, исправленные версии. Как мы считаем
Первоисточники: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: Prevent leaking grants Prior to this commit, if a grant mapping operation failed partially, some of the entries in the map_ops array would be invalid, whereas all of the entries in the kmap_ops array would be valid. This in turn would cause the following logic in gntdev_map_grant_pages to become invalid: for (i = 0; i < map->count; i++) { if (map->map_ops[i].status == GNTST_okay) { map->unmap_ops[i].handle = map->map_ops[i].handle; if (!use_ptemod) alloced++; } if (use_ptemod) { if (map->kmap_ops[i].status == GNTST_okay) { if (map->map_ops[i].status == GNTST_okay) alloced++; map->kunmap_ops[i].handle = map->kmap_ops[i].handle; } } } ... atomic_add(alloced, &map->live_grants); Assume that use_ptemod is true (i.e., the domain mapping the granted pages is a paravirtualized domain). In the code excerpt above, note that the "alloced" variable is only incremented when both kmap_ops[i].status and map_ops[i].status are set to GNTST_okay (i.e., both mapping operations are successful). However, as also noted above, there are cases where a grant mapping operation fails partially, breaking the assumption of the code excerpt above. The aforementioned causes map->live_grants to be incorrectly set. In some cases, all of the map_ops mappings fail, but all of the kmap_ops mappings succeed, meaning that live_grants may remain zero. This in turn makes it impossible to unmap the successfully grant-mapped pages pointed to by kmap_ops, because unmap_grant_pages has the following snippet of code at its beginning: if (atomic_read(&map->live_grants) == 0) return; /* Nothing to do */ In other cases where only some of the map_ops mappings fail but all kmap_ops mappings succeed, live_grants is made positive, but when the user requests unmapping the grant-mapped pages, __unmap_grant_pages_done will then make map->live_grants negative, because the latter function does not check if all of the pages that were requested to be unmapped were actually unmapped, and the same function unconditionally subtracts "data->count" (i.e., a value that can be greater than map->live_grants) from map->live_grants. The side effects of a negative live_grants value have not been studied. The net effect of all of this is that grant references are leaked in one of the above conditions. In Qubes OS v4.1 (which uses Xen's grant mechanism extensively for X11 GUI isolation), this issue manifests itself with warning messages like the following to be printed out by the Linux kernel in the VM that had granted pages (that contain X11 GUI window data) to dom0: "g.e. 0x1234 still pending", especially after the user rapidly resizes GUI VM windows (causing some grant-mapping operations to partially or completely fail, due to the fact that the VM unshares some of the pages as part of the window resizing, making the pages impossible to grant-map from dom0). The fix for this issue involves counting all successful map_ops and kmap_ops mappings separately, and then adding the sum to live_grants. During unmapping, only the number of successfully unmapped grants is subtracted from live_grants. The code is also modified to check for negative live_grants values after the subtraction and warn the user.
- Опубликовано
- 15 сент. 2025 г.
- Обновлено
- 17 июн. 2026 г.
- EPSS
- 0,1 % · 5-й процентиль
- CWE
- —
Инструменты для отчёта
Оценка срочности
22
Наблюдать
Пока низкий приоритет.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Нет в списке
- EPSS
- 0 / 30 · 0,1 %
Узнайте, когда запись изменится
- Нет в KEV: эксплуатация в реальных атаках не зафиксирована
- Публичного эксплойта нет
- Исправление выпущено
Если что-то из этого изменится, сообщим в ежедневной сводке.
У вас WordPress? Проверьте сайт бесплатно в WP Lens
Анализ Noroxi
Что это значит для вашей инфраструктуры?
Оценка выше формируется автоматически по данным записи и не знает вашей среды. Наша команда проверит на ваших системах, действительно ли уязвимость эксплуатируема и какой меры достаточно.
Мы используем этот продукт, нужна помощьЗатронутые системы
Затронута ли ваша версия?
Выберите продукт и введите свою версию. Она сравнивается с диапазонами этой записи прямо в браузере и никуда не отправляется.
| Вендор | Продукт | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Затронутые версии
Диапазоны версий NVD (для продуктов из каталога). Добавьте продукт в стек с версией, и сопоставление будет по ним.
- linux linux kernel4.9.322 и новее · до 4.9.332
- linux linux kernel4.14.287 и новее · до 4.14.298
- linux linux kernel4.19.251 и новее · до 4.19.264
- linux linux kernel5.4.204 и новее · до 5.4.223
- linux linux kernel5.10.129 и новее · до 5.10.153
- linux linux kernel5.15.51 и новее · до 5.15.75
- linux linux kernel5.18.8 и новее · до 5.19
- linux linux kernel5.19.1 и новее · до 5.19.17
- linux linux kernel6.0 и новее · до 6.0.3
- linux linux kernel5.19
Версии, заявленные вендором
Диапазоны затронутых версий, заявленные назначающей организацией (Linux). Не зависят от анализа CPE в NVD и обычно опережают его.
Linux Linux
- d4a49d20cd7cdb6bd075cd04c2cd00a7eba907ed, 5.19затронута
- 36cd49b071fceca70326d9db786aa15e9fffd677 и новее · до b043f2cab100bed3e0a999dcf38cc05b1e4a7e41затронута · git
- 2fe26a9a70482bea7827803fdec98050fec68b20 и новее · до 49bb053b1ec367b6883030eb2cca696e91435679затронута · git
- 73e9e72247b98da65bc32d41a961e820cca5f503 и новее · до cb1ccfe7655380f77a58b340072f5f40bc285902затронута · git
- ee25841221c17228cbd30262a90f3b03ad80cdf6 и новее · до 3d056d81b93a787613eda44aeb21fc14c3392b34затронута · git
- 79963021fd718b74bed4cbc98f5f49d3ba6fb48c и новее · до 49db6cb81400ba863e1a85e55fcdf1031807c23fзатронута · git
- 87a54feba68f5e47925c8e49100db9b2a8add761 и новее · до 1cb73704cb4778299609634a790a80daba582f7dзатронута · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 и новее · до 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579затронута · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 и новее · до 273f6a4f71be12e2ec80a4919837d6e4fa933a04затронута · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 и новее · до 0991028cd49567d7016d1b224fe0117c35059f86затронута · git
Затронутые пакеты
Данные OSV и GitHub Advisory: экосистема, пакет и диапазон. Сопоставление SBOM использует эту таблицу.
| Экосистема | Пакет | Затронутый диапазон | Исправление |
|---|---|---|---|
| Debian:12 | linux | до 6.0.3-1 | 6.0.3-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default-base | до 5.3.18-150300.59.221.1.150300.18.132.1 | 5.3.18-150300.59.221.1.150300.18.132.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-docs | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-obs-build | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-preempt | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-syms | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | до 5.14.21-150400.24.179.1 | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | до 5.14.21-150400.24.179.1 | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | до 5.14.21-150400.24.179.1 | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | до 5.14.21-150400.24.179.1 | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | до 5.14.21-150400.24.179.1 | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | до 5.14.21-150500.55.124.1 | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | до 5.14.21-150500.55.124.1 | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | до 5.14.21-150500.55.124.1 | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | до 5.14.21-150500.55.124.1 | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | до 4.12.14-122.275.1 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_73 | до 1-8.3.1 | 1-8.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-default | до 5.3.18-150300.59.221.1 | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_62 | до 1-150300.7.3.1 | 1-150300.7.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_45 | до 1-150400.9.3.1 | 1-150400.9.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_31 | до 1-150500.11.3.1 | 1-150500.11.3.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-rt | до 5.3.18-150300.223.1 | 5.3.18-150300.223.1 |
+15
Тот же продукт
linux: все записиДругие записи с наивысшей оценкой для того же основного продукта.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Срочно
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Срочно
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Срочно
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77На этой неделе
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77На этой неделе
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77На этой неделе
Исправление
На какую версию обновиться
Версии с исправлением по данным вендора, реестров пакетов и Microsoft. Перед обновлением сверьтесь с бюллетенем вендора.
| Продукт / пакет | Исправленная версия | Источник |
|---|---|---|
| Linux Linux | 0991028cd49567d7016d1b224fe0117c35059f86 | Вендор (CNA) |
| Linux Linux | 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579 | Вендор (CNA) |
| Linux Linux | 1cb73704cb4778299609634a790a80daba582f7d | Вендор (CNA) |
| Linux Linux | 273f6a4f71be12e2ec80a4919837d6e4fa933a04 | Вендор (CNA) |
| Linux Linux | 3d056d81b93a787613eda44aeb21fc14c3392b34 | Вендор (CNA) |
| Linux Linux | 4.14.298 | Вендор (CNA) |
| Linux Linux | 4.19.264 | Вендор (CNA) |
| Linux Linux | 4.9.332 | Вендор (CNA) |
| Linux Linux | 49bb053b1ec367b6883030eb2cca696e91435679 | Вендор (CNA) |
| Linux Linux | 49db6cb81400ba863e1a85e55fcdf1031807c23f | Вендор (CNA) |
| Linux Linux | 5.10.153 | Вендор (CNA) |
| Linux Linux | 5.15.75 | Вендор (CNA) |
| Linux Linux | 5.19 | Вендор (CNA) |
| Linux Linux | 5.4.223 | Вендор (CNA) |
| Linux Linux | b043f2cab100bed3e0a999dcf38cc05b1e4a7e41 | Вендор (CNA) |
| Linux Linux | cb1ccfe7655380f77a58b340072f5f40bc285902 | Вендор (CNA) |
| debian:linux | 6.0.3-1 · Debian:12 | Реестр пакетов (OSV) |
| suse:kernel-64kb | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Реестр пакетов (OSV) |
| suse:kernel-default | 4.12.14-122.275.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Реестр пакетов (OSV) |
| suse:kernel-default-base | 5.14.21-150500.55.124.1.150500.6.59.1 · SUSE:Linux Enterprise Micro 5.5 | Реестр пакетов (OSV) |
| suse:kernel-docs | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Реестр пакетов (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_31 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Реестр пакетов (OSV) |
| suse:kernel-obs-build | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Реестр пакетов (OSV) |
| suse:kernel-rt | 5.3.18-150300.223.1 · SUSE:Linux Enterprise Micro 5.1 | Реестр пакетов (OSV) |
| suse:kernel-source | 4.12.14-122.275.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Реестр пакетов (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.223.1 · SUSE:Linux Enterprise Micro 5.1 | Реестр пакетов (OSV) |
| suse:kernel-syms | 4.12.14-122.275.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Реестр пакетов (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise Server 15 SP5-LTSS | Реестр пакетов (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_73 | 1-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Реестр пакетов (OSV) |
Статус эксплойта
Публичный эксплойт неизвестен
Публичный эксплойт пока не обнаружен. Это не значит, что вы в безопасности, лишь что порог чуть выше.
Контекст для исследователя
Для пентестеров и исследователей: профиль атаки, расхождение оценок, хронология, коммиты исправлений, авторы, кандидаты в варианты и цепочки, охват bug bounty. Всё выводится из имеющихся данных; без кода эксплойтов.
Хронология
От публикации до сегодня: proof of concept, модуль Metasploit, CISA KEV и запись об исправлении. Даты — как сообщают источники.
Кроме публикации датированных событий нет.
Ежедневная оценка FIRST EPSS; записываются только изменения от 0,01 (ступенчатый график).
Ссылки на патчи и коммиты
Коммиты, PR и diff среди источников. Отправная точка для patch-diff и поиска вариантов; это исправления, не эксплойты.
Среди источников нет ссылок на коммит или PR.
Авторы
Все исследователиНашедшие, сообщившие и аналитики, названные в записи CNA. Нажмите имя, чтобы увидеть другие записи исследователя.
В записи CNA нет авторов.
Кандидаты в варианты
Тот же продукт, тот же класс уязвимости, в пределах 18 месяцев. Если патч не закрыл первопричину, родственная ошибка здесь.
Ночной расчёт связей ничего не нашёл.
Кандидаты в цепочки
Обход аутентификации и уязвимость, требующая привилегий, в одном продукте и близко по времени: вместе они могут дать путь без аутентификации.
—
Охват bug bounty
Известной публичной программы нет.
Источник: bounty-targets-data (публичные списки HackerOne, Bugcrowd, Intigriti, YesWeHack).
Технические детали
Условия атаки
- Может быть вызвана пользователем с локальным доступом к системе.
- Достаточно учётной записи с низкими привилегиями.
- Действия пользователя не требуются.
- Особые условия не требуются; воспроизводится стабильно.
В случае успеха
- Конфиденциальность
- нет
- Целостность
- нет
- Доступность
- высокое · работа сервиса может быть нарушена
- Вектор атаки
- Локальный
- Сложность атаки
- Низкая
- Требуемые привилегии
- Низкие
- Взаимодействие с пользователем
- Не требуется
- Область действия
- Не изменяется
- Влияние на конфиденциальность
- Нет
- Влияние на целостность
- Нет
- Влияние на доступность
- Высокое
Класс уязвимости (CWE)
—
Вектор CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Контекст атаки
Шаблоны атак MITRE CAPEC и техники ATT&CK для этого класса уязвимости (CWE). Отправная точка для правил обнаружения и threat hunting.
У MITRE нет сопоставления CAPEC/ATT&CK для этого CWE.
Журнал изменений
- Исправление✗ → ✓
Для отслеживаемых записей эти изменения приходят и как уведомления. →
Источники
Показать все источники (ещё 8)Свернуть
- git.kernel.org/stable/c/0bccddd9b8f03ad57bb738f0d3da8845d4e1e579
- git.kernel.org/stable/c/1cb73704cb4778299609634a790a80daba582f7d
- git.kernel.org/stable/c/273f6a4f71be12e2ec80a4919837d6e4fa933a04
- git.kernel.org/stable/c/3d056d81b93a787613eda44aeb21fc14c3392b34
- git.kernel.org/stable/c/49bb053b1ec367b6883030eb2cca696e91435679
- git.kernel.org/stable/c/49db6cb81400ba863e1a85e55fcdf1031807c23f
- git.kernel.org/stable/c/b043f2cab100bed3e0a999dcf38cc05b1e4a7e41
- git.kernel.org/stable/c/cb1ccfe7655380f77a58b340072f5f40bc285902
Рекомендации вендоров и официальные записи. Ссылки на эксплойты/PoC намеренно исключены.