In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init() The Linux kernel CVE team has assigned CVE-2024-35972 to this issue. Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052023-CVE-2024-35972-138d@gregkh/T
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.