Bug 2018205 (CVE-2021-0941) - CVE-2021-0941 kernel: out-of-bounds read in bpf_skb_change_head() of filter.c due to a use-after-free
Summary: CVE-2021-0941 kernel: out-of-bounds read in bpf_skb_change_head() of filter.c...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-0941
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: 2019556 1947006 2018206 2018252 2018253
Blocks: 2018207
TreeView+ depends on / blocked
 
Reported: 2021-10-28 14:04 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-06-16 11:23 UTC (History)
44 users (show)

Fixed In Version: Kernel 5.12
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds (OOB) memory access flaw was found in net/core/filter.c in __bpf_skb_max_len in the Linux kernel. A missing sanity check to the current MTU check may allow a local attacker with special user privilege to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information.
Clone Of:
Environment:
Last Closed: 2022-05-11 04:16:25 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:26:52 UTC
Red Hat Product Errata RHBA-2022:4630 0 None None None 2022-05-18 11:46:36 UTC
Red Hat Product Errata RHBA-2022:4693 0 None None None 2022-05-19 05:11:01 UTC
Red Hat Product Errata RHBA-2022:4969 0 None None None 2022-06-08 18:40:12 UTC
Red Hat Product Errata RHBA-2022:5088 0 None None None 2022-06-16 11:23:24 UTC
Red Hat Product Errata RHSA-2022:1975 0 None None None 2022-05-10 14:40:12 UTC
Red Hat Product Errata RHSA-2022:1988 0 None None None 2022-05-10 14:46:08 UTC

Description Guilherme de Almeida Suckevicz 2021-10-28 14:04:25 UTC
An out-of-bounds (OOB) memory access flaw was found in net/core/filter.c in __bpf_skb_max_len in the Linux kernel. A missing sanity check to the current MTU check may allow a local attacker with special user privilege to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information.

References:
https://source.android.com/security/bulletin/pixel/2021-10-01
https://android.googlesource.com/kernel/common/+/6306c1189e77a513bf02720450bb43bd4ba5d8ae

Comment 1 Guilherme de Almeida Suckevicz 2021-10-28 14:05:28 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2018206]

Comment 7 Justin M. Forbes 2021-11-02 21:05:26 UTC
This was fixed for Fedora with the 5.11.12 stable kernel updates.

Comment 10 errata-xmlrpc 2022-05-10 14:40:09 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 11 errata-xmlrpc 2022-05-10 14:46:03 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 12 Product Security DevOps Team 2022-05-11 04:16:21 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-0941


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