Bug 2284265 (CVE-2024-36885)

Summary: CVE-2024-36885 kernel: drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
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, mbenatto, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.6.31, kernel 6.8.10, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
[REJECTED CVE] A vulnerability has been identified in the Linux kernel's drm/nouveau/firmware module, where enabling SG_DEBUG causes a kernel BUG() in nvkm_firmware_ctor(). This occurs because DMA-allocated memory cannot be converted into memory pages, leading to an invalid scatterlist mapping. An attacker with control over kernel parameters or device initialization could potentially trigger this bug, causing a system crash or 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: 2284266    
Bug Blocks: 2284293    

Description ybuenos 2024-06-02 14:40:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024053032-CVE-2024-36885-cb0b@gregkh/T

Comment 1 ybuenos 2024-06-02 14:41:13 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2284266]

Comment 4 Alex 2024-06-09 17:49:05 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-36885 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags INIT NOMEMCHK DMAorINTERRUPT HARDWARE  ; these flags parsed automatically based on patch data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 6 errata-xmlrpc 2024-11-12 09:33:21 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

Comment 7 TEJ RATHI 2025-02-20 11:53:09 UTC
This CVE has been rejected upstream:
https://lore.kernel.org/linux-cve-announce/2024121903-REJECTED-086f@gregkh/