Skip to main content

Linux Kernel CVE-2022-49362

CRITICAL
Use After Free (CWE-416)
2025-02-26 416baaa9-dc9f-4396-8d5f-8c081fb06d67
9.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.5 HIGH

Reachable over NFS (AV:N) but requires an authorized NFS client (PR:L) and winning a use-after-free race (AC:H); kernel corruption keeps C/I/A high.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat
7.8 HIGH
qualitative

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Aug 04, 2026 - 10:29 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 04, 2026 - 10:23 vuln.today
cvss_changed
Severity Changed
Aug 04, 2026 - 10:23 NVD
HIGH CRITICAL
CVSS changed
Aug 04, 2026 - 10:23 NVD
7.8 (HIGH) 9.8 (CRITICAL)
Analysis Generated
Mar 28, 2026 - 18:28 vuln.today
Patch released
Mar 28, 2026 - 18:28 nvd
Patch available
CVE Published
Feb 26, 2025 - 07:01 nvd
HIGH 7.8

DescriptionCVE.org

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

NFSD: Fix potential use-after-free in nfsd_file_put()

nfsd_file_put_noref() can free @nf, so don't dereference @nf immediately upon return from nfsd_file_put_noref().

AnalysisAI

Use-after-free in the Linux kernel's NFS server (NFSD) nfsd_file_put() routine allows a memory-corruption condition on hosts that export filesystems over NFS, because the code dereferences the file object @nf after nfsd_file_put_noref() may already have freed it. The flaw affects the in-kernel NFSD subsystem (regression present in 5.19-rc1 and backported stable trees) and can be reached by NFS clients interacting with an exported share, potentially yielding denial of service or, in a worst case, kernel memory disclosure or corruption. No public exploit is identified at time of analysis and the EPSS score is very low (0.04%), so this is a patch-and-move-on kernel hardening fix rather than an actively exploited threat.

Technical ContextAI

The vulnerability lives in the kernel NFS server (knfsd) file cache, specifically nfsd_file_put(), which manages reference counting on cached nfsd_file objects that back open file handles for NFS clients. The root cause is CWE-416 (use-after-free): nfsd_file_put_noref() can drop the final reference and free the nfsd_file structure, but the caller continued to dereference the same pointer after the call returned, touching freed slab memory. NFSD caches open file structures to avoid repeated open/close overhead across NFS operations, so the freed object can be reallocated by another kernel path, creating a classic reallocation/UAF window. Per the CPE data the affected component is cpe:2.3:o:linux:linux_kernel, with the regression explicitly tagged at 5.19:rc1; only systems that actually run the kernel NFS server exercise this code path.

RemediationAI

Apply the kernel update for your distribution: a vendor-released patch is available upstream via the stable-tree commits (https://git.kernel.org/stable/c/261eabe19cb28e4a8587a4442d257b543d7c2d57, .../333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57, .../ada1757b259f353cade47037ee0a0249b4cddad3, .../b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01) and in packaged fixes via Red Hat RHSA-2023:2458 and SUSE-SU-2025:1176 / SUSE-SU-2025:1241 - install the fixed kernel package for your specific series and reboot. If patching must be deferred, the most effective compensating control is to disable the kernel NFS server where it is not required (stop and mask nfs-server / knfsd), which fully removes the vulnerable code path but breaks NFS export functionality for any dependent clients. Where NFS must stay up, restrict client access by firewalling the NFS ports (2049/tcp+udp plus the associated rpcbind/mountd ports) to trusted client subnets and tightening /etc/exports to specific hosts, which narrows the attacker population at the cost of limiting legitimate reach but does not eliminate the bug for authorized clients.

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sle-micro/base-5.5:2.0.4-5.8.160 Image SLES15-SP5-BYOS-Azure Image SLES15-SP5-BYOS-EC2 Image SLES15-SP5-BYOS-GCE Image SLES15-SP5-CHOST-BYOS-Aliyun Image SLES15-SP5-CHOST-BYOS-Azure Image SLES15-SP5-CHOST-BYOS-EC2 Image SLES15-SP5-CHOST-BYOS-GCE Image SLES15-SP5-CHOST-BYOS-GDC Image SLES15-SP5-CHOST-BYOS-SAP-CCloud Image SLES15-SP5-EC2 Image SLES15-SP5-GCE Image SLES15-SP5-HPC-BYOS-Azure Image SLES15-SP5-HPC-BYOS-EC2 Image SLES15-SP5-HPC-BYOS-GCE Image SLES15-SP5-Hardened-BYOS-Azure Image SLES15-SP5-Hardened-BYOS-EC2 Image SLES15-SP5-Hardened-BYOS-GCE Image SLES15-SP5-Manager-Proxy-5-0-BYOS Image SLES15-SP5-Manager-Proxy-5-0-BYOS-Azure Image SLES15-SP5-Manager-Proxy-5-0-BYOS-EC2 Image SLES15-SP5-Manager-Proxy-5-0-BYOS-GCE Image SLES15-SP5-Manager-Server-5-0 Image SLES15-SP5-Manager-Server-5-0-Azure-llc Image SLES15-SP5-Manager-Server-5-0-Azure-ltd Image SLES15-SP5-Manager-Server-5-0-BYOS Image SLES15-SP5-Manager-Server-5-0-BYOS-Azure Image SLES15-SP5-Manager-Server-5-0-BYOS-EC2 Image SLES15-SP5-Manager-Server-5-0-BYOS-GCE Image SLES15-SP5-Manager-Server-5-0-EC2-llc Image SLES15-SP5-Manager-Server-5-0-EC2-ltd Image SLES15-SP5-Micro-5-5 Image SLES15-SP5-Micro-5-5-Azure Image SLES15-SP5-Micro-5-5-BYOS Image SLES15-SP5-Micro-5-5-BYOS-Azure Image SLES15-SP5-Micro-5-5-BYOS-EC2 Image SLES15-SP5-Micro-5-5-BYOS-GCE Image SLES15-SP5-Micro-5-5-EC2 Image SLES15-SP5-Micro-5-5-GCE Image SLES15-SP5-SAPCAL-Azure Image SLES15-SP5-SAPCAL-EC2 Image SLES15-SP5-SAPCAL-GCE Affected
Container suse/sle-micro/kvm-5.5:2.0.4-3.5.304 Affected
Container suse/sle-micro/rt-5.5:2.0.4-4.5.352 Affected
Image SLES15-SP5-SAP-Azure-3P Image SLES15-SP5-SAP-Azure-LI-BYOS Image SLES15-SP5-SAP-Azure-LI-BYOS-Production Image SLES15-SP5-SAP-Azure-VLI-BYOS Image SLES15-SP5-SAP-Azure-VLI-BYOS-Production Image SLES15-SP5-SAP-BYOS-Azure Image SLES15-SP5-SAP-BYOS-EC2 Image SLES15-SP5-SAP-BYOS-GCE Image SLES15-SP5-SAP-Hardened-Azure Image SLES15-SP5-SAP-Hardened-BYOS-Azure Image SLES15-SP5-SAP-Hardened-BYOS-EC2 Image SLES15-SP5-SAP-Hardened-BYOS-GCE Image SLES15-SP5-SAP-Hardened-GCE Affected
SUSE Liberty Linux 9 Fixed

Share

CVE-2022-49362 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy