Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: net: liquidio: fix BAR resource leak on PF number failure If cn23xx_get_pf_num() fails, the function returns without unmapping either BAR. Unmap both BARs before returning from the error path. Found by manual code review.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before 75b924759de9427761115301308c137904aa3f99; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before 4a45884566bab4122bbeb8fff7d2d6b5fdbded24; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before 020e52aee732bb08e6b89dd02bbf88895a50fffd; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before b74f293e5f38052cfa14710abfacd6b6561cc2d6; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before a22103618ee5b6ee884c374351f65fcdff7248f0; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before 715cce38424fb2488ef2c5e6e6ffbfe1b74a9e67; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before 4140c516473a0e116ab3a73f9320c2aa5800210b; affected 0c45d7fe12c7e1510bae9dfac189c8b927e4636b before c63ee62a3c4ac1a1542f4c1a4b87e2f41df5a496 |
| Linux / Linux | affected 4.14; unaffected 0 before 4.14; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/75b924759de9427761115301308c137904aa3f99
- https://git.kernel.org/stable/c/4a45884566bab4122bbeb8fff7d2d6b5fdbded24
- https://git.kernel.org/stable/c/020e52aee732bb08e6b89dd02bbf88895a50fffd
- https://git.kernel.org/stable/c/b74f293e5f38052cfa14710abfacd6b6561cc2d6
- https://git.kernel.org/stable/c/a22103618ee5b6ee884c374351f65fcdff7248f0
- https://git.kernel.org/stable/c/715cce38424fb2488ef2c5e6e6ffbfe1b74a9e67
- https://git.kernel.org/stable/c/4140c516473a0e116ab3a73f9320c2aa5800210b
- https://git.kernel.org/stable/c/c63ee62a3c4ac1a1542f4c1a4b87e2f41df5a496