В ядре Linux устранена следующая уязвимость:
NFSD: исправлен дополнительный счетчик доступа к nfs4_file в nfsd4_add_rdaccess_to_wrdeleg. В nfsd4_add_rdaccess_to_wrdeleg, если fp->fi_fds[O_RDONLY] уже есть
установлен другим потоком, __nfs4_file_get_access не следует вызывать
увеличить счетчик доступа к nfs4_file, поскольку это уже было сделано
потоком, который добавил доступ READ к файлу. Дополнительный fi_access
счетчик в nfs4_file может помешать тому, чтобы соответствующий nfsd_file был
освобожден.
При остановке службы nfs-server эти дополнительные счетчики доступа вызывают
ОШИБКА в kmem_cache_destroy(), которая показывает, что объект nfsd_file остается включенным
__kmem_cache_shutdown. Эту проблему можно воспроизвести, запустив тест проекта Git.
пакет поверх NFS.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg In nfsd4_add_rdaccess_to_wrdeleg, if fp->fi_fds[O_RDONLY] is already set by another thread, __nfs4_file_get_access should not be called to increment the nfs4_file access count since that was already done by the thread that added READ access to the file. The extra fi_access count in nfs4_file can prevent the corresponding nfsd_file from being freed. When stopping nfs-server service, these extra access counts trigger a BUG in kmem_cache_destroy() that shows nfsd_file object remaining on __kmem_cache_shutdown. This problem can be reproduced by running the Git project's test suite over NFS.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.18.4
|
6.18.33
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19.1
|
7.0.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:*
|
— | — |