В ядре Linux устранена следующая уязвимость: perf/core: Доступ к ядру Check при запросе цепочек вызовов ядра perf_event_open() В настоящее время perf_allow_kernel() работает только на !attr.exclude_kernel. Тем не менее, пользователи по-прежнему могут запрашивать коллекцию callchain ядра с attr.exclude_callchain_kernel 0, даже если attr.exclude_kernel 1. Для этого по-прежнему требуется привилегия профилирования ядра, но существующая проверка не обеспечивает ее соблюдение.
Обновите проверку разрешений, чтобы вызвать perf_allow_kernel (), когда запрашивается выборка ядра или запрашиваются цепочки вызовов ядра. Это сохраняет проверки разрешений в соответствии с запрошенными данными и предотвращает непривилегированное использование захвата цепочки вызовов ядра.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: perf/core: Check kernel access when kernel callchains are requested perf_event_open() currently gates perf_allow_kernel() only on !attr.exclude_kernel. However, users can still request kernel callchain collection with attr.exclude_callchain_kernel == 0 even when attr.exclude_kernel == 1. That still requires kernel profiling privilege, but the existing check does not enforce it. Update the permission check to call perf_allow_kernel() when either kernel sampling is requested or kernel callchains are requested. This keeps permission checks aligned with requested data and prevents unprivileged use of kernel callchain capture.
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
2.6.31
|
6.12.113
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
2.6.31
|
6.18.56
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
2.6.31
|
7.2.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
2.6.31
|
7.3
|