# CVE-2024-50046: NFSv4: Prevent NULL-pointer dereference in nfs42\_complete\_copies()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.01% (percentile 62, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-10-21T19:39:43.780Z
- **Modified:** 2026-10-15T01:19:06.460Z

## Who should check

- Anyone running Linux \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< f892165c564e3aab272948dbb556cc20e290c55a; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 584c019baedddec3fd634053e8fb2d8836108d38; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 632344b9efa064ca737bfcdaaaced59fd5f18ae9; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< fca41e5fa4914d12b2136c25f9dad69520b52683; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< ef9189bb15dcbe7ed3f3515aaa6fc8bf7483960d; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< a848c29e3486189aaabd5663bc11aea50c5bd144
- Anyone running Linux 5.5

## Description

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

NFSv4: Prevent NULL-pointer dereference in nfs42\_complete\_copies()

On the node of an NFS client, some files saved in the mountpoint of the
NFS server were copied to another location of the same NFS server.
Accidentally, the nfs42\_complete\_copies() got a NULL-pointer dereference
crash with the following syslog:

\[232064.838881\] NFSv4: state recovery failed for open file nfs/pvc-12b5200d-cd0f-46a3-b9f0-af8f4fe0ef64.qcow2, error = -116
\[232064.839360\] NFSv4: state recovery failed for open file nfs/pvc-12b5200d-cd0f-46a3-b9f0-af8f4fe0ef64.qcow2, error = -116
\[232066.588183\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000058
\[232066.588586\] Mem abort info:
\[232066.588701\]   ESR = 0x0000000096000007
\[232066.588862\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[232066.589084\]   SET = 0, FnV = 0
\[232066.589216\]   EA = 0, S1PTW = 0
\[232066.589340\]   FSC = 0x07: level 3 translation fault
\[232066.589559\] Data abort info:
\[232066.589683\]   ISV = 0, ISS = 0x00000007
\[232066.589842\]   CM = 0, WnR = 0
\[232066.589967\] user pgtable: 64k pages, 48-bit VAs, pgdp=00002000956ff400
\[232066.590231\] \[0000000000000058\] pgd=08001100ae100003, p4d=08001100ae100003, pud=08001100ae100003, pmd=08001100b3c00003, pte=0000000000000000
\[232066.590757\] Internal error: Oops: 96000007 \[\#1\] SMP
\[232066.590958\] Modules linked in: rpcsec\_gss\_krb5 auth\_rpcgss nfsv4 dns\_resolver nfs lockd grace fscache netfs ocfs2\_dlmfs ocfs2\_stack\_o2cb ocfs2\_dlm vhost\_net vhost vhost\_iotlb tap tun ipt\_rpfilter xt\_multiport ip\_set\_hash\_ip ip\_set\_hash\_net xfrm\_interface xfrm6\_tunnel tunnel4 tunnel6 esp4 ah4 wireguard libcurve25519\_generic veth xt\_addrtype xt\_set nf\_conntrack\_netlink ip\_set\_hash\_ipportnet ip\_set\_hash\_ipportip ip\_set\_bitmap\_port ip\_set\_hash\_ipport dummy ip\_set ip\_vs\_sh ip\_vs\_wrr ip\_vs\_rr ip\_vs iptable\_filter sch\_ingress nfnetlink\_cttimeout vport\_gre ip\_gre ip\_tunnel gre vport\_geneve geneve vport\_vxlan vxlan ip6\_udp\_tunnel udp\_tunnel openvswitch nf\_conncount dm\_round\_robin dm\_service\_time dm\_multipath xt\_nat xt\_MASQUERADE nft\_chain\_nat nf\_nat xt\_mark xt\_conntrack xt\_comment nft\_compat nft\_counter nf\_tables nfnetlink ocfs2 ocfs2\_nodemanager ocfs2\_stackglue iscsi\_tcp libiscsi\_tcp libiscsi scsi\_transport\_iscsi ipmi\_ssif nbd overlay 8021q garp mrp bonding tls rfkill sunrpc ext4 mbcache jbd2
\[232066.591052\]  vfat fat cas\_cache cas\_disk ses enclosure scsi\_transport\_sas sg acpi\_ipmi ipmi\_si ipmi\_devintf ipmi\_msghandler ip\_tables vfio\_pci vfio\_pci\_core vfio\_virqfd vfio\_iommu\_type1 vfio dm\_mirror dm\_region\_hash dm\_log dm\_mod nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 br\_netfilter bridge stp llc fuse xfs libcrc32c ast drm\_vram\_helper qla2xxx drm\_kms\_helper syscopyarea crct10dif\_ce sysfillrect ghash\_ce sysimgblt sha2\_ce fb\_sys\_fops cec sha256\_arm64 sha1\_ce drm\_ttm\_helper ttm nvme\_fc igb sbsa\_gwdt nvme\_fabrics drm nvme\_core i2c\_algo\_bit i40e scsi\_transport\_fc megaraid\_sas aes\_neon\_bs
\[232066.596953\] CPU: 6 PID: 4124696 Comm: 10.253.166.125- Kdump: loaded Not tainted 5.15.131-9.cl9\_ocfs2.aarch64 \#1
\[232066.597356\] Hardware name: Great Wall .\\x93\\x8e...RF6260 V5/GWMSSE2GL1T, BIOS T656FBE\_V3.0.18 2024-01-06
\[232066.597721\] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[232066.598034\] pc : nfs4\_reclaim\_open\_state+0x220/0x800 \[nfsv4\]
\[232066.598327\] lr : nfs4\_reclaim\_open\_state+0x12c/0x800 \[nfsv4\]
\[232066.598595\] sp : ffff8000f568fc70
\[232066.598731\] x29: ffff8000f568fc70 x28: 0000000000001000 x27: ffff21003db33000
\[232066.599030\] x26: ffff800005521ae0 x25: ffff0100f98fa3f0 x24: 0000000000000001
\[232066.599319\] x23: ffff800009920008 x22: ffff21003db33040 x21: ffff21003db33050
\[232066.599628\] x20: ffff410172fe9e40 x19: ffff410172fe9e00 x18: 0000000000000000
\[232066.599914\] x17: 0000000000000000 x16: 0000000000000004 x15: 0000000000000000
\[232066.600195\] x14: 0000000000000000 x13: ffff800008e685a8 x12: 00000000eac0c6e6
\[232066.600498\] x11: 00000000000000
---truncated---

## Affected and fixed versions

- Linux: \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< f892165c564e3aab272948dbb556cc20e290c55a; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 584c019baedddec3fd634053e8fb2d8836108d38; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 632344b9efa064ca737bfcdaaaced59fd5f18ae9; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< fca41e5fa4914d12b2136c25f9dad69520b52683; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< ef9189bb15dcbe7ed3f3515aaa6fc8bf7483960d; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< a848c29e3486189aaabd5663bc11aea50c5bd144 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50046.md
Affected: Linux >= 0e65a32c8a569db363048e17a708b1a0913adbef, < f892165c564e3aab272948dbb556cc20e290c55a; >= 0e65a32c8a569db363048e17a708b1a0913adbef, < 584c019baedddec3fd634053e8fb2d8836108d38; >= 0e65a32c8a569db363048e17a708b1a0913adbef, < 632344b9efa064ca737bfcdaaaced59fd5f18ae9; >= 0e65a32c8a569db363048e1…
Fixed in: Linux 584c019baedddec3fd634053e8fb2d8836108d38, Linux 632344b9efa064ca737bfcdaaaced59fd5f18ae9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50046 being exploited?

There is no confirmed exploitation: CVE-2024-50046 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50046?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-50046?

Linux \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< f892165c564e3aab272948dbb556cc20e290c55a; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 584c019baedddec3fd634053e8fb2d8836108d38; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< 632344b9efa064ca737bfcdaaaced59fd5f18ae9; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< fca41e5fa4914d12b2136c25f9dad69520b52683; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< ef9189bb15dcbe7ed3f3515aaa6fc8bf7483960d; \>= 0e65a32c8a569db363048e17a708b1a0913adbef, \< a848c29e3486189aaabd5663bc11aea50c5bd144; Linux 5.5.

### Is there a fix for CVE-2024-50046?

Yes. Fixed in Linux 584c019baedddec3fd634053e8fb2d8836108d38, Linux 632344b9efa064ca737bfcdaaaced59fd5f18ae9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50046?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f892165c564e3aab272948dbb556cc20e290c55a>
- patch: <https://git.kernel.org/stable/c/584c019baedddec3fd634053e8fb2d8836108d38>
- patch: <https://git.kernel.org/stable/c/632344b9efa064ca737bfcdaaaced59fd5f18ae9>
- patch: <https://git.kernel.org/stable/c/fca41e5fa4914d12b2136c25f9dad69520b52683>
- patch: <https://git.kernel.org/stable/c/ef9189bb15dcbe7ed3f3515aaa6fc8bf7483960d>
- patch: <https://git.kernel.org/stable/c/a848c29e3486189aaabd5663bc11aea50c5bd144>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50046>

HTML: <https://flawdb.com/CVE-2024-50046> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50046>
