CVE-2024-53227: Linux kernel · scsi: bfa: Fix use-after-free in bfad_im_module_exit()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:47 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available as the vulnerability has been resolved in the Linux kernel source. The remediation involves ensuring that bfad_im_module_exit() is not called if bfad_im_module_init() fails, preventing the double release and use-after-free condition. Users should update their Linux kernel to a version that includes this fix. Since this is not a cloud service, manual patching is required.
Description
CVE-2024-53227 is a use-after-free vulnerability in the Linux kernel's scsi bfa driver, specifically in the bfad_im_module_exit() function. The flaw occurs due to a double release of resources when bfad_im_module_exit() is called after bfad_im_module_init() fails, leading to a use-after-free condition detected by KASAN. This vulnerability can cause high impact including confidentiality, integrity, and availability loss.
References
- nvd.nist.gov/vuln/detail/CVE-2024-53227 (opens in a new tab)
- git.kernel.org/stable/c/0ceac8012d3ddea3317f0d82934293d05feb8af1 (opens in a new tab)
- git.kernel.org/stable/c/178b8f38932d635e90f5f0e9af1986c6f4a89271 (opens in a new tab)
- git.kernel.org/stable/c/1ffdde30a90bf8efe8f270407f486706962b3292 (opens in a new tab)
- git.kernel.org/stable/c/3932c753f805a02e9364a4c58b590f21901f8490 (opens in a new tab)
- git.kernel.org/stable/c/8f5a97443b547b4c83f876f1d6a11df0f1fd4efb (opens in a new tab)
- git.kernel.org/stable/c/a2b5035ab0e368e8d8a371e27fbc72f133c0bd40 (opens in a new tab)
- git.kernel.org/stable/c/c28409f851abd93b37969cac7498828ad533afd9 (opens in a new tab)
- git.kernel.org/stable/c/e76181a5be90abcc3ed8a300bd13878aa214d022 (opens in a new tab)
- git.kernel.org/stable/c/ef2c2580189ea88a0dcaf56eb3a565763a900edb (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)