{"slug": "nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix", "title": "NFS2ROOT on CentOS 7: the stock kernel is affected and gets no fix", "summary": "A maintainer of GetPageSpeed's kernel-lt package reports that NFS2ROOT (CVE-2026-99362), a pre-authentication heap overflow in the Linux kernel's NFS server rated CVSS 9.8, affects stock CentOS 7 kernels that will receive no fix. The flaw is triggered by an unauthenticated client reaching TCP 2049 and shrinking the NFSv4.1 session reply cache, and the maintainer says kernel-lt has carried the patch since 6.18.62-1, published twelve days before the CVE went public, while CentOS 8 users can convert in place to AlmaLinux, Rocky or Oracle Linux 8, which already ship the fixed kernel.", "body_md": "NFS2ROOT (CVE-2026-99362) is a pre-authentication heap overflow in the Linux kernel's NFS server. A client that can reach TCP 2049 shrinks its NFSv4.1 session reply cache to zero bytes, pads a `SEQUENCE` request, and nfsd copies the whole reply into the empty slot buffer. No account or export access is needed. The kernel.org CNA rates it CVSS 9.8, Red Hat rates it Critical.\n\nOn CentOS 7 it reaches every NFS server running the defaults:\n\n`nfsd` serves `+4.1 +4.2` out of the box, and having no exports does not help: the overflow happens during session setup. CentOS 7 gets no kernel updates.`kernel-lt` 5.4.278 and `kernel-ml` 6.9.7:`4.18.0-553.190.1.el8_10`), CentOS 8 did not. AlmaLinux 8, Rocky 8 and Oracle Linux 8 already ship that kernel, so converting in place is the free way out.\nDisclosure: I maintain this package. GetPageSpeed's `kernel-lt` has carried the fix since 6.18.62-1, published on 2026-11-07, twelve days before the CVE went public. It uses the same package name as ELRepo, installs beside your current kernel, and is free for any use:\n\n```\nyum -y install https://extras.getpagespeed.com/release-latest.rpm\nyum -y install yum-utils\nyum-config-manager --enable getpagespeed-extras-corecare\nyum -y install kernel-lt\ngrub2-set-default 0\ngrubby --default-kernel\nreboot\n```\n\nAlready on our 6.18 kernel but older than 6.18.62? `yum -y update 'kernel-lt*'`, then check `grubby --default-kernel` before you reboot: builds before 6.18.62-2 did not move the GRUB default on update. `uname -r` after the reboot is the check that counts, not `rpm -q`.\n\nThe exposure checks, Red Hat's stopgap (stop `nfs-server` or firewall 2049) and the rollback are in the [full write-up](https://www.getpagespeed.com/server-setup/security/nfs2root-cve-2026-99362-centos-7).", "url": "https://wpnews.pro/news/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix", "canonical_source": "https://dev.to/getpagespeed/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix-1cej", "published_at": "2026-11-27 09:01:54+00:00", "updated_at": "2026-11-27 09:14:31.729284+00:00", "lang": "en", "topics": ["ai-safety"], "entities": ["GetPageSpeed", "CentOS 7", "Red Hat", "kernel.org", "AlmaLinux", "Rocky Linux", "Oracle Linux", "ELRepo"], "also_reported_by": [], "takeaway": "CentOS 7's stock nfsd serves NFSv4.1/4.2 by default and is exploitable pre-auth via TCP 2049 even with no exports, so the fix requires moving to kernel-lt 6.18.62-1 or later and verifying with uname -r after reboot.", "recommendation": {"advice": "On CentOS 7, stop nfs-server or firewall port 2049 as a stopgap, then install kernel-lt 6.18.62-1 or later and confirm the running kernel with uname -r after reboot.", "playbook": "production-ops", "playbook_url": "https://wpnews.pro/playbooks/production-ops"}, "alternates": {"html": "https://wpnews.pro/news/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix", "markdown": "https://wpnews.pro/news/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix.md", "text": "https://wpnews.pro/news/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix.txt", "jsonld": "https://wpnews.pro/news/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix.jsonld"}}