Bug 2034342 (CVE-2021-4157) - CVE-2021-4157 kernel: Buffer overwrite in decode_nfs_fh function
Summary: CVE-2021-4157 kernel: Buffer overwrite in decode_nfs_fh function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-4157
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2017166 2034343 2035016 2035017 2035018
Blocks: 2034344 2034920
TreeView+ depends on / blocked
 
Reported: 2021-12-20 18:21 UTC by Pedro Sampaio
Modified: 2023-02-02 11:54 UTC (History)
45 users (show)

Fixed In Version: kernel 5.13-rc1
Doc Type: If docs needed, set a value
Doc Text:
An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (replication of files with NFS). A user, having access to the NFS mount, could potentially use this flaw to crash the system or escalate privileges on the system.
Clone Of:
Environment:
Last Closed: 2022-05-11 04:45:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:2229 0 None None None 2022-05-12 11:27:05 UTC
Red Hat Product Errata RHBA-2022:4630 0 None None None 2022-05-18 11:46:49 UTC
Red Hat Product Errata RHBA-2022:4693 0 None None None 2022-05-19 05:11:14 UTC
Red Hat Product Errata RHBA-2022:4969 0 None None None 2022-06-08 18:40:23 UTC
Red Hat Product Errata RHBA-2022:5088 0 None None None 2022-06-16 11:23:45 UTC
Red Hat Product Errata RHSA-2022:1975 0 None None None 2022-05-10 14:40:39 UTC
Red Hat Product Errata RHSA-2022:1988 0 None None None 2022-05-10 14:46:40 UTC

Description Pedro Sampaio 2021-12-20 18:21:50 UTC
A flaw was found in the Linux kernel. A incorrect size check in decode_nfs_fh() may lead to an overwrite of 2 bytes beyond destination.

References:

https://lore.kernel.org/lkml/20210517140244.822185482@linuxfoundation.org/

Comment 1 Pedro Sampaio 2021-12-20 18:22:23 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2034343]

Comment 2 Justin M. Forbes 2021-12-21 14:55:00 UTC
This was fixed for Fedora with the 5.12.5 stable kernel updates.

Comment 9 errata-xmlrpc 2022-05-10 14:40:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1975 https://access.redhat.com/errata/RHSA-2022:1975

Comment 10 errata-xmlrpc 2022-05-10 14:46:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1988 https://access.redhat.com/errata/RHSA-2022:1988

Comment 11 Product Security DevOps Team 2022-05-11 04:45:33 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-4157


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