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
72
Fork
330
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-2022-48912
Done
#IALPU4
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2024-08-22 12:20
一、漏洞信息 漏洞编号:[CVE-2022-48912](https://nvd.nist.gov/vuln/detail/CVE-2022-48912) 漏洞归属组件:[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.8 High Vector:CVSS:3.0/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:netfilter: fix use-after-free in __nf_register_net_hook()We must not dereference @new_hooks after nf_hook_mutex has been released,because other threads might have freed our allocated hooks already.BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline]BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline]BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438Read of size 2 at addr ffff88801c1a8000 by task syz-executor237/4430CPU: 1 PID: 4430 Comm: syz-executor237 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x336 mm/kasan/report.c:255 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] hooks_validate net/netfilter/core.c:171 [inline] __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 nf_register_net_hook+0x114/0x170 net/netfilter/core.c:571 nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:587 nf_synproxy_ipv6_init+0x85/0xe0 net/netfilter/nf_synproxy_core.c:1218 synproxy_tg6_check+0x30d/0x560 net/ipv6/netfilter/ip6t_SYNPROXY.c:81 xt_check_target+0x26c/0x9e0 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:530 [inline] find_check_entry.constprop.0+0x7f1/0x9e0 net/ipv6/netfilter/ip6_tables.c:573 translate_table+0xc8b/0x1750 net/ipv6/netfilter/ip6_tables.c:735 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x56e/0xb90 net/ipv6/netfilter/ip6_tables.c:1639 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x122/0x180 net/ipv6/ipv6_sockglue.c:1024 rawv6_setsockopt+0xd3/0x6a0 net/ipv6/raw.c:1084 __sys_setsockopt+0x2db/0x610 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xaeRIP: 0033:0x7f65a1ace7d9Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48RSP: 002b:00007f65a1a7f308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f65a1ace7d9RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003RBP: 00007f65a1b574c8 R08: 0000000000000001 R09: 0000000000000000R10: 0000000020000000 R11: 0000000000000246 R12: 00007f65a1b55130R13: 00007f65a1b574c0 R14: 00007f65a1b24090 R15: 0000000000022000 </TASK>The buggy address belongs to the page:page:ffffea0000706a00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1c1a8flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000000000 ffffea0001c1b108 ffffea000046dd08 0000000000000000raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner tracks the page as freedpage last allocated via order 2, migratetype Unmovable, gfp_mask 0x52dc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_ZERO), pid 4430, ts 1061781545818, free_ts 1061791488993 prep_new_page mm/page_alloc.c:2434 [inline] get_page_from_freelist+0xa72/0x2f50 mm/page_alloc.c:4165 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5389 __alloc_pages_node include/linux/gfp.h:572 [inline] alloc_pages_node include/linux/gfp.h:595 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4438 __kmalloc_node+0x35a/0x4a0 mm/slub.---truncated--- 漏洞公开时间:2024-08-22 10:15:05 漏洞创建时间:2024-08-22 20:20:31 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-48912 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48912 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2022-48912 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48912.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/linus/56763f12b0f02706576a088e85ef856deacc98a0 (5.17-rc7) | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | </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/05f7927b25d2635e87267ff6c79db79fb46cf313 | | nvd | | | | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | | nvd | | | | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | | nvd | | | | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | | nvd | | | | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | | nvd | | | | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | | nvd | | | | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | | nvd | | linux | | https://git.kernel.org/linus/56763f12b0f02706576a088e85ef856deacc98a0 | https://git.kernel.org/linus/2420b79f8c18a75ee2417cace381f4604b9b4365 | ubuntu | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:netfilter: fix use-after-free in __nf_register_net_hook()We must not dereference @new_hooks after nf_hook_mutex has been released,because other threads might have freed our allocated hooks already.BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline]BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline]BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438Read of size 2 at addr ffff88801c1a8000 by task syz-executor237/4430CPU: 1 PID: 4430 Comm: syz-executor237 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x336 mm/kasan/report.c:255 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] hooks_validate net/netfilter/core.c:171 [inline] __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 nf_register_net_hook+0x114/0x170 net/netfilter/core.c:571 nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:587 nf_synproxy_ipv6_init+0x85/0xe0 net/netfilter/nf_synproxy_core.c:1218 synproxy_tg6_check+0x30d/0x560 net/ipv6/netfilter/ip6t_SYNPROXY.c:81 xt_check_target+0x26c/0x9e0 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:530 [inline] find_check_entry.constprop.0+0x7f1/0x9e0 net/ipv6/netfilter/ip6_tables.c:573 translate_table+0xc8b/0x1750 net/ipv6/netfilter/ip6_tables.c:735 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x56e/0xb90 net/ipv6/netfilter/ip6_tables.c:1639 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x122/0x180 net/ipv6/ipv6_sockglue.c:1024 rawv6_setsockopt+0xd3/0x6a0 net/ipv6/raw.c:1084 __sys_setsockopt+0x2db/0x610 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xaeRIP: 0033:0x7f65a1ace7d9Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48RSP: 002b:00007f65a1a7f308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f65a1ace7d9RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003RBP: 00007f65a1b574c8 R08: 0000000000000001 R09: 0000000000000000R10: 0000000020000000 R11: 0000000000000246 R12: 00007f65a1b55130R13: 00007f65a1b574c0 R14: 00007f65a1b24090 R15: 0000000000022000 </TASK>The buggy address belongs to the page:page:ffffea0000706a00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1c1a8flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000000000 ffffea0001c1b108 ffffea000046dd08 0000000000000000raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner tracks the page as freedpage last allocated via order 2, migratetype Unmovable, gfp_mask 0x52dc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_ZERO), pid 4430, ts 1061781545818, free_ts 1061791488993 prep_new_page mm/page_alloc.c:2434 [inline] get_page_from_freelist+0xa72/0x2f50 mm/page_alloc.c:4165 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5389 __alloc_pages_node include/linux/gfp.h:572 [inline] alloc_pages_node include/linux/gfp.h:595 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4438 __kmalloc_node+0x35a/0x4a0 mm/slub.---truncated--- openEuler评分: 7.8 Vector:CVSS:3.0/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-SP1(5.10.0):不受影响 3.openEuler-22.03-LTS-SP3(5.10.0):不受影响 4.openEuler-22.03-LTS-SP4(5.10.0):不受影响 5.master(6.6.0):不受影响 6.openEuler-24.03-LTS(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-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):否
一、漏洞信息 漏洞编号:[CVE-2022-48912](https://nvd.nist.gov/vuln/detail/CVE-2022-48912) 漏洞归属组件:[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.8 High Vector:CVSS:3.0/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:netfilter: fix use-after-free in __nf_register_net_hook()We must not dereference @new_hooks after nf_hook_mutex has been released,because other threads might have freed our allocated hooks already.BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline]BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline]BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438Read of size 2 at addr ffff88801c1a8000 by task syz-executor237/4430CPU: 1 PID: 4430 Comm: syz-executor237 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x336 mm/kasan/report.c:255 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] hooks_validate net/netfilter/core.c:171 [inline] __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 nf_register_net_hook+0x114/0x170 net/netfilter/core.c:571 nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:587 nf_synproxy_ipv6_init+0x85/0xe0 net/netfilter/nf_synproxy_core.c:1218 synproxy_tg6_check+0x30d/0x560 net/ipv6/netfilter/ip6t_SYNPROXY.c:81 xt_check_target+0x26c/0x9e0 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:530 [inline] find_check_entry.constprop.0+0x7f1/0x9e0 net/ipv6/netfilter/ip6_tables.c:573 translate_table+0xc8b/0x1750 net/ipv6/netfilter/ip6_tables.c:735 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x56e/0xb90 net/ipv6/netfilter/ip6_tables.c:1639 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x122/0x180 net/ipv6/ipv6_sockglue.c:1024 rawv6_setsockopt+0xd3/0x6a0 net/ipv6/raw.c:1084 __sys_setsockopt+0x2db/0x610 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xaeRIP: 0033:0x7f65a1ace7d9Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48RSP: 002b:00007f65a1a7f308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f65a1ace7d9RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003RBP: 00007f65a1b574c8 R08: 0000000000000001 R09: 0000000000000000R10: 0000000020000000 R11: 0000000000000246 R12: 00007f65a1b55130R13: 00007f65a1b574c0 R14: 00007f65a1b24090 R15: 0000000000022000 </TASK>The buggy address belongs to the page:page:ffffea0000706a00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1c1a8flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000000000 ffffea0001c1b108 ffffea000046dd08 0000000000000000raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner tracks the page as freedpage last allocated via order 2, migratetype Unmovable, gfp_mask 0x52dc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_ZERO), pid 4430, ts 1061781545818, free_ts 1061791488993 prep_new_page mm/page_alloc.c:2434 [inline] get_page_from_freelist+0xa72/0x2f50 mm/page_alloc.c:4165 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5389 __alloc_pages_node include/linux/gfp.h:572 [inline] alloc_pages_node include/linux/gfp.h:595 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4438 __kmalloc_node+0x35a/0x4a0 mm/slub.---truncated--- 漏洞公开时间:2024-08-22 10:15:05 漏洞创建时间:2024-08-22 20:20:31 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-48912 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48912 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2022-48912 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48912.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1229641 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/linus/56763f12b0f02706576a088e85ef856deacc98a0 (5.17-rc7) | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/05f7927b25d2635e87267ff6c79db79fb46cf313 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2022-48912 | https://ubuntu.com/security/CVE-2022-48912 | </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/05f7927b25d2635e87267ff6c79db79fb46cf313 | | nvd | | | | https://git.kernel.org/stable/c/49c24579cec41e32f13d57b337fd28fb208d4a5b | | nvd | | | | https://git.kernel.org/stable/c/56763f12b0f02706576a088e85ef856deacc98a0 | | nvd | | | | https://git.kernel.org/stable/c/5a8076e98dde17224dd47283b894a8b1dbe1bc72 | | nvd | | | | https://git.kernel.org/stable/c/8b0142c4143c1ca297dcf2c0cdd045d65dae2344 | | nvd | | | | https://git.kernel.org/stable/c/bd61f192a339b1095dfd6d56073a5265934c2979 | | nvd | | | | https://git.kernel.org/stable/c/bdd8fc1b826e6f23963f5bef3f7431c6188ec954 | | nvd | | linux | | https://git.kernel.org/linus/56763f12b0f02706576a088e85ef856deacc98a0 | https://git.kernel.org/linus/2420b79f8c18a75ee2417cace381f4604b9b4365 | ubuntu | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:netfilter: fix use-after-free in __nf_register_net_hook()We must not dereference @new_hooks after nf_hook_mutex has been released,because other threads might have freed our allocated hooks already.BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline]BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline]BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438Read of size 2 at addr ffff88801c1a8000 by task syz-executor237/4430CPU: 1 PID: 4430 Comm: syz-executor237 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x336 mm/kasan/report.c:255 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] hooks_validate net/netfilter/core.c:171 [inline] __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 nf_register_net_hook+0x114/0x170 net/netfilter/core.c:571 nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:587 nf_synproxy_ipv6_init+0x85/0xe0 net/netfilter/nf_synproxy_core.c:1218 synproxy_tg6_check+0x30d/0x560 net/ipv6/netfilter/ip6t_SYNPROXY.c:81 xt_check_target+0x26c/0x9e0 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:530 [inline] find_check_entry.constprop.0+0x7f1/0x9e0 net/ipv6/netfilter/ip6_tables.c:573 translate_table+0xc8b/0x1750 net/ipv6/netfilter/ip6_tables.c:735 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x56e/0xb90 net/ipv6/netfilter/ip6_tables.c:1639 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x122/0x180 net/ipv6/ipv6_sockglue.c:1024 rawv6_setsockopt+0xd3/0x6a0 net/ipv6/raw.c:1084 __sys_setsockopt+0x2db/0x610 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xaeRIP: 0033:0x7f65a1ace7d9Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48RSP: 002b:00007f65a1a7f308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f65a1ace7d9RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003RBP: 00007f65a1b574c8 R08: 0000000000000001 R09: 0000000000000000R10: 0000000020000000 R11: 0000000000000246 R12: 00007f65a1b55130R13: 00007f65a1b574c0 R14: 00007f65a1b24090 R15: 0000000000022000 </TASK>The buggy address belongs to the page:page:ffffea0000706a00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1c1a8flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)raw: 00fff00000000000 ffffea0001c1b108 ffffea000046dd08 0000000000000000raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000page dumped because: kasan: bad access detectedpage_owner tracks the page as freedpage last allocated via order 2, migratetype Unmovable, gfp_mask 0x52dc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_ZERO), pid 4430, ts 1061781545818, free_ts 1061791488993 prep_new_page mm/page_alloc.c:2434 [inline] get_page_from_freelist+0xa72/0x2f50 mm/page_alloc.c:4165 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5389 __alloc_pages_node include/linux/gfp.h:572 [inline] alloc_pages_node include/linux/gfp.h:595 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4438 __kmalloc_node+0x35a/0x4a0 mm/slub.---truncated--- openEuler评分: 7.8 Vector:CVSS:3.0/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-SP1(5.10.0):不受影响 3.openEuler-22.03-LTS-SP3(5.10.0):不受影响 4.openEuler-22.03-LTS-SP4(5.10.0):不受影响 5.master(6.6.0):不受影响 6.openEuler-24.03-LTS(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-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):否
Comments (
13
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
sanglipeng
sanglipeng
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNAFFECTED
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
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