NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e93a5e9306a576011f03011b492d4fbaa274477b · < 468e458ffde907ba19acd2102ca1fbb8f6fbede2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease()
When nfs4_add_lease() races with a delegation return, it calls nfs4_delete_lease() to clean up. Previously, it passed priv, which can legitimately be NULL. Passing a NULL priv eventually leads to a NULL pointer dereference in generic_setlease().
From the CVE record · Linux
The Linux kernel's NFSv4 lease handling can pass a NULL argument to nfs4_delete_lease() when adding a lease races with a delegation return. This can cause a NULL pointer dereference; the input does not specify an attacker path, authentication requirements, or user interaction.
Teams running the Linux kernel with NFSv4 should check their versions against the vendor advisory; affected versions were not provided.