CVE-2022-48715 json
scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
published 2024-06-20 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53594
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.300, 4.14.265, 4.19.228, 5.4.178, 5.10.99, 5.15.22, 5.16.8, 5.17
- linux Debian 14, Debian 13, Debian 12 5.16.10-1
debian advisories DEBIAN-CVE-2022-48715
- linux Ubuntu 18.04 LTS 4.15.0-176.185
- linux Ubuntu 20.04 LTS 5.4.0-109.123
- linux-aws Ubuntu 18.04 LTS 4.15.0-1127.136
- linux-aws Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1020.22
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1113.116
ubuntu advisories UBUNTU-CVE-2022-48715
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +5 more 5.14.21-150500.55.73.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
suse advisories SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1SUSE-SU-2024:2902-1SUSE-SU-2024:2561-1SUSE-SU-2024:2394-1SUSE-SU-2024:2384-1
- git.kernel.org/stable/c/3a345198a7c2d1db2526dc60b77052f75de019d3 commit
- git.kernel.org/stable/c/471085571f926a1fe6b1bed095638994dbf23990 commit
- git.kernel.org/stable/c/003bcee66a8f0e76157eb3af369c173151901d97 commit
- git.kernel.org/stable/c/53e4f71763c61a557283eb43301efd671922d1e8 commit
- git.kernel.org/stable/c/ec4334152dae175dbd8fd5bde1d2139bbe7b42d0 commit
- git.kernel.org/stable/c/2f5a1ac68bdf2899ce822ab845081922ea8c588e commit
- git.kernel.org/stable/c/2d24336c7214b281b51860e54783dfc65f1248df commit
- git.kernel.org/stable/c/936bd03405fc83ba039d42bc93ffd4b88418f1d3 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48715 updated cvss 4.4
kernel: scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix available
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/3a345198a7c2d1db2526dc60b77052f75de019d3
patch
-
git.kernel.org
/stable/c/471085571f926a1fe6b1bed095638994dbf23990
patch
-
git.kernel.org
/stable/c/003bcee66a8f0e76157eb3af369c173151901d97
patch
-
git.kernel.org
/stable/c/53e4f71763c61a557283eb43301efd671922d1e8
patch
-
git.kernel.org
/stable/c/ec4334152dae175dbd8fd5bde1d2139bbe7b42d0
patch
-
git.kernel.org
/stable/c/2f5a1ac68bdf2899ce822ab845081922ea8c588e
patch
-
git.kernel.org
/stable/c/2d24336c7214b281b51860e54783dfc65f1248df
patch
-
git.kernel.org
/stable/c/936bd03405fc83ba039d42bc93ffd4b88418f1d3
patch
Sources
- CVE List CVE-2022-48715
- NVD CVE-2022-48715
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.