Live threats

All CVEs / Linux

CVE-2021-47259Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
May 21, 2024
Updated
Aug 4, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix use-after-free in nfs4_init_client() KASAN reports a use-after-free when attempting to mount two different exports through two different NICs that belong to the same server. Olga was able to hit this with kernels starting somewhere between 5.7 and 5.10, but I traced the patch that introduced the clear_bit() call to 4.13. So something must have changed in the refcounting of the clp pointer to make this call to nfs_put_client() the very last one.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 4.13 < 4.14.237
linuxlinux_kernel≥ 4.15 < 4.19.195
linuxlinux_kernel≥ 4.20 < 5.4.126
linuxlinux_kernel≥ 5.5 < 5.10.44
linuxlinux_kernel≥ 5.11 < 5.12.11
linuxlinux_kernel5.13
linuxlinux_kernel5.13
linuxlinux_kernel5.13
linuxlinux_kernel5.13
linuxlinux_kernel5.13

Official sources

References

Links published by the sources. Open them with care.