Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47168
HistoryMar 25, 2024 - 9:16 a.m.

CVE-2021-47168 NFS: fix an incorrect limit in filelayout_decode_layout()

2024-03-2509:16:20
Linux
github.com
3
linux kernel
nfs
filelayout_decode_layout
memory corruption

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

NFS: fix an incorrect limit in filelayout_decode_layout()

The “sizeof(struct nfs_fh)” is two bytes too large and could lead to
memory corruption. It should be NFS_MAXFHSIZE because that’s the size
of the ->data[] buffer.

I reversed the size of the arguments to put the variable on the left.

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial