CVE-2021-47179
Description
In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() Commit de144ff4234f changes _pnfs_return_layout() to call pnfs_mark_matching_lsegs_return() passing NULL as the struct pnfs_layout_range argument. Unfortunately, pnfs_mark_matching_lsegs_return() doesn't check if we have a value here before dereferencing it, causing an oops. I'm able to hit this crash consistently when running connectathon basic tests on NFS v4.1/v4.2 against Ontap.
How to fix
- linux linux_kernel4.9.271, 4.14.235, 4.19.193, 5.4.124, 5.10.42, 5.12.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.9.269 ≤ v < 4.9.271, 4.14.233 ≤ v < 4.14.235, 4.19.191 ≤ v < 4.19.193, 5.4.118 ≤ v < 5.4.124, 5.10.36 ≤ v < 5.10.42, 5.12.3 ≤ v < 5.12.9 | 4.9.271, 4.14.235, 4.19.193, 5.4.124, 5.10.42, 5.12.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.