Open
CVE-2024-57979 #132
openeuler-ci-botAdd on  Feb 27, 2025
openeuler-ci-bot
openeuler-ci-botCollaborators
Feb 27, 2025 Create

一、漏洞信息
漏洞编号:CVE-2024-57979
漏洞归属组件:kernel
漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0
CVSS评分:
BaseScore:7.8 High
Vector:
漏洞简述:
In the Linux kernel, the following vulnerability has been resolved:pps: Fix a use-after-freeOn a board running ntpd and gpsd, I m seeing a consistent use-after-freein sys_exit() from gpsd when rebooting: pps pps1: removed ------------[ cut here ]------------ kobject: (null) (00000000db4bec24): is not initialized, yet kobject_put() is being called. WARNING: CPU: 2 PID: 440 at lib/kobject.c:734 kobject_put+0x120/0x150 CPU: 2 UID: 299 PID: 440 Comm: gpsd Not tainted 6.11.0-rc6-00308-gb31c44928842 #1 Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kobject_put+0x120/0x150 lr : kobject_put+0x120/0x150 sp : ffffffc0803d3ae0 x29: ffffffc0803d3ae0 x28: ffffff8042dc9738 x27: 0000000000000001 x26: 0000000000000000 x25: ffffff8042dc9040 x24: ffffff8042dc9440 x23: ffffff80402a4620 x22: ffffff8042ef4bd0 x21: ffffff80405cb600 x20: 000000000008001b x19: ffffff8040b3b6e0 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 696e6920746f6e20 x14: 7369203a29343263 x13: 205d303434542020 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: kobject_put+0x120/0x150 cdev_put+0x20/0x3c __fput+0x2c4/0x2d8 ____fput+0x1c/0x38 task_work_run+0x70/0xfc do_exit+0x2a0/0x924 do_group_exit+0x34/0x90 get_signal+0x7fc/0x8c0 do_signal+0x128/0x13b4 do_notify_resume+0xdc/0x160 el0_svc+0xd4/0xf8 el0t_64_sync_handler+0x140/0x14c el0t_64_sync+0x190/0x194 ---[ end trace 0000000000000000 ]---...followed by more symptoms of corruption, with similar stacks: refcount_t: underflow; use-after-free. kernel BUG at lib/list_debug.c:62! Kernel panic - not syncing: Oops - BUG: Fatal exceptionThis happens because pps_device_destruct() frees the pps_device with theembedded cdev immediately after calling cdev_del(), but, as the commentabove cdev_del() notes, fops for previously opened cdevs are stillcallable even after cdev_del() returns. I think this bug has alwaysbeen there: I can t explain why it suddenly started happening every timeI reboot this particular board.In commit d953e0e837e6 ( pps: Fix a use-after free bug whenunregistering a source. ), George Spelvin suggested removing theembedded cdev. That seems like the simplest way to fix this, so I veimplemented his suggestion, using __register_chrdev() with pps_idrbecoming the source of truth for which minor corresponds to whichdevice.But now that pps_idr defines userspace visibility instead of cdev_add(),we need to be sure the pps->dev refcount can t reach zero whileuserspace can still find it again. So, the idr_remove() call moves topps_unregister_cdev(), and pps_idr now holds a reference to pps->dev. pps_core: source serial1 got cdev (251:1) <...> pps pps1: removed pps_core: unregistering pps1 pps_core: deallocating pps1
漏洞公开时间:2025-02-27 10:15:11
漏洞创建时间:2025-02-27 11:30:09
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-57979

更多参考(点击展开)
参考来源 参考链接 来源链接
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/1a7735ab2cb9747518a7416fb5929e85442dec62
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/785c78ed0d39d1717cca3ef931d3e51337b5e90e
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/7e5ee3281dc09014367f5112b6d566ba36ea2d49
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/85241f7de216f8298f6e48540ea13d7dcd100870
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/91932db1d96b2952299ce30c1c693d834d10ace6
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/c4041b6b0a7a3def8cf3f3d6120ff337bc4c40f7
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/c79a39dc8d060b9e64e8b0fa9d245d44befeefbe
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/cd3bbcb6b3a7caa5ce67de76723b6d8531fb7f64
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-57979 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-57979 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/stable/c/7e5ee3281dc09014367f5112b6d566ba36ea2d49 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/stable/c/85241f7de216f8298f6e48540ea13d7dcd100870 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/stable/c/91932db1d96b2952299ce30c1c693d834d10ace6 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/stable/c/c79a39dc8d060b9e64e8b0fa9d245d44befeefbe https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/stable/c/cd3bbcb6b3a7caa5ce67de76723b6d8531fb7f64 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-57979.mbox https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2348562 https://bugzilla.suse.com/show_bug.cgi?id=1238521
suse_bugzilla https://github.com/CVEProject/cvelistV5/blob/main//cves/2024/57xxx/CVE-2024-57979.json https://bugzilla.suse.com/show_bug.cgi?id=1238521
redhat_bugzilla https://lore.kernel.org/linux-cve-announce/2025022634-CVE-2024-57979-aad0@gregkh/T https://bugzilla.redhat.com/show_bug.cgi?id=2348562
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:2474 https://bugzilla.redhat.com/show_bug.cgi?id=2348562
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:2473 https://bugzilla.redhat.com/show_bug.cgi?id=2348562
debian https://security-tracker.debian.org/tracker/CVE-2024-57979
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-57979
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-57979 https://explore.alas.aws.amazon.com/CVE-2024-57979.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-57979 https://explore.alas.aws.amazon.com/CVE-2024-57979.html

漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://git.kernel.org/stable/c/1a7735ab2cb9747518a7416fb5929e85442dec62 nvd
https://git.kernel.org/stable/c/785c78ed0d39d1717cca3ef931d3e51337b5e90e nvd
https://git.kernel.org/stable/c/7e5ee3281dc09014367f5112b6d566ba36ea2d49 nvd
https://git.kernel.org/stable/c/85241f7de216f8298f6e48540ea13d7dcd100870 nvd
https://git.kernel.org/stable/c/91932db1d96b2952299ce30c1c693d834d10ace6 nvd
https://git.kernel.org/stable/c/c4041b6b0a7a3def8cf3f3d6120ff337bc4c40f7 nvd
https://git.kernel.org/stable/c/c79a39dc8d060b9e64e8b0fa9d245d44befeefbe nvd
https://git.kernel.org/stable/c/cd3bbcb6b3a7caa5ce67de76723b6d8531fb7f64 nvd
linux_kernel 6.1.129 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=91932db1d96b2952299ce30c1c693d834d10ace6Issue https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d953e0e837e65ecc1ddaa4f9560f7925878a0de6 linuxkernelcves
linux_kernel 6.6.76 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cd3bbcb6b3a7caa5ce67de76723b6d8531fb7f64Issue https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d953e0e837e65ecc1ddaa4f9560f7925878a0de6 linuxkernelcves
linux_kernel 6.12.13 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7e5ee3281dc09014367f5112b6d566ba36ea2d49Issue https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d953e0e837e65ecc1ddaa4f9560f7925878a0de6 linuxkernelcves
linux_kernel 6.13.2 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=85241f7de216f8298f6e48540ea13d7dcd100870Issue https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d953e0e837e65ecc1ddaa4f9560f7925878a0de6 linuxkernelcves
linux_kernel 6.14-rc1 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c79a39dc8d060b9e64e8b0fa9d245d44befeefbeIssue https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d953e0e837e65ecc1ddaa4f9560f7925878a0de6 linuxkernelcves

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

修复是否涉及abi变化(是/否):
1.master(6.18.40):否
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.openEuler-22.03-LTS-SP3(5.10.0):正常修复
2.openEuler-22.03-LTS-SP4(5.10.0):正常修复
3.openEuler-24.03-LTS(6.6.0):正常修复
4.openEuler-24.03-LTS-SP1(6.6.0):正常修复
5.openEuler-24.03-LTS-SP2(6.6.0):正常修复
6.openEuler-24.03-LTS-SP3(6.6.0):不受影响-漏洞代码不能被攻击者触发
7.openEuler-20.03-LTS-SP4(4.19.90):不修复-超出修复范围
8.master(6.18.40):不受影响-漏洞代码不能被攻击者触发
9.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发
10.openEuler-24.03-LTS-SP4(6.6.0):不受影响-漏洞代码不能被攻击者触发

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Feb 27, 2025 添加了 &nbsp; CVE/UNFIXED 标签
openeuler-ci-botopeneuler-ci-botCollaborators
Feb 27, 2025 创建了CVE和安全问题
openeuler-ci-bot
openeuler-ci-botCollaborators
Feb 27, 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-bot
openeuler-ci-botCollaborators
Feb 27, 2025 Comments:

@yangyingliang ,@jiaoff ,@guohaocs2c ,@hanjun-guo ,@woqidaideshi ,@newbeats ,@zhangyi089 ,@colyli ,@thundertown ,@htforge ,@chiqijun ,@lengchao ,@zhujianwei001 ,@kylin-mayukun ,@wangxiongfeng ,@wkfxxx ,@SuperSix173 ,@jentlestea ,@oskernel0719 ,@gasonchen
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否), 原因说明)不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.master(6.6.0):
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):

