CVE-2022-50288qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
- 5.5MediumCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure adapter->dcb would get silently freed inside qlcnic_dcb_enable() in case qlcnic_dcb_attach() would return an error, which always happens under OOM conditions. This would lead to use-after-free because both of the existing callers invoke qlcnic_dcb_get_info() on the obtained pointer, which is potentially freed at that point. Propagate errors from qlcnic_dcb_enable(), and instead free the dcb pointer at callsite using qlcnic_dcb_free(). This also removes the now unused qlcnic_clear_dcb_ops() helper, which was a simple wrapper around kfree() also causing memory leaks for partially initialized dcb. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Timeline
ID reserved
By Linux
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 36999236f0b12d5de21a6f40e93b570727b9ceb2
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < d12a7510293d3370b234b0b7c5eda33e58786768
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 8f97eeb02a553cdc78c83a0596448a370e1518c4
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 513787ff9a331b461115e8a145a983d650a84fcb
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 95df720e64a6409d8152827a776c43f615e3321a
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 8df1dc04ce0e4c03b51a756749c250a9cb17d707
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < a2a694e6edbdb3efb34e1613a31fdcf6cf444a55
- affected 3c44bba1d270cb1620b4fe76786d0968118cb86b – < 13a7c8964afcd8ca43c0b6001ebb0127baa95362
- affected 3.14
- unaffected < 3.14
- unaffected 4.14.303 – ≤ 4.14.*
- unaffected 4.19.270 – ≤ 4.19.*
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.87 – ≤ 5.15.*
- unaffected 6.0.19 – ≤ 6.0.*
- unaffected 6.1.5 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References
References8
- https://git.kernel.org/stable/c/36999236f0b12d5de21a6f40e93b570727b9ceb2 (opens in a new tab)
- https://git.kernel.org/stable/c/d12a7510293d3370b234b0b7c5eda33e58786768 (opens in a new tab)
- https://git.kernel.org/stable/c/8f97eeb02a553cdc78c83a0596448a370e1518c4 (opens in a new tab)
- https://git.kernel.org/stable/c/513787ff9a331b461115e8a145a983d650a84fcb (opens in a new tab)
- https://git.kernel.org/stable/c/95df720e64a6409d8152827a776c43f615e3321a (opens in a new tab)
- https://git.kernel.org/stable/c/8df1dc04ce0e4c03b51a756749c250a9cb17d707 (opens in a new tab)
- https://git.kernel.org/stable/c/a2a694e6edbdb3efb34e1613a31fdcf6cf444a55 (opens in a new tab)
- https://git.kernel.org/stable/c/13a7c8964afcd8ca43c0b6001ebb0127baa95362 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55567 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50288)Record last updated .