Bug 2226784 (CVE-2023-39192, ZDI-CAN-18408)

Summary: CVE-2023-39192 kernel: netfilter: xtables out-of-bounds read in u32_match_it()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, bhu, chwhite, crwood, cye, dbohanno, ddepaula, debarbos, dfreiber, dvlasenk, egarver, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, nmurray, ptalbert, qzhao, rogbas, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, security-response-team, sukulkar, tglozar, tyberry, vkumar, walters, wcosta, williams, wmealing, ycote, ykopkova, ymankad, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.6-rc1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Netfilter subsystem in the Linux kernel. The xt_u32 module did not validate the fields in the xt_u32 structure. This flaw allows a local privileged attacker to trigger an out-of-bounds read by setting the size fields with a value beyond the array boundaries, leading to a crash or information disclosure.
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: 2227293, 2227294, 2227295, 2227296, 2242876    
Bug Blocks: 2225771    

Description Mauro Matteo Cascella 2023-07-26 14:13:58 UTC
An out-of-bounds read issue was found in the Linux kernel in the u32_match_it() function, which is used to match packet content under netfilter. This flaw requires CAP_NET_ADMIN to be exploited and could lead to information disclosure.

Comment 11 Mauro Matteo Cascella 2023-10-09 14:39:32 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2242876]

Comment 12 Justin M. Forbes 2023-10-12 16:34:32 UTC
This was fixed for Fedora with the 6.5.3 stable kernels.

Comment 13 errata-xmlrpc 2024-05-22 09:14:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:2950 https://access.redhat.com/errata/RHSA-2024:2950

Comment 14 errata-xmlrpc 2024-05-22 09:51:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3138 https://access.redhat.com/errata/RHSA-2024:3138