Closed
CVE-2025-39841 #12371
openeuler-ci-botAdd on  Sep 19, 2025Closed at  Aug 27
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 19, 2025 Create

一、漏洞信息
漏洞编号:CVE-2025-39841
漏洞归属组件:kernel
漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.12.33,6.18.18,6.4.0,6.6.0
CVSS评分:
BaseScore:7.8 High
Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
In the Linux kernel, the following vulnerability has been resolved:scsi: lpfc: Fix buffer free/clear order in deferred receive pathFix a use-after-free window by correcting the buffer release sequence inthe deferred receive path. The code freed the RQ buffer first and onlythen cleared the context pointer under the lock. Concurrent paths (e.g.,ABTS and the repost path) also inspect and release the same pointer underthe lock, so the old order could lead to double-free/UAF.Note that the repost path already uses the correct pattern: detach thepointer under the lock, then free it after dropping the lock. Thedeferred path should do the same.
漏洞公开时间:2025-09-20 00:15:42
漏洞创建时间:2025-09-19 23:51:55
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2025-39841

更多参考(点击展开)
参考来源 参考链接 来源链接
https://linux.oracle.com/errata/ELSA-2025-21112.html
https://docs.bell-sw.com/security/cves/CVE-2025-39841
https://ubuntu.com/security/CVE-2025-39841
https://git.kernel.org/stable/c/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11
https://www.cve.org/CVERecord?id=CVE-2025-39841
https://access.redhat.com/errata/RHSA-2025:18318
https://git.kernel.org/stable/c/897f64b01c1249ac730329b83f4f40bab71e86c7
https://bugzilla.redhat.com/show_bug.cgi?id=2396944
https://git.kernel.org/stable/c/d96cc9a1b57725930c60b607423759d563b4d900
https://linux.oracle.com/errata/ELSA-2025-25757.html
https://git.kernel.org/linus/9dba9a45c348e8460da97c450cddf70b2056deb3
https://advisory.echohq.com/cve/CVE-2025-39841
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
https://access.redhat.com/errata/RHSA-2025:19102
https://cert-portal.siemens.com/productcert/html/ssa-089022.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-39841
https://security-tracker.debian.org/tracker/CVE-2025-39841
https://linux.oracle.com/cve/CVE-2025-39841.html
https://access.redhat.com/errata/RHSA-2025:18281
https://lore.kernel.org/linux-cve-announce/2025091902-CVE-2025-39841-2c0f@gregkh/T
https://git.kernel.org/stable/c/95b63d15fce5c54a73bbf195e1aacb5a75b128e2
https://git.kernel.org/stable/c/55658c7501467ca9ef3bd4453dd920010db8bc13
https://linux.oracle.com/errata/ELSA-2025-21118.html
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
https://linux.oracle.com/errata/ELSA-2025-18318.html
https://git.kernel.org/stable/c/ab34084f42ee06a9028d67c78feafb911d33d111
https://cert-portal.siemens.com/productcert/html/ssa-032379.html
https://git.kernel.org/stable/c/9dba9a45c348e8460da97c450cddf70b2056deb3
https://git.kernel.org/stable/c/baa39f6ad79d372a6ce0aa639fbb2f1578479f57
https://errata.almalinux.org/9/ALSA-2025-18281.html
https://nvd.nist.gov/vuln/detail/CVE-2025-39841
https://errata.almalinux.org/10/ALSA-2025-18318.html
https://access.redhat.com/security/cve/CVE-2025-39841
https://errata.almalinux.org/8/ALSA-2025-19102.html
https://lore.kernel.org/linux-cve-announce/2025091902-CVE-2025-39841-2c0f@gregkh/T/#u

漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
七彩瞬析开源风险感知平台
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
gregkh/linux https://git.kernel.org/stable/c/ab34084f42ee06a9028d67c78feafb911d33d111 ljqc
gregkh/linux https://git.kernel.org/stable/c/baa39f6ad79d372a6ce0aa639fbb2f1578479f57 ljqc
gregkh/linux https://git.kernel.org/stable/c/55658c7501467ca9ef3bd4453dd920010db8bc13 ljqc
gregkh/linux https://git.kernel.org/stable/c/d96cc9a1b57725930c60b607423759d563b4d900 ljqc
gregkh/linux https://git.kernel.org/stable/c/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11 ljqc
gregkh/linux https://git.kernel.org/stable/c/897f64b01c1249ac730329b83f4f40bab71e86c7 ljqc
https://git.kernel.org/stable/c/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11 cvelistv5
https://git.kernel.org/stable/c/897f64b01c1249ac730329b83f4f40bab71e86c7 cvelistv5
https://git.kernel.org/stable/c/d96cc9a1b57725930c60b607423759d563b4d900 cvelistv5
https://git.kernel.org/linus/9dba9a45c348e8460da97c450cddf70b2056deb3 osv
https://git.kernel.org/stable/c/95b63d15fce5c54a73bbf195e1aacb5a75b128e2 cvelistv5
https://git.kernel.org/stable/c/55658c7501467ca9ef3bd4453dd920010db8bc13 cvelistv5
https://git.kernel.org/stable/c/ab34084f42ee06a9028d67c78feafb911d33d111 cvelistv5
https://git.kernel.org/stable/c/9dba9a45c348e8460da97c450cddf70b2056deb3 cvelistv5
https://git.kernel.org/stable/c/baa39f6ad79d372a6ce0aa639fbb2f1578479f57 cvelistv5

