Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-71238— scsi: qla2xxx: Fix bsg_done() causing double free

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bsg_done函数导致双重释放,可能导致内核崩溃。

AI Predicted 4.7 Difficulty: Moderate EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1211 · Exploitation for Stealth

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 1b81e7f3019d632a707e07927e946ffbbc102910< 057a5bdc481e58ab853117254867ffb22caf9f6e affected
1b81e7f3019d632a707e07927e946ffbbc102910< f2bbb4db0e4a4fbd5e649c0b5d8733f61da24720 affected
1b81e7f3019d632a707e07927e946ffbbc102910< 27ac9679c43a09e54e2d9aae9980ada045b428e0 affected
1b81e7f3019d632a707e07927e946ffbbc102910< 74e7458537cd9349cf019862e51491f670871707 affected
1b81e7f3019d632a707e07927e946ffbbc102910< 871f6236da96c4a9712b8a29d7f555f767a47e95 affected
1b81e7f3019d632a707e07927e946ffbbc102910< 31f33b856d2324d86bcaef295f4d210477a1c018 affected
1b81e7f3019d632a707e07927e946ffbbc102910< 708003e1bc857dd014d4c44278d7d77c26f91b1c affected
1b81e7f3019d632a707e07927e946ffbbc102910< c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-71238

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: qla2xxx: Fix bsg_done() causing double free
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix bsg_done() causing double free Kernel panic observed on system, [5353358.825191] BUG: unable to handle page fault for address: ff5f5e897b024000 [5353358.825194] #PF: supervisor write access in kernel mode [5353358.825195] #PF: error_code(0x0002) - not-present page [5353358.825196] PGD 100006067 P4D 0 [5353358.825198] Oops: 0002 [#1] PREEMPT SMP NOPTI [5353358.825200] CPU: 5 PID: 2132085 Comm: qlafwupdate.sub Kdump: loaded Tainted: G W L ------- --- 5.14.0-503.34.1.el9_5.x86_64 #1 [5353358.825203] Hardware name: HPE ProLiant DL360 Gen11/ProLiant DL360 Gen11, BIOS 2.44 01/17/2025 [5353358.825204] RIP: 0010:memcpy_erms+0x6/0x10 [5353358.825211] RSP: 0018:ff591da8f4f6b710 EFLAGS: 00010246 [5353358.825212] RAX: ff5f5e897b024000 RBX: 0000000000007090 RCX: 0000000000001000 [5353358.825213] RDX: 0000000000001000 RSI: ff591da8f4fed090 RDI: ff5f5e897b024000 [5353358.825214] RBP: 0000000000010000 R08: ff5f5e897b024000 R09: 0000000000000000 [5353358.825215] R10: ff46cf8c40517000 R11: 0000000000000001 R12: 0000000000008090 [5353358.825216] R13: ff591da8f4f6b720 R14: 0000000000001000 R15: 0000000000000000 [5353358.825218] FS: 00007f1e88d47740(0000) GS:ff46cf935f940000(0000) knlGS:0000000000000000 [5353358.825219] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [5353358.825220] CR2: ff5f5e897b024000 CR3: 0000000231532004 CR4: 0000000000771ef0 [5353358.825221] PKRU: 55555554 [5353358.825222] Call Trace: [5353358.825223] <TASK> [5353358.825224] ? show_trace_log_lvl+0x1c4/0x2df [5353358.825229] ? show_trace_log_lvl+0x1c4/0x2df [5353358.825232] ? sg_copy_buffer+0xc8/0x110 [5353358.825236] ? __die_body.cold+0x8/0xd [5353358.825238] ? page_fault_oops+0x134/0x170 [5353358.825242] ? kernelmode_fixup_or_oops+0x84/0x110 [5353358.825244] ? exc_page_fault+0xa8/0x150 [5353358.825247] ? asm_exc_page_fault+0x22/0x30 [5353358.825252] ? memcpy_erms+0x6/0x10 [5353358.825253] sg_copy_buffer+0xc8/0x110 [5353358.825259] qla2x00_process_vendor_specific+0x652/0x1320 [qla2xxx] [5353358.825317] qla24xx_bsg_request+0x1b2/0x2d0 [qla2xxx] Most routines in qla_bsg.c call bsg_done() only for success cases. However a few invoke it for failure case as well leading to a double free. Validate before calling bsg_done().
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bsg_done函数导致双重释放,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 1b81e7f3019d632a707e07927e946ffbbc102910 ~ 057a5bdc481e58ab853117254867ffb22caf9f6e -
Linux Linux 5.7 -

II. Public POCs for CVE-2025-71238

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71238

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-71238 (8)

Same Patch Batch · Linux · 2026-03-04 · 9 CVEs total

CVE-2026-23231 7.8 HIGH netfilter: nf_tables: fix use-after-free in nf_tables_addchain()
CVE-2026-23236 7.3 HIGH fbdev: smscufx: properly copy ioctl memory to kernelspace
CVE-2026-23232 Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"
CVE-2026-23233 f2fs: fix to avoid mapping wrong physical block for swapfile
CVE-2026-23234 f2fs: fix to avoid UAF in f2fs_write_end_io()
CVE-2026-23235 f2fs: fix out-of-bounds access in sysfs attribute read/write
CVE-2026-23238 romfs: check sb_set_blocksize() return value
CVE-2026-23237 platform/x86: classmate-laptop: Add missing NULL pointer checks

IV. Related Vulnerabilities

V. Comments for CVE-2025-71238

No comments yet


Leave a comment