В ядре Linux устранена следующая уязвимость:
LSM: общая ошибка защиты в Heritage_parse_param
Обычная схема LSM-перехвата «под залог в случае неудачи» не работает в случаях, когда
модуль безопасности может вернуть код ошибки, указывающий, что он не
распознать ввод. В данном конкретном случае Smack видит опцию монтирования
что он распознает, и возвращает 0. Далее следует вызов перехватчика BPF, который
возвращает -ENOPARAM, что сбивает с толку вызывающую сторону, поскольку Smack обработал
его данные.
Перехватчик SELinux неправильно возвращает 1 в случае успеха. Было время когда это было правильно, однако в настоящее время ожидается, что это вернуть 0 в случае успеха. Это поправимо.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: LSM: general protection fault in legacy_parse_param The usual LSM hook "bail on fail" scheme doesn't work for cases where a security module may return an error code indicating that it does not recognize an input. In this particular case Smack sees a mount option that it recognizes, and returns 0. A call to a BPF hook follows, which returns -ENOPARAM, which confuses the caller because Smack has processed its data. The SELinux hook incorrectly returns 1 on success. There was a time when this was correct, however the current expectation is that it return 0 on success. This is repaired.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
5.4.189
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.110
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.33
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.16.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.17
|
5.17.2
|