In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Fix a memleak bug in rvu_mbox_init()
In rvu_mbox_init(), mbox_regions is not freed or passed out
under the switch-default region, which could lead to a memory leak.
Fix this bug by changing 'return err' to 'goto free_regions'.
This bug was found by a static analyzer. The analysis employs
differential checking to identify inconsistent security operations
(e.g., checks or kfrees) between two code paths and confirms that the
inconsistent operations are not recovered in the current function or
the callers, so they constitute bugs.
Note that, as a bug found by static analysis, it can be a false
positive or hard to trigger. Multiple researchers have cross-reviewed
the bug.
Builds with CONFIG_OCTEONTX2_AF=y show no new warnings,
and our static analyzer no longer warns about this code.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-05-24T15:09:45.298Z
Updated: 2024-08-04T05:39:59.663Z
Reserved: 2024-05-24T15:02:54.827Z
Link: CVE-2021-47537
Vulnrichment
Updated: 2024-08-04T05:39:59.663Z
NVD
Status : Analyzed
Published: 2024-05-24T15:15:17.543
Modified: 2024-06-10T18:35:41.393
Link: CVE-2021-47537
Redhat