scsi: fnic: Use GFP_ATOMIC for VLAN alloc under spinlock
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.51, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: fnic: Use GFP_ATOMIC for VLAN alloc under spinlock fnic_fcoe_process_vlan_resp() allocates a VLAN descriptor with kzalloc_obj() (default GFP_KERNEL) while holding vlans_lock via spin_lock_irqsave(). GFP_KERNEL may sleep, which is not allowed in this atomic context and can trigger a sleeping-from-invalid-context warning or deadlock. Pass GFP_ATOMIC so the allocation is safe under the IRQ-safe spinlock.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 098585aa8acab3fcd46ce908af84ef168f5ccab6 · fixed in c4ade059aaeb51fdb3f4ae71e1ea3e2019b85178; From 098585aa8acab3fcd46ce908af84ef168f5ccab6 · fixed in d86f65aed01408613607f8fc31493f07554788f2; From 098585aa8acab3fcd46ce908af84ef168f5ccab6 · fixed in 9639c6324524ea3f934908bd51f02430000954ab
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.4