Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
128
Star
73
Fork
331
src-openEuler
/
kernel
Closed
Code
Issues
1197
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2024-57802
Done
#IBI67Q
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-01-16 12:35
一、漏洞信息 漏洞编号:[CVE-2024-57802](https://nvd.nist.gov/vuln/detail/CVE-2024-57802) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:5.5 Medium Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:netrom: check buffer length before accessing itSyzkaller reports an uninit value read from ax25cmp when sending raw messagethrough ieee802154 implementation.=====================================================BUG: KMSAN: uninit-value in ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 nr_dev_get+0x20e/0x450 net/netrom/nr_route.c:601 nr_route_frame+0x1a2/0xfc0 net/netrom/nr_route.c:774 nr_xmit+0x5a/0x1c0 net/netrom/nr_dev.c:144 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] raw_sendmsg+0x654/0xc10 net/ieee802154/socket.c:299 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bUninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2780 sock_alloc_send_skb include/net/sock.h:1884 [inline] raw_sendmsg+0x36d/0xc10 net/ieee802154/socket.c:282 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bCPU: 0 PID: 5037 Comm: syz-executor166 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023=====================================================This issue occurs because the skb buffer is too small, and it s actualallocation is aligned. This hides an actual issue, which is that nr_route_framedoes not validate the buffer size before using it.Fix this issue by checking skb->len before accessing any fields in skb->data.Found by Linux Verification Center (linuxtesting.org) with Syzkaller. 漏洞公开时间:2025-01-15 21:15:11 漏洞创建时间:2025-01-16 12:35:37 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-57802 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-57802 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-57802.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-57802 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2338207 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025011533-CVE-2024-57802-c728@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2338207 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-57802 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2024-57802 | | mageia | | http://advisories.mageia.org/MGASA-2025-0030.html | | osv | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://security-tracker.debian.org/tracker/CVE-2024-57802 | https://osv.dev/vulnerability/CVE-2024-57802 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | | nvd | | | | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | | nvd | | | | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | | nvd | | | | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | | nvd | | | | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | | nvd | | | | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | | nvd | | | | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | | nvd | | linux_kernel | 5.4.289 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 5.10.233 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cf6befa7c569787f53440274bbed1405fc07738d | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 5.15.176 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=769e36c2119a51070faf58819c58274f57a088db | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.1.124 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=78a110332ae268d0b005247c3b9a7d703b875c49 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.6.70 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f647d72245aadce30618f4c8fd3803904418dbec | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.12.9 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3ba7f80d98d4965349cfcd258dd78418496c1625 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.13-rc6 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a4fd163aed2edd967a244499754dec991d8b4c7d | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:netrom: check buffer length before accessing itSyzkaller reports an uninit value read from ax25cmp when sending raw messagethrough ieee802154 implementation.=====================================================BUG: KMSAN: uninit-value in ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 nr_dev_get+0x20e/0x450 net/netrom/nr_route.c:601 nr_route_frame+0x1a2/0xfc0 net/netrom/nr_route.c:774 nr_xmit+0x5a/0x1c0 net/netrom/nr_dev.c:144 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] raw_sendmsg+0x654/0xc10 net/ieee802154/socket.c:299 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bUninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2780 sock_alloc_send_skb include/net/sock.h:1884 [inline] raw_sendmsg+0x36d/0xc10 net/ieee802154/socket.c:282 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bCPU: 0 PID: 5037 Comm: syz-executor166 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023=====================================================This issue occurs because the skb buffer is too small, and it s actualallocation is aligned. This hides an actual issue, which is that nr_route_framedoes not validate the buffer size before using it.Fix this issue by checking skb->len before accessing any fields in skb->data.Found by Linux Verification Center (linuxtesting.org) with Syzkaller. openEuler评分: 5.5 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.master(6.6.0):不受影响 7.openEuler-24.03-LTS-Next(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP3(5.10.0):否 3.master(6.6.0):否 4.openEuler-24.03-LTS(6.6.0):否 5.openEuler-24.03-LTS-Next(6.6.0):否 6.openEuler-22.03-LTS-SP4(5.10.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-24.03-LTS-SP1(6.6.0):正常修复 3.openEuler-20.03-LTS-SP4(4.19.90):不修复-超出修复范围 4.openEuler-22.03-LTS-SP3(5.10.0):不修复-超出修复范围 5.openEuler-22.03-LTS-SP4(5.10.0):不修复-超出修复范围 6.master(6.6.0):不受影响-漏洞代码不能被攻击者触发 7.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1321
一、漏洞信息 漏洞编号:[CVE-2024-57802](https://nvd.nist.gov/vuln/detail/CVE-2024-57802) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:5.5 Medium Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:netrom: check buffer length before accessing itSyzkaller reports an uninit value read from ax25cmp when sending raw messagethrough ieee802154 implementation.=====================================================BUG: KMSAN: uninit-value in ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 nr_dev_get+0x20e/0x450 net/netrom/nr_route.c:601 nr_route_frame+0x1a2/0xfc0 net/netrom/nr_route.c:774 nr_xmit+0x5a/0x1c0 net/netrom/nr_dev.c:144 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] raw_sendmsg+0x654/0xc10 net/ieee802154/socket.c:299 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bUninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2780 sock_alloc_send_skb include/net/sock.h:1884 [inline] raw_sendmsg+0x36d/0xc10 net/ieee802154/socket.c:282 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bCPU: 0 PID: 5037 Comm: syz-executor166 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023=====================================================This issue occurs because the skb buffer is too small, and it s actualallocation is aligned. This hides an actual issue, which is that nr_route_framedoes not validate the buffer size before using it.Fix this issue by checking skb->len before accessing any fields in skb->data.Found by Linux Verification Center (linuxtesting.org) with Syzkaller. 漏洞公开时间:2025-01-15 21:15:11 漏洞创建时间:2025-01-16 12:35:37 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-57802 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-57802 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-57802.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-57802 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2338207 | https://bugzilla.suse.com/show_bug.cgi?id=1235941 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025011533-CVE-2024-57802-c728@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2338207 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-57802 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2024-57802 | | mageia | | http://advisories.mageia.org/MGASA-2025-0030.html | | osv | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | https://osv.dev/vulnerability/CVE-2024-57802 | | osv | https://security-tracker.debian.org/tracker/CVE-2024-57802 | https://osv.dev/vulnerability/CVE-2024-57802 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/3ba7f80d98d4965349cfcd258dd78418496c1625 | | nvd | | | | https://git.kernel.org/stable/c/64e9f54a14f2887be8634fb85cd2f13bec18a184 | | nvd | | | | https://git.kernel.org/stable/c/769e36c2119a51070faf58819c58274f57a088db | | nvd | | | | https://git.kernel.org/stable/c/78a110332ae268d0b005247c3b9a7d703b875c49 | | nvd | | | | https://git.kernel.org/stable/c/a4fd163aed2edd967a244499754dec991d8b4c7d | | nvd | | | | https://git.kernel.org/stable/c/cf6befa7c569787f53440274bbed1405fc07738d | | nvd | | | | https://git.kernel.org/stable/c/f647d72245aadce30618f4c8fd3803904418dbec | | nvd | | linux_kernel | 5.4.289 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=64e9f54a14f2887be8634fb85cd2f13bec18a184 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 5.10.233 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cf6befa7c569787f53440274bbed1405fc07738d | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 5.15.176 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=769e36c2119a51070faf58819c58274f57a088db | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.1.124 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=78a110332ae268d0b005247c3b9a7d703b875c49 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.6.70 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f647d72245aadce30618f4c8fd3803904418dbec | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.12.9 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3ba7f80d98d4965349cfcd258dd78418496c1625 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | | linux_kernel | 6.13-rc6 | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a4fd163aed2edd967a244499754dec991d8b4c7d | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | linuxkernelcves | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:netrom: check buffer length before accessing itSyzkaller reports an uninit value read from ax25cmp when sending raw messagethrough ieee802154 implementation.=====================================================BUG: KMSAN: uninit-value in ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 ax25cmp+0x3a5/0x460 net/ax25/ax25_addr.c:119 nr_dev_get+0x20e/0x450 net/netrom/nr_route.c:601 nr_route_frame+0x1a2/0xfc0 net/netrom/nr_route.c:774 nr_xmit+0x5a/0x1c0 net/netrom/nr_dev.c:144 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] raw_sendmsg+0x654/0xc10 net/ieee802154/socket.c:299 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bUninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2780 sock_alloc_send_skb include/net/sock.h:1884 [inline] raw_sendmsg+0x36d/0xc10 net/ieee802154/socket.c:282 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6bCPU: 0 PID: 5037 Comm: syz-executor166 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023=====================================================This issue occurs because the skb buffer is too small, and it s actualallocation is aligned. This hides an actual issue, which is that nr_route_framedoes not validate the buffer size before using it.Fix this issue by checking skb->len before accessing any fields in skb->data.Found by Linux Verification Center (linuxtesting.org) with Syzkaller. openEuler评分: 5.5 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.master(6.6.0):不受影响 7.openEuler-24.03-LTS-Next(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP3(5.10.0):否 3.master(6.6.0):否 4.openEuler-24.03-LTS(6.6.0):否 5.openEuler-24.03-LTS-Next(6.6.0):否 6.openEuler-22.03-LTS-SP4(5.10.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-24.03-LTS-SP1(6.6.0):正常修复 3.openEuler-20.03-LTS-SP4(4.19.90):不修复-超出修复范围 4.openEuler-22.03-LTS-SP3(5.10.0):不修复-超出修复范围 5.openEuler-22.03-LTS-SP4(5.10.0):不修复-超出修复范围 6.master(6.6.0):不受影响-漏洞代码不能被攻击者触发 7.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1321
Comments (
20
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
sanglipeng
sanglipeng
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/FIXED
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(3)
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register