Bug 2041547 (CVE-2022-0264)

Summary: CVE-2022-0264 kernel: address leakage in BPF atomic fetch
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, chwhite, crwood, dvlasenk, hdegoede, hkrzesin, jarod, jarodwilson, jburrell, jeremy, jfaracco, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, kyoshida, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.16-rc6 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's eBPF verifier when handling internal data structures. Internal memory locations could be returned to userspace. A local attacker with the permissions to insert eBPF code to the kernel can use this to leak internal kernel memory details defeating some of the exploit mitigations in place for the kernel.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2041548, 2046633, 2046634, 2046636, 2046637    
Bug Blocks: 2039885    

Description Guilherme de Almeida Suckevicz 2022-01-17 16:51:37 UTC
A flaw was found in the Linux kernel. There is an address leakage in BPF atomic fetch.  This allows a local user with the ability to insert EBPF rules to be able to gather additional information for further attacks on the kernel.

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=7d3baf0afa3aa9102d6a521a8e4c41888bb79882

Comment 1 Guilherme de Almeida Suckevicz 2022-01-17 16:52:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2041548]

Comment 2 Justin M. Forbes 2022-01-17 22:18:10 UTC
This was fixed for Fedora with the 5.15.11 stable kernel updates.