# CVE-2024-36919: scsi: bnx2fc: Remove spin\_lock\_bh while releasing resources after upload

> 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.27% (percentile 13, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-30T15:29:14.486Z
- **Modified:** 2026-06-17T07:37:21.733Z

## Who should check

- Anyone running Linux \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 468f3e3c15076338367b0945b041105b67cf31e3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< acd370c1fb86b7302c1cbb354a7c1cd9953768eb; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ad498539dda0816aadef384ec117bfea304c75c3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 93aa5ccc44781bdfef1bf0bc4c2c292d45251312; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 1150606d47d711d5bfdf329a1a96ed7027085936; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c885ab23206b1f1ba0731ffe7c9455c6a91db256; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ea50941cd8c9f0b12f38b73d3b1bfeca660dd342; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c214ed2a4dda35b308b0b28eed804d7ae66401f9
- Anyone running Linux 3.1

## Description

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

scsi: bnx2fc: Remove spin\_lock\_bh while releasing resources after upload

The session resources are used by FW and driver when session is offloaded,
once session is uploaded these resources are not used. The lock is not
required as these fields won't be used any longer. The offload and upload
calls are sequential, hence lock is not required.

This will suppress following BUG\_ON():

\[  449.843143\] ------------\[ cut here \]------------
\[  449.848302\] kernel BUG at mm/vmalloc.c:2727!
\[  449.853072\] invalid opcode: 0000 \[\#1\] PREEMPT SMP PTI
\[  449.858712\] CPU: 5 PID: 1996 Comm: kworker/u24:2 Not tainted 5.14.0-118.el9.x86\_64 \#1
Rebooting.
\[  449.867454\] Hardware name: Dell Inc. PowerEdge R730/0WCJNT, BIOS 2.3.4 11/08/2016
\[  449.876966\] Workqueue: fc\_rport\_eq fc\_rport\_work \[libfc\]
\[  449.882910\] RIP: 0010:vunmap+0x2e/0x30
\[  449.887098\] Code: 00 65 8b 05 14 a2 f0 4a a9 00 ff ff 00 75 1b 55 48 89 fd e8 34 36 79 00 48 85 ed 74 0b 48 89 ef 31 f6 5d e9 14 fc ff ff 5d c3 \<0f\> 0b 0f 1f 44 00 00 41 57 41 56 49 89 ce 41 55 49 89 fd 41 54 41
\[  449.908054\] RSP: 0018:ffffb83d878b3d68 EFLAGS: 00010206
\[  449.913887\] RAX: 0000000080000201 RBX: ffff8f4355133550 RCX: 000000000d400005
\[  449.921843\] RDX: 0000000000000001 RSI: 0000000000001000 RDI: ffffb83da53f5000
\[  449.929808\] RBP: ffff8f4ac6675800 R08: ffffb83d878b3d30 R09: 00000000000efbdf
\[  449.937774\] R10: 0000000000000003 R11: ffff8f434573e000 R12: 0000000000001000
\[  449.945736\] R13: 0000000000001000 R14: ffffb83da53f5000 R15: ffff8f43d4ea3ae0
\[  449.953701\] FS:  0000000000000000(0000) GS:ffff8f529fc80000(0000) knlGS:0000000000000000
\[  449.962732\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  449.969138\] CR2: 00007f8cf993e150 CR3: 0000000efbe10003 CR4: 00000000003706e0
\[  449.977102\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[  449.985065\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[  449.993028\] Call Trace:
\[  449.995756\]  \_\_iommu\_dma\_free+0x96/0x100
\[  450.000139\]  bnx2fc\_free\_session\_resc+0x67/0x240 \[bnx2fc\]
\[  450.006171\]  bnx2fc\_upload\_session+0xce/0x100 \[bnx2fc\]
\[  450.011910\]  bnx2fc\_rport\_event\_handler+0x9f/0x240 \[bnx2fc\]
\[  450.018136\]  fc\_rport\_work+0x103/0x5b0 \[libfc\]
\[  450.023103\]  process\_one\_work+0x1e8/0x3c0
\[  450.027581\]  worker\_thread+0x50/0x3b0
\[  450.031669\]  ? rescuer\_thread+0x370/0x370
\[  450.036143\]  kthread+0x149/0x170
\[  450.039744\]  ? set\_kthread\_struct+0x40/0x40
\[  450.044411\]  ret\_from\_fork+0x22/0x30
\[  450.048404\] Modules linked in: vfat msdos fat xfs nfs\_layout\_nfsv41\_files rpcsec\_gss\_krb5 auth\_rpcgss nfsv4 dns\_resolver dm\_service\_time qedf qed crc8 bnx2fc libfcoe libfc scsi\_transport\_fc intel\_rapl\_msr intel\_rapl\_common x86\_pkg\_temp\_thermal intel\_powerclamp dcdbas rapl intel\_cstate intel\_uncore mei\_me pcspkr mei ipmi\_ssif lpc\_ich ipmi\_si fuse zram ext4 mbcache jbd2 loop nfsv3 nfs\_acl nfs lockd grace fscache netfs irdma ice sd\_mod t10\_pi sg ib\_uverbs ib\_core 8021q garp mrp stp llc mgag200 i2c\_algo\_bit drm\_kms\_helper syscopyarea sysfillrect sysimgblt mxm\_wmi fb\_sys\_fops cec crct10dif\_pclmul ahci crc32\_pclmul bnx2x drm ghash\_clmulni\_intel libahci rfkill i40e libata megaraid\_sas mdio wmi sunrpc lrw dm\_crypt dm\_round\_robin dm\_multipath dm\_snapshot dm\_bufio dm\_mirror dm\_region\_hash dm\_log dm\_zero dm\_mod linear raid10 raid456 async\_raid6\_recov async\_memcpy async\_pq async\_xor async\_tx raid6\_pq libcrc32c crc32c\_intel raid1 raid0 iscsi\_ibft squashfs be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls
\[  450.048497\]  libcxgbi libcxgb qla4xxx iscsi\_boot\_sysfs iscsi\_tcp libiscsi\_tcp libiscsi scsi\_transport\_iscsi edd ipmi\_devintf ipmi\_msghandler
\[  450.159753\] ---\[ end trace 712de2c57c64abc8 \]---

## Affected and fixed versions

- Linux: \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 468f3e3c15076338367b0945b041105b67cf31e3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< acd370c1fb86b7302c1cbb354a7c1cd9953768eb; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ad498539dda0816aadef384ec117bfea304c75c3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 93aa5ccc44781bdfef1bf0bc4c2c292d45251312; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 1150606d47d711d5bfdf329a1a96ed7027085936; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c885ab23206b1f1ba0731ffe7c9455c6a91db256; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ea50941cd8c9f0b12f38b73d3b1bfeca660dd342; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c214ed2a4dda35b308b0b28eed804d7ae66401f9 (cvelist)
- Linux: 3.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36919.md
Affected: Linux >= 619c5cb6885b936c44ae1422ef805b69c6291485, < 468f3e3c15076338367b0945b041105b67cf31e3; >= 619c5cb6885b936c44ae1422ef805b69c6291485, < acd370c1fb86b7302c1cbb354a7c1cd9953768eb; >= 619c5cb6885b936c44ae1422ef805b69c6291485, < ad498539dda0816aadef384ec117bfea304c75c3; >= 619c5cb6885b936c44ae142…
Fixed in: Linux 468f3e3c15076338367b0945b041105b67cf31e3, Linux 93aa5ccc44781bdfef1bf0bc4c2c292d45251312, Linux 1150606d47d711d5bfdf329a1a96ed7027085936

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-2024-36919 being exploited?

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

### How serious is CVE-2024-36919?

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

### Which versions are affected by CVE-2024-36919?

Linux \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 468f3e3c15076338367b0945b041105b67cf31e3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< acd370c1fb86b7302c1cbb354a7c1cd9953768eb; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ad498539dda0816aadef384ec117bfea304c75c3; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 93aa5ccc44781bdfef1bf0bc4c2c292d45251312; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< 1150606d47d711d5bfdf329a1a96ed7027085936; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c885ab23206b1f1ba0731ffe7c9455c6a91db256; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< ea50941cd8c9f0b12f38b73d3b1bfeca660dd342; \>= 619c5cb6885b936c44ae1422ef805b69c6291485, \< c214ed2a4dda35b308b0b28eed804d7ae66401f9; Linux 3.1.

### Is there a fix for CVE-2024-36919?

Yes. Fixed in Linux 468f3e3c15076338367b0945b041105b67cf31e3, Linux 93aa5ccc44781bdfef1bf0bc4c2c292d45251312, Linux 1150606d47d711d5bfdf329a1a96ed7027085936. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36919?

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/468f3e3c15076338367b0945b041105b67cf31e3>
- patch: <https://git.kernel.org/stable/c/acd370c1fb86b7302c1cbb354a7c1cd9953768eb>
- patch: <https://git.kernel.org/stable/c/ad498539dda0816aadef384ec117bfea304c75c3>
- patch: <https://git.kernel.org/stable/c/93aa5ccc44781bdfef1bf0bc4c2c292d45251312>
- patch: <https://git.kernel.org/stable/c/1150606d47d711d5bfdf329a1a96ed7027085936>
- patch: <https://git.kernel.org/stable/c/c885ab23206b1f1ba0731ffe7c9455c6a91db256>
- patch: <https://git.kernel.org/stable/c/ea50941cd8c9f0b12f38b73d3b1bfeca660dd342>
- patch: <https://git.kernel.org/stable/c/c214ed2a4dda35b308b0b28eed804d7ae66401f9>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- other: <https://security.netapp.com/advisory/ntap-20240905-0009/>

## 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-2024-36919>

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