Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: fbdev: nvidia: fix potential memory leak in nvidiafb_probe() In nvidiafb_probe(), the memory allocated for modelist in nvidia_set_fbinfo() is not freed in the subsequent error paths. Fix that by calling fb_destroy_modelist().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7e747f7b17ccce750502fd4d0b4e866fe4f066a6; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2515cd60f6b5ad680ed164aa6bd19b05270af34c; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 508704de34fb8c0dcbbf13397212363bbf0974de; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6ca48f23ce61a26349d7d084fb63b70499137c8e; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e8172773e5251f4df2eed74caab6ca3195fed1ea; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 009a8514745b16c468acc25aa00539abbf38e1b5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ed3b3eb212441fb5f287dfd24ebafe11d634f009; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 85f5e38c162bdf9dbbe197275d416402712f3707 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; 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/7e747f7b17ccce750502fd4d0b4e866fe4f066a6
- https://git.kernel.org/stable/c/2515cd60f6b5ad680ed164aa6bd19b05270af34c
- https://git.kernel.org/stable/c/508704de34fb8c0dcbbf13397212363bbf0974de
- https://git.kernel.org/stable/c/6ca48f23ce61a26349d7d084fb63b70499137c8e
- https://git.kernel.org/stable/c/e8172773e5251f4df2eed74caab6ca3195fed1ea
- https://git.kernel.org/stable/c/009a8514745b16c468acc25aa00539abbf38e1b5
- https://git.kernel.org/stable/c/ed3b3eb212441fb5f287dfd24ebafe11d634f009
- https://git.kernel.org/stable/c/85f5e38c162bdf9dbbe197275d416402712f3707