Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-90036

Опубликовано: 16 сент. 2026
Источник: redhat
CVSS3: 8.8
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during blocked-lock reaping A bare lock owner -- its only remaining reference a blocked lock on nn->blocked_locks_lru -- holds a raw pointer to its nfs4_client but no reference keeping the client alive. When the per-net laundromat reaps such a lock, freeing the nbl drops the owner reference held through flc_owner, and the final nfs4_put_stateowner() takes the client's cl_lock. Because the laundromat detaches the nbl first, __destroy_client() no longer finds it, so a concurrent force_expire_client() can free the client before nfs4_put_stateowner() runs, dereferencing cl_lock in freed memory. Pin the client with cl_rpc_users before dropping nn->blocked_locks_lock, and skip clients already expiring, whose blocked locks __destroy_client() frees while holding an owner reference. Take nn->client_lock outside nn->blocked_locks_lock. Every other site holds nn->blocked_locks_lock as a leaf, acquiring no further lock, so placing nn->client_lock outside it cannot form a lock-order cycle.

A flaw was found in the Linux kernel's Network File System Daemon (NFSD). A use-after-free vulnerability can occur during the blocked-lock reaping process. This happens when a client's lock owner, without a proper reference to keep the client alive, leads to the client being prematurely freed. This can result in memory corruption when the system attempts to access freed memory, potentially leading to a denial of service or arbitrary code execution.

Отчет

A use-after-free flaw rated IMPORTANT by Red Hat was found in the Linux kernel's NFS server (NFSD) blocked-lock handling. When the per-network-namespace laundromat reaps a blocked lock whose lock owner holds only a raw pointer to its nfs4_client, without any reference keeping that client alive, a concurrent client expiry can free the client before nfs4_put_stateowner() runs, causing the client's cl_lock to be dereferenced in freed memory. This memory corruption can lead to a kernel panic (denial of service) or potentially arbitrary code execution. Exploitation requires winning a race condition between blocked-lock reaping and forced client expiry on the NFS server, which makes reliable exploitation difficult. Red Hat products that ship the affected kernel code are impacted, including Red Hat Enterprise Linux (kernel and kernel-rt) and Red Hat In-Vehicle OS (kernel); a fix is being pursued by the responsible engineering teams. The kernel-ivos-qualcomm components in Red Hat In-Vehicle OS are not affected because the vulnerable code is not present. Red Hat rates this flaw lower (CVSS 7.0, IMPORTANT) than the upstream CVE.org assessment (CVSS 9.8, CRITICAL) because triggering the flaw requires a successful race on the server rather than a straightforward unauthenticated network attack.

Меры по смягчению последствий

To mitigate this issue, stop and disable the NFS server service if NFS exports are not required:

systemctl stop nfs-server systemctl mask nfs-server

Alternatively, if the NFS server must remain operational, restrict network reachability to trusted clients or subnets using firewall rules:

firewall-cmd --permanent --remove-service=nfs firewall-cmd --permanent --zone=trusted --add-source=<trusted_client_IP_or_CIDR> firewall-cmd --permanent --zone=trusted --add-service=nfs firewall-cmd --reload

Caveats: Disabling the service stops all file sharing functionality, and firewall rules will block any unlisted clients from mounting or accessing exports. Warning: Stopping the NFS service or reloading firewall configurations will disconnect existing client sessions and disrupt active file operations.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelUnder investigation
Red Hat Enterprise Linux 7kernelAffected
Red Hat Enterprise Linux 7kernel-rtAffected
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
Red Hat Enterprise Linux 10kernelFixedRHSA-2026:8320715.10.2026
Red Hat Enterprise Linux 10kernelFixedRHSA-2026:9860811.11.2026
Red Hat Enterprise Linux 8kernel-rtFixedRHSA-2026:8315914.10.2026
Red Hat Enterprise Linux 8kernelFixedRHSA-2026:8315714.10.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-825
https://bugzilla.redhat.com/show_bug.cgi?id=2535158kernel: NFSD: Prevent client use-after-free during blocked-lock reaping

EPSS

Процентиль: 44%
0.00514
Низкий

8.8 High

CVSS3

Связанные уязвимости

CVSS3: 9.8
ubuntu
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during blocked-lock reaping A bare lock owner -- its only remaining reference a blocked lock on nn->blocked_locks_lru -- holds a raw pointer to its nfs4_client but no reference keeping the client alive. When the per-net laundromat reaps such a lock, freeing the nbl drops the owner reference held through flc_owner, and the final nfs4_put_stateowner() takes the client's cl_lock. Because the laundromat detaches the nbl first, __destroy_client() no longer finds it, so a concurrent force_expire_client() can free the client before nfs4_put_stateowner() runs, dereferencing cl_lock in freed memory. Pin the client with cl_rpc_users before dropping nn->blocked_locks_lock, and skip clients already expiring, whose blocked locks __destroy_client() frees while holding an owner reference. Take nn->client_lock outside nn->blocked_locks_lock. Every other site holds nn->blocked_locks_lock as a leaf...

CVSS3: 9.8
nvd
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during blocked-lock reaping A bare lock owner -- its only remaining reference a blocked lock on nn->blocked_locks_lru -- holds a raw pointer to its nfs4_client but no reference keeping the client alive. When the per-net laundromat reaps such a lock, freeing the nbl drops the owner reference held through flc_owner, and the final nfs4_put_stateowner() takes the client's cl_lock. Because the laundromat detaches the nbl first, __destroy_client() no longer finds it, so a concurrent force_expire_client() can free the client before nfs4_put_stateowner() runs, dereferencing cl_lock in freed memory. Pin the client with cl_rpc_users before dropping nn->blocked_locks_lock, and skip clients already expiring, whose blocked locks __destroy_client() frees while holding an owner reference. Take nn->client_lock outside nn->blocked_locks_lock. Every other site holds nn->blocked_locks_lock as a leaf

CVSS3: 9.8
msrc
2 месяца назад

NFSD: Prevent client use-after-free during blocked-lock reaping

CVSS3: 9.8
debian
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: N ...

CVSS3: 9.8
github
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during blocked-lock reaping A bare lock owner -- its only remaining reference a blocked lock on nn->blocked_locks_lru -- holds a raw pointer to its nfs4_client but no reference keeping the client alive. When the per-net laundromat reaps such a lock, freeing the nbl drops the owner reference held through flc_owner, and the final nfs4_put_stateowner() takes the client's cl_lock. Because the laundromat detaches the nbl first, __destroy_client() no longer finds it, so a concurrent force_expire_client() can free the client before nfs4_put_stateowner() runs, dereferencing cl_lock in freed memory. Pin the client with cl_rpc_users before dropping nn->blocked_locks_lock, and skip clients already expiring, whose blocked locks __destroy_client() frees while holding an owner reference. Take nn->client_lock outside nn->blocked_locks_lock. Every other site holds nn->blocked_locks_lock as a l...

EPSS

Процентиль: 44%
0.00514
Низкий

8.8 High

CVSS3