Files
CVEs-PoC/2021/CVE-2021-47179.md
2025-09-29 21:09:30 +02:00

2.4 KiB

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 callpnfs_mark_matching_lsegs_return() passing NULL as the structpnfs_layout_range argument. Unfortunately,pnfs_mark_matching_lsegs_return() doesn't check if we have a value herebefore dereferencing it, causing an oops.I'm able to hit this crash consistently when running connectathon basictests on NFS v4.1/v4.2 against Ontap.

POC

Reference

No PoCs from references.

Github