Bug 2130513

Summary: kernel: Out of bounds write in skb_page_frag_refill function (incomplete fix for CVE-2022-27666)
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, arachman, bhu, brdeoliv, bskeggs, chwhite, crwood, ctoe, ddepaula, debarbos, dhoward, dvlasenk, ezulian, fhrbata, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jpoimboe, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, kpatch-maint, lgoncalv, linville, lleshchi, lveyde, lzampier, masami256, mchehab, michal.skrivanek, mperina, nmurray, ptalbert, qzhao, rhandlin, rvrbovsk, sbonazzo, scweaver, sdubroca, security-response-team, steved, tyberry, vkumar, walters, williams, ycote
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Linux kernel 5.18-rc4 Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c for the cases where would end up calling skb_page_frag_refill with a size larger than a page. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-03 16:27:25 UTC 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: 2062110, 2062111, 2062112, 2062114, 2062115, 2062118, 2062119, 2062121, 2062122, 2062123, 2062124, 2062192, 2066924, 2082950, 2082951, 2082952, 2082953, 2087136, 2087138, 2131080, 2131548, 2131549, 2131550, 2131551, 2131552, 2131553, 2131554, 2131555, 2131556, 2131557, 2131558, 2131559, 2131560, 2131561, 2131562, 2131563, 2131564, 2131565, 2131566, 2131567, 2131568, 2131569, 2131570, 2131571    
Bug Blocks: 2130514    

Description Pedro Sampaio 2022-09-28 12:34:08 UTC
A remote code execution vulnerability has been discovered in the Linux Kernel which could affect the latest versions. This allows an attacker to execute arbitrary code as root. This vulnerability is a result of incorrect remediation of CVE-2022-27666.

References:

https://lore.kernel.org/all/20220711090538.769097008@linuxfoundation.org/

Comment 10 Alex 2022-10-02 14:53:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2131571]

Comment 13 Alex 2022-10-03 16:27:25 UTC

*** This bug has been marked as a duplicate of bug 2061633 ***

Comment 14 Justin M. Forbes 2022-10-04 14:50:13 UTC
This was fixed for Fedora with the 5.17.5 stable kernel update.