Bug 2281651 (CVE-2024-35905)

Summary: CVE-2024-35905 kernel: bpf: Protect against int overflow for stack access size
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.10.215, kernel 5.15.154, kernel 6.1.85, kernel 6.6.26, kernel 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. An integer overflow vulnerability exists in the access size of a stack, such that the size of the access stack can appear negative as a result of overflowing its signed int representation. This issue can result in denial of service.
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: 2281652    
Bug Blocks: 2281743    

Description ybuenos 2024-05-20 10:42:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf: Protect against int overflow for stack access size

The Linux kernel CVE team has assigned CVE-2024-35905 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051954-CVE-2024-35905-d079@gregkh/T

Comment 1 ybuenos 2024-05-20 10:43:02 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281652]

Comment 3 Alex 2024-06-09 13:59:52 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35905 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: a833a17aeac73b33f79433d7cee68d5cafd71e4f	YES			NO	NO	unknown	 (where first YES/NO value means if related sources built).

Comment 4 errata-xmlrpc 2024-11-12 09:30:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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