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

exploitDog

redhat логотип

CVE-2026-99362

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

Описание

In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.

A flaw was found in the Linux kernel's Network File System daemon (nfsd). A remote client can trigger an out-of-bounds memory write by negotiating a minimal cached reply size and sending crafted compound requests containing SEQUENCE operations. This issue occurs because the server fails to verify that the response fits within negotiated buffer limits before caching it, causing response data to be written past the end of the allocated buffer. An attacker could exploit this vulnerability to cause memory corruption and a system crash, resulting in a denial of service (DoS), or potentially execute arbitrary code.

Отчет

Critical severity is assigned because an unauthenticated network-adjacent or remote attacker can trigger kernel heap corruption, potentially achieving remote code execution or causing a kernel panic that leads to complete denial of service. Default Red Hat Enterprise Linux configurations do not run or enable the in-kernel NFS server daemon (nfsd), limiting the attack surface to systems specifically configured to export NFSv4.1 or NFSv4.2 shares. Deployments that do not operate as an NFS server are not exposed to this flaw.

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

Disable the NFS server service if NFS sharing is not required on the system, or restrict network access to port 2049 to trusted networks. If the NFS server is not required, stop and disable the service:

systemctl stop nfs-server systemctl disable nfs-server

If the NFS server must remain operational, restrict access to trusted hosts using firewalld:

firewall-cmd --permanent --remove-service=nfs firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="<trusted_ip_or_subnet>" service name="nfs" accept' firewall-cmd --reload

Caveats: Disabling nfs-server prevents the host from sharing files over the network. Restricting access via firewalld blocks any client outside the designated IP address or subnet from mounting or interacting with NFS exports. Warning: Stopping nfs-server terminates active NFS sessions and interrupts active client operations. Executing firewall-cmd --reload activates firewall changes immediately, which will sever connections from clients not explicitly permitted.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelAffected
Red Hat Enterprise Linux 6kernelAffected
Red Hat Enterprise Linux 7kernelAffected
Red Hat Enterprise Linux 7kernel-rtAffected
Red Hat Enterprise Linux 8kernelAffected
Red Hat Enterprise Linux 8kernel-rtAffected
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected

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

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

Статус:

Critical
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2576719kernel: kernel: Out-of-bounds write in nfsd via crafted SEQUENCE compound requests

EPSS

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

9.8 Critical

CVSS3

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

CVSS3: 9.8
ubuntu
8 дней назад

In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is...

CVSS3: 9.8
nvd
8 дней назад

In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is

CVSS3: 9.8
msrc
3 дня назад

nfsd: preflight SEQUENCE replies before accepting a slot

CVSS3: 9.8
debian
8 дней назад

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

CVSS3: 9.8
github
8 дней назад

In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag...

EPSS

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

9.8 Critical

CVSS3

Уязвимость CVE-2026-99362 в Red Hat CVE — exploitDog