Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-46690

published critical CVSS 3.1 · 9.8

nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease

Published
13 Sep 2024, 05:29:20 UTC
Updated
05 Aug 2026, 11:37:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc5967721e1063648b0506481585ba7e2e49a075e to < 1b46a871e980e3daa16fd5e77539966492e8910a · c5967721e1063648b0506481585ba7e2e49a075e to < 40927f3d0972bf86357a32a5749be71a551241b6 · 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 nfsd4_deleg_getattr_conflict in presence of third party lease It is not safe to dereference fl->c.flc_owner without first confirming fl->fl_lmops is the expected manager. nfsd4_deleg_getattr_conflict() tests fl_lmops but largely ignores the result and assumes that flc_owner is an nfs4_delegation anyway. This is wrong. With this patch we restore the "!= &nfsd_lease_mng_ops" case to behave as it did before the change mentioned below. This is the same as the current code, but without any reference to a possible delegation.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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 function is in the in-kernel NFS server and is reached purely by an NFSv4 COMPOUND GETATTR requesting the change or size attribute over TCP port 2049. No local access to the server is required to drive the confused dereference. AC:L - The trigger (GETATTR for size/change on a chosen file) is issued at will and repeatably, and the required non-nfsd F_WRLCK lease is attacker-creatable in the standard multiprotocol NAS deployment the commit describes — the same tree exported via Samba, which takes fcntl(F_SETLEASE, F_WRLCK) kernel oplocks on behalf of an SMB client. The attacker therefore controls both the precondition and the trigger; no timing window or unknowable memory state must be guessed. PR:N - NFS AUTH_SYS verifies no credentials — any host permitted by the export list simply asserts a uid, and CVSS does not treat network-level export ACLs as a privilege. Issuing a GETATTR for size/change requires nothing beyond a mount of an ordinary export. UI:N - The attacker drives both the lease-establishing open and the GETATTR itself; no action by any legitimate user or administrator is needed. S:U - The type confusion corrupts kernel slab memory within the same security authority as the nfsd server; no VM, IOMMU, or sandbox boundary is crossed. C:H - `*size = ncf->ncf_cur_fsize` reads 8 bytes roughly 400 bytes past the end of the 232-byte struct file and encodes them into the FATTR4_SIZE field of the GETATTR reply, directly disclosing adjacent kernel heap contents to the remote client, on top of the OOB pointer reads of `cb_clp`/`cb_ops`. I:H - The path performs multiple out-of-bounds writes into the neighbouring slab object (`test_and_set_bit` on ncf_cb_flags, the u32 ncf_cb_status store, the u64 ncf_cur_fsize store, the ncf_file_modified byte) plus a refcount_inc over struct file's first word, and reaches an indirect call through `s->sc_free` and `cb->cb_ops` read from confused/OOB memory — a groomable control-flow hijack primitive. A:H - `nfsd4_run_cb()` dereferences `clp` read from out-of-bounds memory and calls queue_work() on an uninitialized work_struct, and nfs4_put_stid() spin_locks a garbage pointer, so a single GETATTR reliably oopses or panics the NFS file server and can be repeated at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c5967721e1063648b0506481585ba7e2e49a075e to < 1b46a871e980e3daa16fd5e77539966492e8910a (affected · git)c5967721e1063648b0506481585ba7e2e49a075e to < 40927f3d0972bf86357a32a5749be71a551241b6 (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

0

No weakness assertions.

References

2

Provider assertions

2

Linux · cna

nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
44179c59a7e6e2392986b515f8b49032ad415defd385b5b26295c324e96f9c8f
Ingested
23 Sep 2026, 08:28:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected