CVE-2024-46696
published critical CVSS 3.1 · 9.8nfsd: fix potential UAF in nfsd4_cb_getattr_release
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc5967721e1063648b0506481585ba7e2e49a075e to < e0b66698a5ae41078f7490e8b3527013f5fccd6c · c5967721e1063648b0506481585ba7e2e49a075e to < 1116e0e372eb16dd907ec571ce5d4af325c55c10 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.10.8 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix potential UAF in nfsd4_cb_getattr_release Once we drop the delegation reference, the fields embedded in it are no longer safe to access. Do that last.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable path is in the in-kernel NFS server and is driven entirely by NFSv4 COMPOUND requests (OPEN/GETATTR/DELEGRETURN) and the client's CB_GETATTR callback reply over TCP port 2049. No local access to the server is needed. AC:L - The attacker controls both sides of the race — the CB_GETATTR reply timing on its own callback channel (the server's wait is a fixed 30 ms timeout that is trivially exceeded on purpose) and the DELEGRETURN that drops the delegation's in-force reference — so it can deterministically arrange for the release callback's put to be the final one. PR:N - NFS AUTH_SYS performs no real authentication: any host permitted by the export list simply asserts a uid, and CVSS does not treat network-level export ACLs as privileges. On a typical rw NFSv4 export the attacker needs only to open a file for write and issue a GETATTR from a second clientid, both pre-any-credential-verification. UI:N - The attacker drives both the delegation-holding client and the GETATTR-issuing client itself; no action by any legitimate user or administrator is required. S:U - The use-after-free corrupts kernel slab memory within the same security authority as the nfsd server; no VM, IOMMU, or sandbox boundary is crossed. C:H - A use-after-free on a freed nfs4_delegation gives the attacker, who can groom the reallocation, read access to the reused object — the wake path's test_bit() reads the freed word, and a delegation reused with stale/attacker-adjacent state can leak kernel pointers and file attribute data back over the NFS connection. I:H - clear_bit() performs a write into freed slab memory at a fixed offset; since deleg_slab is created with no SLAB_ACCOUNT and no constructor it merges with other same-size caches, turning this into a groomable arbitrary-object bit-clear primitive usable to corrupt flags, counters, or pointer low bits for control-flow hijacking. A:H - The use-after-free reliably corrupts freed or reallocated delegation state, causing KASAN-detected UAF, spurious CB_GETATTR re-issue on an in-flight callback, and kernel oops/panic of the NFS file server, which can be triggered repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c5967721e1063648b0506481585ba7e2e49a075e to < e0b66698a5ae41078f7490e8b3527013f5fccd6c (affected · git)c5967721e1063648b0506481585ba7e2e49a075e to < 1116e0e372eb16dd907ec571ce5d4af325c55c10 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.10.8 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
nfsd: fix potential UAF in nfsd4_cb_getattr_release
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cefc9cd794f44453405aaa46e7b014b2b8f8f57131636735774b9e1441e7da43
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record