{"id":"CVE-2022-48715","aliases":["CVE-2022-48715"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: bnx2fc: Make bnx2fc_recv_frame() mp safe\n\nRunning tests with a debug kernel shows that bnx2fc_recv_frame() is\nmodifying the per_cpu lport stats counters in a non-mpsafe way.  Just boot\na debug kernel and run the bnx2fc driver with the hardware enabled.\n\n[ 1391.699147] BUG: using smp_processor_id() in preemptible [00000000] code: bnx2fc_\n[ 1391.699160] caller is bnx2fc_recv_frame+0xbf9/0x1760 [bnx2fc]\n[ 1391.699174] CPU: 2 PID: 4355 Comm: bnx2fc_l2_threa Kdump: loaded Tainted: G    B\n[ 1391.699180] Hardware name: HP ProLiant DL120 G7, BIOS J01 07/01/2013\n[ 1391.699183] Call Trace:\n[ 1391.699188]  dump_stack_lvl+0x57/0x7d\n[ 1391.699198]  check_preemption_disabled+0xc8/0xd0\n[ 1391.699205]  bnx2fc_recv_frame+0xbf9/0x1760 [bnx2fc]\n[ 1391.699215]  ? do_raw_spin_trylock+0xb5/0x180\n[ 1391.699221]  ? bnx2fc_npiv_create_vports.isra.0+0x4e0/0x4e0 [bnx2fc]\n[ 1391.699229]  ? bnx2fc_l2_rcv_thread+0xb7/0x3a0 [bnx2fc]\n[ 1391.699240]  bnx2fc_l2_rcv_thread+0x1af/0x3a0 [bnx2fc]\n[ 1391.699250]  ? bnx2fc_ulp_init+0xc0/0xc0 [bnx2fc]\n[ 1391.699258]  kthread+0x364/0x420\n[ 1391.699263]  ? _raw_spin_unlock_irq+0x24/0x50\n[ 1391.699268]  ? set_kthread_struct+0x100/0x100\n[ 1391.699273]  ret_from_fork+0x22/0x30\n\nRestore the old get_cpu/put_cpu code with some modifications to reduce the\nsize of the critical section.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: bnx2fc: Make bnx2fc_recv_frame() mp safe\n\nRunning tests with a debug kernel shows that bnx2fc_recv_frame() is\nmodifying the per_cpu lport stats counters in a non-mpsafe way.  Just boot\na debug kernel and run the bnx2fc driver with the hardware enabled.\n\n[ 1391.699147] BUG: using smp_processor_id() in preemptible [00000000] code: bnx2fc_\n[ 1391.699160] caller is bnx2fc_recv_frame+0xbf9/0x1760 [bnx2fc]\n[ 1391.699174] CPU: 2 PID: 4355 Comm: bnx2fc_l2_threa Kdump: loaded Tainted: G    B\n[ 1391.699180] Hardware name: HP ProLiant DL120 G7, BIOS J01 07/01/2013\n[ 1391.699183] Call Trace:\n[ 1391.699188]  dump_stack_lvl+0x57/0x7d\n[ 1391.699198]  check_preemption_disabled+0xc8/0xd0\n[ 1391.699205]  bnx2fc_recv_frame+0xbf9/0x1760 [bnx2fc]\n[ 1391.699215]  ? do_raw_spin_trylock+0xb5/0x180\n[ 1391.699221]  ? bnx2fc_npiv_create_vports.isra.0+0x4e0/0x4e0 [bnx2fc]\n[ 1391.699229]  ? bnx2fc_l2_rcv_thread+0xb7/0x3a0 [bnx2fc]\n[ 1391.699240]  bnx2fc_l2_rcv_thread+0x1af/0x3a0 [bnx2fc]\n[ 1391.699250]  ? bnx2fc_ulp_init+0xc0/0xc0 [bnx2fc]\n[ 1391.699258]  kthread+0x364/0x420\n[ 1391.699263]  ? _raw_spin_unlock_irq+0x24/0x50\n[ 1391.699268]  ? set_kthread_struct+0x100/0x100\n[ 1391.699273]  ret_from_fork+0x22/0x30\n\nRestore the old get_cpu/put_cpu code with some modifications to reduce the\nsize of the critical section.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: scsi: bnx2fc: Hacer que bnx2fc_recv_frame() mp sea seguro La ejecución de pruebas con un kernel de depuración muestra que bnx2fc_recv_frame() está modificando los contadores de estadísticas de puerto por CPU de una manera no segura para mp. Simplemente inicie un kernel de depuración y ejecute el controlador bnx2fc con el hardware habilitado. [1391.699147] ERROR: uso de smp_processor_id() en código interrumpible [00000000]: bnx2fc_ [1391.699160] la persona que llama es bnx2fc_recv_frame+0xbf9/0x1760 [bnx2fc] [1391.699174] CPU: 2 PID: 4355 Comm: bnx2fc_l2_threa Kdump: cargado Contaminado: GB [ 1391.699180 ] Nombre del hardware: HP ProLiant DL120 G7, BIOS J01 01/07/2013 [ 1391.699183] Seguimiento de llamadas: [ 1391.699188] dump_stack_lvl+0x57/0x7d [ 1391.699198] check_preemption_disabled+0xc8/0xd0 [ 1391.69 9205] 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 Restaura el antiguo código get_cpu/put_cpu con algunas modificaciones para reducir el tamaño de la sección crítica.","source":"nvd"}],"published":"2024-06-20T11:13:08.654Z","modified":"2026-06-17T05:15:59.947Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"3a345198a7c2d1db2526dc60b77052f75de019d3","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"471085571f926a1fe6b1bed095638994dbf23990","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"003bcee66a8f0e76157eb3af369c173151901d97","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"53e4f71763c61a557283eb43301efd671922d1e8","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"ec4334152dae175dbd8fd5bde1d2139bbe7b42d0","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"2f5a1ac68bdf2899ce822ab845081922ea8c588e","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"2d24336c7214b281b51860e54783dfc65f1248df","status":"affected"},{"type":"git","introduced":"d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2","fixed":"936bd03405fc83ba039d42bc93ffd4b88418f1d3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"4.9.300","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.265","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.228","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.178","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.99","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.22","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.8","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.16.1","fixed":"4.9.300"},{"status":"affected","introduced":"4.10","fixed":"4.14.265"},{"status":"affected","introduced":"4.15","fixed":"4.19.228"},{"status":"affected","introduced":"4.20","fixed":"5.4.178"},{"status":"affected","introduced":"5.5","fixed":"5.10.99"},{"status":"affected","introduced":"5.11","fixed":"5.15.22"},{"status":"affected","introduced":"5.16","fixed":"5.16.8"},{"status":"affected","version":"3.16"},{"status":"affected","version":"3.16"},{"status":"affected","version":"3.16"},{"status":"affected","version":"3.16"},{"status":"affected","version":"3.16"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3a345198a7c2d1db2526dc60b77052f75de019d3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/471085571f926a1fe6b1bed095638994dbf23990","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/003bcee66a8f0e76157eb3af369c173151901d97","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53e4f71763c61a557283eb43301efd671922d1e8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec4334152dae175dbd8fd5bde1d2139bbe7b42d0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f5a1ac68bdf2899ce822ab845081922ea8c588e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d24336c7214b281b51860e54783dfc65f1248df","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/936bd03405fc83ba039d42bc93ffd4b88418f1d3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:11:26.064Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48715","url":"https://www.cve.org/CVERecord?id=CVE-2022-48715","licence":"CVE Terms of Use","modified":"2026-05-11T18:45:33.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48715","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48715","licence":"Public domain","modified":"2026-06-17T05:15:59.947Z"}],"updatedAt":"2026-11-25T22:58:19.832Z","epss":{"score":0.0021,"percentile":0.11898,"date":"2026-12-02T12:00:21.000Z"}}