Bug 2271432 (CVE-2021-47168) - CVE-2021-47168 kernel: NFS: fix an incorrect limit in filelayout_decode_layout()
Summary: CVE-2021-47168 kernel: NFS: fix an incorrect limit in filelayout_decode_layout()
Keywords:
Status: NEW
Alias: CVE-2021-47168
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2271579
TreeView+ depends on / blocked
 
Reported: 2024-03-25 16:18 UTC by Mauro Matteo Cascella
Modified: 2024-06-21 11:22 UTC (History)
49 users (show)

Fixed In Version: kernel 4.4.271, kernel 4.9.271, kernel 4.14.235, kernel 4.19.193, kernel 5.4.124, kernel 5.10.42, kernel 5.12.9, kernel 5.13
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the NFS implementation in Linux Kernel causing memory corruption due to an incorrect size limit in filelayout_decode_layout(). Using "sizeof(struct nfs_fh)" instead of NFS_MAXFHSIZE led to buffer overflow by two bytes leads to potential memory corruption.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2024-03-25 16:18:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

NFS: fix an incorrect limit in filelayout_decode_layout()

The Linux kernel CVE team has assigned CVE-2021-47168 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024032536-CVE-2021-47168-2916@gregkh/T

Comment 3 Alex 2024-06-09 13:40:00 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47168 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: 16b374ca439fb406e46e071f75428f5b033056f8	YES			NO	YES	unknown (where first YES/NO value means if related sources built).


Note You need to log in before you can comment on or make changes to this bug.