Bug 2281893 (CVE-2024-35972)
Summary: | CVE-2024-35972 kernel: bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init() | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Robb Gatica <rgatica> |
Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
Status: | NEW --- | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | 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, mschmidt, 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 6.6.28, kernel 6.8.7, kernel 6.9 | Doc Type: | If docs needed, set a value |
Doc Text: | 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: | 2281894 | ||
Bug Blocks: | 2282028 |
Description
Robb Gatica
2024-05-20 16:32:55 UTC
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2281894] A cure worse than the disease. The upstream patch changes a theoretical memory leak to a NULL pointer dereference (aux_priv->edev is zero-initialized, in bnxt_aux_dev_release aux_priv->edev->net will be NULL and the function will dereference it). And, as is often the case with Linux kernel CVEs about memory allocation error paths, the bug will never happen in practice, because tiny GFP_KERNEL allocations *never* fail in the Linux kernel. The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35972 is: CHECK Maybe valid. Check manually. with impact LOW (that is an approximation based on flags REMOTE INIT SIMPLEFIX LEAK NETWORK IMPROVEONLY ; 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. |