二、漏洞分析结构反馈
影响性分析说明:
In the Linux kernel, the following vulnerability has been resolved:scsi: lpfc: Fix buffer free/clear...
openEuler评分:
7.8
Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(6.18.18):不受影响
2.openEuler-20.03-LTS-SP4(4.19.90):不受影响
3.openEuler-22.03-LTS-SP3(5.10.0):受影响
4.openEuler-22.03-LTS-SP4(5.10.0):受影响
5.openEuler-24.03-LTS(6.6.0):受影响
6.openEuler-24.03-LTS-Next(6.6.0):不受影响
7.openEuler-24.03-LTS-SP1(6.6.0):受影响
8.openEuler-24.03-LTS-SP2(6.6.0):受影响
9.openEuler-24.03-LTS-SP3(6.6.0):不受影响
10.openEuler-24.03-LTS-SP4(6.6.0):不受影响

修复是否涉及abi变化(是/否):
1.master(6.18.18):否
2.openEuler-20.03-LTS-SP4(4.19.90):否
3.openEuler-22.03-LTS-SP3(5.10.0):否
4.openEuler-22.03-LTS-SP4(5.10.0):否
5.openEuler-24.03-LTS(6.6.0):否
6.openEuler-24.03-LTS-Next(6.6.0):否
7.openEuler-24.03-LTS-SP1(6.6.0):否
8.openEuler-24.03-LTS-SP2(6.6.0):否
9.openEuler-24.03-LTS-SP3(6.6.0):否
10.openEuler-24.03-LTS-SP4(6.6.0):否

原因说明:
1.master(6.18.18):不受影响-漏洞代码不能被攻击者触发
2.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在
3.openEuler-22.03-LTS-SP3(5.10.0):正常修复
4.openEuler-22.03-LTS-SP4(5.10.0):正常修复
5.openEuler-24.03-LTS(6.6.0):正常修复
6.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发
7.openEuler-24.03-LTS-SP1(6.6.0):正常修复
8.openEuler-24.03-LTS-SP2(6.6.0):正常修复
9.openEuler-24.03-LTS-SP3(6.6.0):不受影响-漏洞代码不能被攻击者触发
10.openEuler-24.03-LTS-SP4(6.6.0):不受影响-漏洞代码不能被攻击者触发

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 19, 2025 Comments:

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 24, 2025 修改了描述
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26, 2025 修改了描述
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 27, 2025 修改了描述
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 27, 2025 修改了描述
108 messages are collapsed here。 See more
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 27 Removed label: CVE/UNFIXED
openeuler-ci-botopeneuler-ci-botCollaborators
Aug 27 Added label: CVE/FIXED
Tengda Wu
Tengda WuCollaborators
Aug 27 Comments:

/check-issue

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Aug 27 Comments:

@hongwu-wang 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 分析项目 内容
已分析 1.影响性分析说明 In the Linux kernel, the following vulnerability has been resolved:scsi: lpfc: Fix buffer free/clear...
已分析 2.openEulerScore 7.8
已分析 3.openEulerVector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
已分析 4.受影响版本排查 master:不受影响,openEuler-20.03-LTS-SP4:不受影响,openEuler-22.03-LTS-SP3:受影响,openEuler-22.03-LTS-SP4:受影响,openEuler-24.03-LTS:受影响,openEuler-24.03-LTS-Next:不受影响,openEuler-24.03-LTS-SP1:受影响,openEuler-24.03-LTS-SP2:受影响,openEuler-24.03-LTS-SP3:不受影响,openEuler-24.03-LTS-SP4:不受影响
已分析 5.是否涉及abi变化 master:否,openEuler-20.03-LTS-SP4:否,openEuler-22.03-LTS-SP3:否,openEuler-22.03-LTS-SP4:否,openEuler-24.03-LTS:否,openEuler-24.03-LTS-Next:否,openEuler-24.03-LTS-SP1:否,openEuler-24.03-LTS-SP2:否,openEuler-24.03-LTS-SP3:否,openEuler-24.03-LTS-SP4:否
已分析 6.原因说明 master:不受影响-漏洞代码不能被攻击者触发,openEuler-20.03-LTS-SP4:不受影响-漏洞代码不存在,openEuler-22.03-LTS-SP3:正常修复,openEuler-22.03-LTS-SP4:正常修复,openEuler-24.03-LTS:正常修复,openEuler-24.03-LTS-Next:不受影响-漏洞代码不能被攻击者触发,openEuler-24.03-LTS-SP1:正常修复,openEuler-24.03-LTS-SP2:正常修复,openEuler-24.03-LTS-SP3:不受影响-漏洞代码不能被攻击者触发,openEuler-24.03-LTS-SP4:不受影响-漏洞代码不能被攻击者触发

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Aug 27 Comments:

经过cve-manager解析,所有PR均已合入

likedislike