Bug 2226787 (CVE-2023-39193, ZDI-CAN-18866)

Summary: CVE-2023-39193 kernel: netfilter: xtables sctp out-of-bounds read in match_flags()
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, nmurray, ptalbert, qzhao, rogbas, rparrazo, rrobaina, rvrbovsk, scweaver, security-response-team, sukulkar, tglozar, 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 sctp_mt_check did not validate the flag_count field. This flaw allows a local privileged (CAP_NET_ADMIN) attacker to trigger an out-of-bounds read, 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: 2227298, 2227299, 2227300, 2227301, 2242879    
Bug Blocks: 2225771    

Description Mauro Matteo Cascella 2023-07-26 14:20:23 UTC
An out-of-bounds read issue was found in the Linux kernel in the match_flags() function, which belongs to the Xtables SCTP protocol packet matching. This flaw requires CAP_NET_ADMIN to be exploited and could lead to information disclosure.

Comment 10 Mauro Matteo Cascella 2023-10-09 14:43:47 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2242879]

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

Comment 12 errata-xmlrpc 2024-04-30 10:11:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 13 errata-xmlrpc 2024-05-22 09:14:16 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:18 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