Bug 2061633 (CVE-2022-27666)

Summary: CVE-2022-27666 kernel: buffer overflow in IPsec ESP transformation code
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, asavkov, bhu, bskeggs, carnil, chwhite, crwood, dbohanno, dhoward, dvlasenk, fhrbata, gsuckevi, hdegoede, hkrzesin, jarod, jarodwilson, jburrell, jeremy, jfaracco, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jpoimboe, jshortt, jstancek, jthierry, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, kpatch-maint, kyoshida, lgoncalv, linville, lzampier, masami256, mchehab, michal.skrivanek, mperina, mrehak, mvanderw, nmurray, nobody, psampaio, ptalbert, qzhao, rhandlin, rvrbovsk, scweaver, sdubroca, security-response-team, sgrubb, steved, vkumar, walters, williams, ycote, zulinx86
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.17 rc8 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. 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-12-05 12:34:16 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: 2062108, 2062109, 2062110, 2062111, 2062112, 2062113, 2062114, 2062115, 2062116, 2062118, 2062119, 2062120, 2062121, 2062122, 2062123, 2062124, 2062125, 2062192, 2063307, 2065568, 2066924, 2082950, 2082951, 2082952, 2082953, 2087136, 2087138    
Bug Blocks: 2060835, 2061739, 2067302, 2130514    

Description Rohit Keshri 2022-03-08 05:31:54 UTC
A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.

Reference:
https://github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645

Comment 7 Mauro Matteo Cascella 2022-03-11 17:22:47 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645

Comment 8 Rohit Keshri 2022-03-11 18:20:10 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2063307]

Comment 10 Sandro Bonazzola 2022-03-18 08:45:27 UTC
Created kernel tracking bugs for this issue:

Affects: ovirt-4.4 [bug 2065568]

Comment 15 Salvatore Bonaccorso 2022-03-23 08:18:45 UTC
This seems to be a duplicate assignment for https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27666 (assigned by MITRE)

Comment 16 Salvatore Bonaccorso 2022-03-23 21:25:18 UTC
https://www.cve.org/CVERecord?id=CVE-2022-0886 has been rejected now. Can you as well remove the alias to CVE-2022-0886 to avoid confusions (and add CVE-2022-27666)?

Thank you!

Comment 17 Rohit Keshri 2022-03-24 08:15:17 UTC
In reply to comment #16:
> https://www.cve.org/CVERecord?id=CVE-2022-0886 has been rejected now. Can
> you as well remove the alias to CVE-2022-0886 to avoid confusions (and add
> CVE-2022-27666)?
> 
> Thank you!

Thanks carnil, modified.

Comment 18 Rohit Keshri 2022-03-24 08:19:18 UTC
*** Bug 2067299 has been marked as a duplicate of this bug. ***

Comment 30 errata-xmlrpc 2022-05-31 09:10:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

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

Comment 31 errata-xmlrpc 2022-05-31 12:22:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

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

Comment 32 errata-xmlrpc 2022-05-31 12:24:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

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

Comment 34 errata-xmlrpc 2022-06-07 08:21:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions

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

Comment 35 errata-xmlrpc 2022-06-08 08:40:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions

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

Comment 36 errata-xmlrpc 2022-06-28 06:55:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 37 errata-xmlrpc 2022-06-28 07:28:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 38 errata-xmlrpc 2022-06-28 07:54:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

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

Comment 39 errata-xmlrpc 2022-06-28 07:55:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

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

Comment 40 errata-xmlrpc 2022-06-28 10:43:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 41 errata-xmlrpc 2022-06-28 12:25:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 42 errata-xmlrpc 2022-06-28 14:59:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 43 errata-xmlrpc 2022-06-28 18:31:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 44 errata-xmlrpc 2022-07-01 00:25:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

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

Comment 47 errata-xmlrpc 2022-07-21 12:31:55 UTC
This issue has been addressed in the following products:

  Red Hat Virtualization 4 for Red Hat Enterprise Linux 8

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

Comment 50 Alex 2022-10-03 16:27:25 UTC
*** Bug 2130513 has been marked as a duplicate of this bug. ***

Comment 52 Product Security DevOps Team 2022-12-05 12:34:10 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-2022-27666