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
&&
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-50128
Done
#IB2BX6
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2024-11-06 02:36
一、漏洞信息 漏洞编号:[CVE-2024-50128](https://nvd.nist.gov/vuln/detail/CVE-2024-50128) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.0,6.1.14,6.1.19,6.1.5,6.1.6,6.1.8,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:7.1 High Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:net: wwan: fix global oob in wwan_rtnl_policyThe variable wwan_rtnl_link_ops assign a *bigger* maxtype which leads toa global out-of-bounds read when parsing the netlink attributes. Exactlysame bug cause as the oob fixed in commit b33fb5b801c6 ( net: qualcomm:rmnet: fix global oob in rmnet_policy ).==================================================================BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:388 [inline]BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603Read of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862CPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 #1Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x177/0x231 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x14f/0x750 mm/kasan/report.c:395 kasan_report+0x139/0x170 mm/kasan/report.c:495 validate_nla lib/nlattr.c:388 [inline] __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603 __nla_parse+0x3c/0x50 lib/nlattr.c:700 nla_parse_nested_deprecated include/net/netlink.h:1269 [inline] __rtnl_newlink net/core/rtnetlink.c:3514 [inline] rtnl_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x794/0xef0 net/core/rtnetlink.c:6122 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x74b/0x8c0 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x882/0xb90 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5cc/0x8f0 net/socket.c:2499 ___sys_sendmsg+0x21c/0x290 net/socket.c:2553 __sys_sendmsg net/socket.c:2582 [inline] __do_sys_sendmsg net/socket.c:2591 [inline] __se_sys_sendmsg+0x19e/0x270 net/socket.c:2589 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x90 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcdRIP: 0033:0x7f67b19a24adRSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002eRAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24adRDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004RBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000R13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40 </TASK>The buggy address belongs to the variable: wwan_rtnl_policy+0x20/0x40The buggy address belongs to the physical page:page:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09cflags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner info is not present (never set?)Memory state around the buggy address: ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9 ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9>ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 ^ ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00==================================================================According to the comment of `nla_parse_nested_deprecated`, use correct size`IFLA_WWAN_MAX` here to fix this issue. 漏洞公开时间:2024-11-06 02:15:15 漏洞创建时间:2024-11-06 02:36:07 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-50128 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-50128 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-50128.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-50128 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2323918 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2024110557-CVE-2024-50128-0fd8@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2323918 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-50128 | </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/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | | nvd | | | | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | | nvd | | | | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | | nvd | | | | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | | nvd | | | | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:net: wwan: fix global oob in wwan_rtnl_policyThe variable wwan_rtnl_link_ops assign a *bigger* maxtype which leads toa global out-of-bounds read when parsing the netlink attributes. Exactlysame bug cause as the oob fixed in commit b33fb5b801c6 ( net: qualcomm:rmnet: fix global oob in rmnet_policy ).==================================================================BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:388 [inline]BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603Read of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862CPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 #1Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x177/0x231 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x14f/0x750 mm/kasan/report.c:395 kasan_report+0x139/0x170 mm/kasan/report.c:495 validate_nla lib/nlattr.c:388 [inline] __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603 __nla_parse+0x3c/0x50 lib/nlattr.c:700 nla_parse_nested_deprecated include/net/netlink.h:1269 [inline] __rtnl_newlink net/core/rtnetlink.c:3514 [inline] rtnl_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x794/0xef0 net/core/rtnetlink.c:6122 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x74b/0x8c0 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x882/0xb90 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5cc/0x8f0 net/socket.c:2499 ___sys_sendmsg+0x21c/0x290 net/socket.c:2553 __sys_sendmsg net/socket.c:2582 [inline] __do_sys_sendmsg net/socket.c:2591 [inline] __se_sys_sendmsg+0x19e/0x270 net/socket.c:2589 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x90 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcdRIP: 0033:0x7f67b19a24adRSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002eRAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24adRDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004RBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000R13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40 </TASK>The buggy address belongs to the variable: wwan_rtnl_policy+0x20/0x40The buggy address belongs to the physical page:page:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09cflags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner info is not present (never set?)Memory state around the buggy address: ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9 ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9>ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 ^ ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00==================================================================According to the comment of `nla_parse_nested_deprecated`, use correct size`IFLA_WWAN_MAX` here to fix this issue. openEuler评分: 7.1 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-24.03-LTS(6.6.0):受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS-SP1(5.10.0):不受影响 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):不受影响 8.openEuler-24.03-LTS-SP1:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP1(5.10.0):否 3.openEuler-22.03-LTS-SP3(5.10.0):否 4.master(6.6.0):否 5.openEuler-24.03-LTS(6.6.0):否 6.openEuler-24.03-LTS-Next(6.6.0):否 7.openEuler-22.03-LTS-SP4(5.10.0):否 8.openEuler-24.03-LTS-SP1:否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 3.openEuler-22.03-LTS-SP1(5.10.0):不受影响-漏洞代码不存在 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):不受影响-漏洞代码不存在 8.openEuler-24.03-LTS-SP1:不受影响-漏洞代码不存在 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2522
一、漏洞信息 漏洞编号:[CVE-2024-50128](https://nvd.nist.gov/vuln/detail/CVE-2024-50128) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.0,6.1.14,6.1.19,6.1.5,6.1.6,6.1.8,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:7.1 High Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:net: wwan: fix global oob in wwan_rtnl_policyThe variable wwan_rtnl_link_ops assign a *bigger* maxtype which leads toa global out-of-bounds read when parsing the netlink attributes. Exactlysame bug cause as the oob fixed in commit b33fb5b801c6 ( net: qualcomm:rmnet: fix global oob in rmnet_policy ).==================================================================BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:388 [inline]BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603Read of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862CPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 #1Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x177/0x231 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x14f/0x750 mm/kasan/report.c:395 kasan_report+0x139/0x170 mm/kasan/report.c:495 validate_nla lib/nlattr.c:388 [inline] __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603 __nla_parse+0x3c/0x50 lib/nlattr.c:700 nla_parse_nested_deprecated include/net/netlink.h:1269 [inline] __rtnl_newlink net/core/rtnetlink.c:3514 [inline] rtnl_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x794/0xef0 net/core/rtnetlink.c:6122 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x74b/0x8c0 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x882/0xb90 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5cc/0x8f0 net/socket.c:2499 ___sys_sendmsg+0x21c/0x290 net/socket.c:2553 __sys_sendmsg net/socket.c:2582 [inline] __do_sys_sendmsg net/socket.c:2591 [inline] __se_sys_sendmsg+0x19e/0x270 net/socket.c:2589 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x90 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcdRIP: 0033:0x7f67b19a24adRSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002eRAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24adRDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004RBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000R13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40 </TASK>The buggy address belongs to the variable: wwan_rtnl_policy+0x20/0x40The buggy address belongs to the physical page:page:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09cflags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner info is not present (never set?)Memory state around the buggy address: ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9 ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9>ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 ^ ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00==================================================================According to the comment of `nla_parse_nested_deprecated`, use correct size`IFLA_WWAN_MAX` here to fix this issue. 漏洞公开时间:2024-11-06 02:15:15 漏洞创建时间:2024-11-06 02:36:07 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-50128 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-50128 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-50128.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://git.kernel.org/stable/c/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-50128 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2323918 | https://bugzilla.suse.com/show_bug.cgi?id=1232905 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2024110557-CVE-2024-50128-0fd8@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2323918 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-50128 | </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/47dd5447cab8ce30a847a0337d5341ae4c7476a7 | | nvd | | | | https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3 | | nvd | | | | https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e | | nvd | | | | https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643 | | nvd | | | | https://git.kernel.org/stable/c/c9a0aed51977198df005d0a623090e38e2d77d7b | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:net: wwan: fix global oob in wwan_rtnl_policyThe variable wwan_rtnl_link_ops assign a *bigger* maxtype which leads toa global out-of-bounds read when parsing the netlink attributes. Exactlysame bug cause as the oob fixed in commit b33fb5b801c6 ( net: qualcomm:rmnet: fix global oob in rmnet_policy ).==================================================================BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:388 [inline]BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603Read of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862CPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 #1Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x177/0x231 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x14f/0x750 mm/kasan/report.c:395 kasan_report+0x139/0x170 mm/kasan/report.c:495 validate_nla lib/nlattr.c:388 [inline] __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603 __nla_parse+0x3c/0x50 lib/nlattr.c:700 nla_parse_nested_deprecated include/net/netlink.h:1269 [inline] __rtnl_newlink net/core/rtnetlink.c:3514 [inline] rtnl_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x794/0xef0 net/core/rtnetlink.c:6122 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x74b/0x8c0 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x882/0xb90 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x5cc/0x8f0 net/socket.c:2499 ___sys_sendmsg+0x21c/0x290 net/socket.c:2553 __sys_sendmsg net/socket.c:2582 [inline] __do_sys_sendmsg net/socket.c:2591 [inline] __se_sys_sendmsg+0x19e/0x270 net/socket.c:2589 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x90 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcdRIP: 0033:0x7f67b19a24adRSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002eRAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24adRDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004RBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000R13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40 </TASK>The buggy address belongs to the variable: wwan_rtnl_policy+0x20/0x40The buggy address belongs to the physical page:page:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09cflags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner info is not present (never set?)Memory state around the buggy address: ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9 ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9>ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 ^ ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00==================================================================According to the comment of `nla_parse_nested_deprecated`, use correct size`IFLA_WWAN_MAX` here to fix this issue. openEuler评分: 7.1 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-24.03-LTS(6.6.0):受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS-SP1(5.10.0):不受影响 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):不受影响 8.openEuler-24.03-LTS-SP1:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP1(5.10.0):否 3.openEuler-22.03-LTS-SP3(5.10.0):否 4.master(6.6.0):否 5.openEuler-24.03-LTS(6.6.0):否 6.openEuler-24.03-LTS-Next(6.6.0):否 7.openEuler-22.03-LTS-SP4(5.10.0):否 8.openEuler-24.03-LTS-SP1:否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 3.openEuler-22.03-LTS-SP1(5.10.0):不受影响-漏洞代码不存在 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):不受影响-漏洞代码不存在 8.openEuler-24.03-LTS-SP1:不受影响-漏洞代码不存在 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2522
Comments (
10
)
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
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
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