修复是否涉及abi变化(是/否):
1.master(6.6.0):
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):

原因说明:
1.master(6.6.0):
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):


原因说明填写请参考下方表格(注意:版本是否受影响和版本的原因说明必须对应,例如master版本分支受影响,那原因说明只能是受影响对应的原因之一!):

分支状态 原因说明
受影响 正常修复
受影响 暂不修复-漏洞仍在分析中
受影响 暂不修复-暂无解决方案或补丁
受影响 暂不修复-待升级版本修复
受影响 不修复-超出修复范围
受影响 不修复-特殊原因导致不再修复
不受影响 不受影响-组件不存在
不受影响 不受影响-已有内置的内联控制或缓解措施
不受影响 不受影响-漏洞代码不能被攻击者触发
不受影响 不受影响-漏洞代码不在执行路径
不受影响 不受影响-漏洞代码不存在

issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Feb 27, 2025 添加了 &nbsp; sig/Kernel 标签
60 messages are collapsed here。 See more
openeuler-ci-bot
openeuler-ci-botCollaborators
Aug 25 Comments:

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

状态 分析项目 内容
已分析 1.影响性分析说明 In the Linux kernel, the following vulnerability has been resolved:pps: Fix a use-after-freeOn a boa...
已分析 2.openEulerScore 7.8
已分析 3.openEulerVector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
已分析 4.受影响版本排查 openEuler-20.03-LTS-SP4:受影响,openEuler-22.03-LTS-SP3:受影响,openEuler-22.03-LTS-SP4:受影响,openEuler-24.03-LTS:受影响,openEuler-24.03-LTS-SP1:受影响,openEuler-24.03-LTS-SP2:受影响,openEuler-24.03-LTS-SP3:不受影响,master:不受影响,openEuler-24.03-LTS-Next:不受影响,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.原因说明 openEuler-22.03-LTS-SP3:正常修复,openEuler-22.03-LTS-SP4:正常修复,openEuler-24.03-LTS:正常修复,openEuler-24.03-LTS-SP1:正常修复,openEuler-24.03-LTS-SP2:正常修复,openEuler-24.03-LTS-SP3:不受影响-漏洞代码不能被攻击者触发,openEuler-20.03-LTS-SP4:不修复-超出修复范围,master:不受影响-漏洞代码不能被攻击者触发,openEuler-24.03-LTS-Next:不受影响-漏洞代码不能被攻击者触发,openEuler-24.03-LTS-SP4:不受影响-漏洞代码不能被攻击者触发

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

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

经过cve-manager解析,部分分支PR未合入,如红色字体所示:

原因说明:
1.openEuler-22.03-LTS-SP3:正常修复(PR未合入)
2.openEuler-22.03-LTS-SP4:正常修复
3.openEuler-24.03-LTS:正常修复
4.openEuler-24.03-LTS-SP1:正常修复
5.openEuler-24.03-LTS-SP2:正常修复
6.openEuler-24.03-LTS-SP3:不受影响-漏洞代码不能被攻击者触发
7.openEuler-20.03-LTS-SP4:不修复-超出修复范围
8.master:不受影响-漏洞代码不能被攻击者触发
9.openEuler-24.03-LTS-Next:不受影响-漏洞代码不能被攻击者触发
10.openEuler-24.03-LTS-SP4:不受影响-漏洞代码不能被攻击者触发

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 12 Comments:
参考网址 关联pr 状态 补丁链接
https://www.opencve.io/cve/CVE-2026-80860NoneNonehttps://git.kernel.org/stable/c/0f930904452945f409eeeb0c9afa08bf27185cb1
https://git.kernel.org/stable/c/ed9c881f3b498383f73c42712b359419da42a7b0
https://git.kernel.org/stable/c/26fbe4bc3ef3ab0200407681cbef182af5d151de
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2026-80860
https://security-tracker.debian.org/tracker/CVE-2026-80860NoneNonehttps://git.kernel.org/linus/ed9c881f3b498383f73c42712b359419da42a7b0
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2026-80860
https://nvd.nist.gov/vuln/detail/CVE-2026-80860
https://ubuntu.com/security/CVE-2026-80860NoneNonehttps://git.kernel.org/linus/ed9c881f3b498383f73c42712b359419da42a7b0
https://discourse.ubuntu.com/c/project
https://git.kernel.org/linus/f8fce75fedf73ac72aa09163deb8f4291fdcaad2

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 16 Modify description of issue
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 16 Assign kongzizaixian as responsible person, remove original responsible person: sanglipeng