# CVE-2022-50288: qlcnic: prevent -\>dcb use-after-free on qlcnic\_dcb\_enable() failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-15T14:21:24.427Z
- **Modified:** 2026-06-17T05:23:09.660Z

## Who should check

- Anyone running Linux \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 36999236f0b12d5de21a6f40e93b570727b9ceb2; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< d12a7510293d3370b234b0b7c5eda33e58786768; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8f97eeb02a553cdc78c83a0596448a370e1518c4; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 513787ff9a331b461115e8a145a983d650a84fcb; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 95df720e64a6409d8152827a776c43f615e3321a; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8df1dc04ce0e4c03b51a756749c250a9cb17d707; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< a2a694e6edbdb3efb34e1613a31fdcf6cf444a55; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 13a7c8964afcd8ca43c0b6001ebb0127baa95362
- Anyone running Linux 3.14

## 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.

## Affected and fixed versions

- Linux: \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 36999236f0b12d5de21a6f40e93b570727b9ceb2; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< d12a7510293d3370b234b0b7c5eda33e58786768; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8f97eeb02a553cdc78c83a0596448a370e1518c4; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 513787ff9a331b461115e8a145a983d650a84fcb; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 95df720e64a6409d8152827a776c43f615e3321a; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8df1dc04ce0e4c03b51a756749c250a9cb17d707; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< a2a694e6edbdb3efb34e1613a31fdcf6cf444a55; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 13a7c8964afcd8ca43c0b6001ebb0127baa95362 (cvelist)
- Linux: 3.14 (cvelist)

## Mitigation

- Upgrade Linux to 13a7c8964afcd8ca43c0b6001ebb0127baa95362 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50288. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50288.md
Affected: Linux >= 3c44bba1d270cb1620b4fe76786d0968118cb86b, < 36999236f0b12d5de21a6f40e93b570727b9ceb2; >= 3c44bba1d270cb1620b4fe76786d0968118cb86b, < d12a7510293d3370b234b0b7c5eda33e58786768; >= 3c44bba1d270cb1620b4fe76786d0968118cb86b, < 8f97eeb02a553cdc78c83a0596448a370e1518c4; >= 3c44bba1d270cb1620b4fe7…
Fixed in: Linux 36999236f0b12d5de21a6f40e93b570727b9ceb2, Linux 8f97eeb02a553cdc78c83a0596448a370e1518c4, Linux 513787ff9a331b461115e8a145a983d650a84fcb, Linux 95df720e64a6409d8152827a776c43f615e3321a, Linux 8df1dc04ce0e4c03b51a756749c250a9cb17d707, Linux 13a7c8964afcd8ca43c0b6001ebb0127baa95362

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50288 being exploited?

There is no confirmed exploitation: CVE-2022-50288 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50288?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50288?

Linux \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 36999236f0b12d5de21a6f40e93b570727b9ceb2; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< d12a7510293d3370b234b0b7c5eda33e58786768; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8f97eeb02a553cdc78c83a0596448a370e1518c4; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 513787ff9a331b461115e8a145a983d650a84fcb; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 95df720e64a6409d8152827a776c43f615e3321a; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 8df1dc04ce0e4c03b51a756749c250a9cb17d707; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< a2a694e6edbdb3efb34e1613a31fdcf6cf444a55; \>= 3c44bba1d270cb1620b4fe76786d0968118cb86b, \< 13a7c8964afcd8ca43c0b6001ebb0127baa95362; Linux 3.14.

### Is there a fix for CVE-2022-50288?

Yes. Fixed in Linux 36999236f0b12d5de21a6f40e93b570727b9ceb2, Linux 8f97eeb02a553cdc78c83a0596448a370e1518c4, Linux 513787ff9a331b461115e8a145a983d650a84fcb, Linux 95df720e64a6409d8152827a776c43f615e3321a, Linux 8df1dc04ce0e4c03b51a756749c250a9cb17d707, Linux 13a7c8964afcd8ca43c0b6001ebb0127baa95362. Upgrade Linux to 13a7c8964afcd8ca43c0b6001ebb0127baa95362 or later.

### How do I check if I'm affected by CVE-2022-50288?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/36999236f0b12d5de21a6f40e93b570727b9ceb2>
- patch: <https://git.kernel.org/stable/c/d12a7510293d3370b234b0b7c5eda33e58786768>
- patch: <https://git.kernel.org/stable/c/8f97eeb02a553cdc78c83a0596448a370e1518c4>
- patch: <https://git.kernel.org/stable/c/513787ff9a331b461115e8a145a983d650a84fcb>
- patch: <https://git.kernel.org/stable/c/95df720e64a6409d8152827a776c43f615e3321a>
- patch: <https://git.kernel.org/stable/c/8df1dc04ce0e4c03b51a756749c250a9cb17d707>
- patch: <https://git.kernel.org/stable/c/a2a694e6edbdb3efb34e1613a31fdcf6cf444a55>
- patch: <https://git.kernel.org/stable/c/13a7c8964afcd8ca43c0b6001ebb0127baa95362>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50288>

HTML: <https://flawdb.com/CVE-2022-50288> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50288>
