# CVE-2022-48715: scsi: bnx2fc: Make bnx2fc\_recv\_frame() mp safe

> 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.31% (percentile 16, 2026-11-26)
- **Published:** 2024-06-20T11:13:08.654Z
- **Modified:** 2026-06-17T05:15:59.947Z

## Who should check

- Anyone running Linux \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 3a345198a7c2d1db2526dc60b77052f75de019d3; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 471085571f926a1fe6b1bed095638994dbf23990; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 003bcee66a8f0e76157eb3af369c173151901d97; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 53e4f71763c61a557283eb43301efd671922d1e8; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< ec4334152dae175dbd8fd5bde1d2139bbe7b42d0; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2f5a1ac68bdf2899ce822ab845081922ea8c588e; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2d24336c7214b281b51860e54783dfc65f1248df; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 936bd03405fc83ba039d42bc93ffd4b88418f1d3
- Anyone running Linux 3.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: bnx2fc: Make bnx2fc\_recv\_frame() mp safe

Running tests with a debug kernel shows that bnx2fc\_recv\_frame() is
modifying the per\_cpu lport stats counters in a non-mpsafe way.  Just boot
a debug kernel and run the bnx2fc driver with the hardware enabled.

\[ 1391.699147\] BUG: using smp\_processor\_id() in preemptible \[00000000\] code: bnx2fc\_
\[ 1391.699160\] caller is bnx2fc\_recv\_frame+0xbf9/0x1760 \[bnx2fc\]
\[ 1391.699174\] CPU: 2 PID: 4355 Comm: bnx2fc\_l2\_threa Kdump: loaded Tainted: G    B
\[ 1391.699180\] Hardware name: HP ProLiant DL120 G7, BIOS J01 07/01/2013
\[ 1391.699183\] Call Trace:
\[ 1391.699188\]  dump\_stack\_lvl+0x57/0x7d
\[ 1391.699198\]  check\_preemption\_disabled+0xc8/0xd0
\[ 1391.699205\]  bnx2fc\_recv\_frame+0xbf9/0x1760 \[bnx2fc\]
\[ 1391.699215\]  ? do\_raw\_spin\_trylock+0xb5/0x180
\[ 1391.699221\]  ? bnx2fc\_npiv\_create\_vports.isra.0+0x4e0/0x4e0 \[bnx2fc\]
\[ 1391.699229\]  ? bnx2fc\_l2\_rcv\_thread+0xb7/0x3a0 \[bnx2fc\]
\[ 1391.699240\]  bnx2fc\_l2\_rcv\_thread+0x1af/0x3a0 \[bnx2fc\]
\[ 1391.699250\]  ? bnx2fc\_ulp\_init+0xc0/0xc0 \[bnx2fc\]
\[ 1391.699258\]  kthread+0x364/0x420
\[ 1391.699263\]  ? \_raw\_spin\_unlock\_irq+0x24/0x50
\[ 1391.699268\]  ? set\_kthread\_struct+0x100/0x100
\[ 1391.699273\]  ret\_from\_fork+0x22/0x30

Restore the old get\_cpu/put\_cpu code with some modifications to reduce the
size of the critical section.

## Affected and fixed versions

- Linux: \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 3a345198a7c2d1db2526dc60b77052f75de019d3; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 471085571f926a1fe6b1bed095638994dbf23990; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 003bcee66a8f0e76157eb3af369c173151901d97; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 53e4f71763c61a557283eb43301efd671922d1e8; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< ec4334152dae175dbd8fd5bde1d2139bbe7b42d0; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2f5a1ac68bdf2899ce822ab845081922ea8c588e; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2d24336c7214b281b51860e54783dfc65f1248df; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 936bd03405fc83ba039d42bc93ffd4b88418f1d3 (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 936bd03405fc83ba039d42bc93ffd4b88418f1d3 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-48715. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48715.md
Affected: Linux >= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, < 3a345198a7c2d1db2526dc60b77052f75de019d3; >= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, < 471085571f926a1fe6b1bed095638994dbf23990; >= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, < 003bcee66a8f0e76157eb3af369c173151901d97; >= d576a5e80cd07ea7049f8fd…
Fixed in: Linux 3a345198a7c2d1db2526dc60b77052f75de019d3, Linux 471085571f926a1fe6b1bed095638994dbf23990, Linux 003bcee66a8f0e76157eb3af369c173151901d97, Linux 53e4f71763c61a557283eb43301efd671922d1e8, Linux 2f5a1ac68bdf2899ce822ab845081922ea8c588e, Linux 2d24336c7214b281b51860e54783dfc65f1248df, Linux 936bd…

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-48715 being exploited?

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

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

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

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

Linux \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 3a345198a7c2d1db2526dc60b77052f75de019d3; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 471085571f926a1fe6b1bed095638994dbf23990; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 003bcee66a8f0e76157eb3af369c173151901d97; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 53e4f71763c61a557283eb43301efd671922d1e8; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< ec4334152dae175dbd8fd5bde1d2139bbe7b42d0; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2f5a1ac68bdf2899ce822ab845081922ea8c588e; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 2d24336c7214b281b51860e54783dfc65f1248df; \>= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, \< 936bd03405fc83ba039d42bc93ffd4b88418f1d3; Linux 3.16.

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

Yes. Fixed in Linux 3a345198a7c2d1db2526dc60b77052f75de019d3, Linux 471085571f926a1fe6b1bed095638994dbf23990, Linux 003bcee66a8f0e76157eb3af369c173151901d97, Linux 53e4f71763c61a557283eb43301efd671922d1e8, Linux 2f5a1ac68bdf2899ce822ab845081922ea8c588e, Linux 2d24336c7214b281b51860e54783dfc65f1248df, Linux 936bd03405fc83ba039d42bc93ffd4b88418f1d3. Upgrade Linux to 936bd03405fc83ba039d42bc93ffd4b88418f1d3 or later.

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

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/3a345198a7c2d1db2526dc60b77052f75de019d3>
- patch: <https://git.kernel.org/stable/c/471085571f926a1fe6b1bed095638994dbf23990>
- patch: <https://git.kernel.org/stable/c/003bcee66a8f0e76157eb3af369c173151901d97>
- patch: <https://git.kernel.org/stable/c/53e4f71763c61a557283eb43301efd671922d1e8>
- patch: <https://git.kernel.org/stable/c/ec4334152dae175dbd8fd5bde1d2139bbe7b42d0>
- patch: <https://git.kernel.org/stable/c/2f5a1ac68bdf2899ce822ab845081922ea8c588e>
- patch: <https://git.kernel.org/stable/c/2d24336c7214b281b51860e54783dfc65f1248df>
- patch: <https://git.kernel.org/stable/c/936bd03405fc83ba039d42bc93ffd4b88418f1d3>

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

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