Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ipw2100: fix potential memory leak in ipw2100_pci_init_one() The memory allocated in the ipw2100_alloc_device() function is not freed in some of the error paths in ipw2100_pci_init_one(). Fix that by converting the direct return into a goto to the error path return. The error path when pci_enable_device() fails cannot jump to fail, since at this point priv is not set, so perform error handling inline.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2c86c275015c880e810830304a3a4ab94803b38b to < 71614326ab43e8b8f392ba865aeb6d7e327dff7daffected2c86c275015c880e810830304a3a4ab94803b38b to < 9b080198a22fd809c4e7f6793eafab53ac2643fdaffected2c86c275015c880e810830304a3a4ab94803b38b to < 768a701362a8f77b62c14f8202ad559b7ecbb0c6affected2c86c275015c880e810830304a3a4ab94803b38b to < f75b9a2a9d8334ae0f9c5e47df7b31f7aeb1fdbeaffected2c86c275015c880e810830304a3a4ab94803b38b to < 836a19c654dcb1b01878a70090af016fbd0fd7e5affected2c86c275015c880e810830304a3a4ab94803b38b to < f442e581a88937671a22ceb3806c186265ef6254affected2c86c275015c880e810830304a3a4ab94803b38b to < 7cbda50eebcd9aa00b0de382f776287cf7a36cf8affected2c86c275015c880e810830304a3a4ab94803b38b to < 0d388f62031dbabcba0f44bb91b59f10e88cac17affected
Linux Linux
Default version status: affected
2.6.14affected0 to < 2.6.14unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/71614326ab43e8b8f392ba865aeb6d7e327dff7d ↗
- https://git.kernel.org/stable/c/9b080198a22fd809c4e7f6793eafab53ac2643fd ↗
- https://git.kernel.org/stable/c/768a701362a8f77b62c14f8202ad559b7ecbb0c6 ↗
- https://git.kernel.org/stable/c/f75b9a2a9d8334ae0f9c5e47df7b31f7aeb1fdbe ↗
- https://git.kernel.org/stable/c/836a19c654dcb1b01878a70090af016fbd0fd7e5 ↗
- https://git.kernel.org/stable/c/f442e581a88937671a22ceb3806c186265ef6254 ↗
- https://git.kernel.org/stable/c/7cbda50eebcd9aa00b0de382f776287cf7a36cf8 ↗
- https://git.kernel.org/stable/c/0d388f62031dbabcba0f44bb91b59f10e88cac17 ↗