Upstream information

CVE-2022-48839 at MITRE

Description

In the Linux kernel, the following vulnerability has been resolved: net/packet: fix slab-out-of-bounds access in packet_recvmsg() syzbot found that when an AF_PACKET socket is using PACKET_COPY_THRESH and mmap operations, tpacket_rcv() is queueing skbs with garbage in skb->cb[], triggering a too big copy [1] Presumably, users of af_packet using mmap() already gets correct metadata from the mapped buffer, we can simply make sure to clear 12 bytes that might be copied to user space later. BUG: KASAN: stack-out-of-bounds in memcpy include/linux/fortify-string.h:225 [inline] BUG: KASAN: stack-out-of-bounds in packet_recvmsg+0x56c/0x1150 net/packet/af_packet.c:3489 Write of size 165 at addr ffffc9000385fb78 by task syz-executor233/3631 CPU: 0 PID: 3631 Comm: syz-executor233 Not tainted 5.17.0-rc7-syzkaller-02396-g0b3660695e80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call 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+0xf/0x336 mm/kasan/report.c:255 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 memcpy+0x39/0x60 mm/kasan/shadow.c:66 memcpy include/linux/fortify-string.h:225 [inline] packet_recvmsg+0x56c/0x1150 net/packet/af_packet.c:3489 sock_recvmsg_nosec net/socket.c:948 [inline] sock_recvmsg net/socket.c:966 [inline] sock_recvmsg net/socket.c:962 [inline] ____sys_recvmsg+0x2c4/0x600 net/socket.c:2632 ___sys_recvmsg+0x127/0x200 net/socket.c:2674 __sys_recvmsg+0xe2/0x1a0 net/socket.c:2704 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/0xae RIP: 0033:0x7fdfd5954c29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcf8e71e48 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdfd5954c29 RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000005 RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcf8e71e60 R13: 00000000000f4240 R14: 000000000000c1ff R15: 00007ffcf8e71e54 </TASK> addr ffffc9000385fb78 is located in stack of task syz-executor233/3631 at offset 32 in frame: ____sys_recvmsg+0x0/0x600 include/linux/uio.h:246 this frame has 1 object: [32, 160) 'addr' Memory state around the buggy address: ffffc9000385fa80: 00 04 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 ffffc9000385fb00: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 >ffffc9000385fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f3 ^ ffffc9000385fc00: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 ffffc9000385fc80: f1 f1 f1 00 f2 f2 f2 00 f2 f2 f2 00 00 00 00 00 ==================================================================

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1227985 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 kernel-default Already fixed
SUSE Enterprise Storage 7.1 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Desktop 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Desktop 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 12 SP5 kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 12 SP5 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 12 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Micro 5.1 kernel-default Already fixed
SUSE Linux Enterprise Micro 5.1 kernel-rt Already fixed
SUSE Linux Enterprise Micro 5.1 kernel-source-rt Already fixed
SUSE Linux Enterprise Micro 5.2 kernel-default Already fixed
SUSE Linux Enterprise Micro 5.2 kernel-rt Already fixed
SUSE Linux Enterprise Micro 5.2 kernel-source-rt Already fixed
SUSE Linux Enterprise Micro 5.3 kernel-default Already fixed
SUSE Linux Enterprise Micro 5.3 kernel-rt Already fixed
SUSE Linux Enterprise Micro 5.3 kernel-source-rt Already fixed
SUSE Linux Enterprise Micro 5.4 kernel-default Already fixed
SUSE Linux Enterprise Micro 5.4 kernel-rt Already fixed
SUSE Linux Enterprise Micro 5.4 kernel-source-rt Already fixed
SUSE Linux Enterprise Micro 5.5 kernel-source-rt Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Real Time 12 SP5 kernel-source-rt Already fixed
SUSE Linux Enterprise Real Time 15 SP5 kernel-source-rt Already fixed
SUSE Linux Enterprise Real Time 15 SP6 kernel-source-rt Already fixed
SUSE Linux Enterprise Server 12 SP5 kernel-default Already fixed
SUSE Linux Enterprise Server 12 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise Server 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise Server 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP6 kernel-source-azure Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 kernel-source-azure Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source-azure Already fixed
SUSE Manager Proxy 4.3 kernel-default Already fixed
SUSE Manager Proxy 4.3 kernel-source Already fixed
SUSE Manager Retail Branch Server 4.3 kernel-default Already fixed
SUSE Manager Retail Branch Server 4.3 kernel-source Already fixed
SUSE Manager Server 4.3 kernel-default Already fixed
SUSE Manager Server 4.3 kernel-source Already fixed
SUSE Real Time Module 15 SP5 kernel-source-rt Already fixed
SUSE Real Time Module 15 SP6 kernel-source-rt Already fixed
openSUSE Leap 15.5 kernel-default Already fixed
openSUSE Leap 15.5 kernel-source Already fixed
openSUSE Leap 15.5 kernel-source-azure Already fixed
openSUSE Leap 15.5 kernel-source-rt Already fixed
openSUSE Leap 15.6 kernel-default Already fixed
openSUSE Leap 15.6 kernel-source Already fixed
openSUSE Leap 15.6 kernel-source-azure Already fixed
openSUSE Leap 15.6 kernel-source-rt Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-default Already fixed
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP2 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 kernel-source Already fixed
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 kernel-source Already fixed
SUSE CaaS Platform 4.0 kernel-source Already fixed
SUSE Enterprise Storage 6 kernel-source Already fixed
SUSE Enterprise Storage 7 kernel-source Already fixed
SUSE Linux Enterprise Desktop 11 SP4 kernel-source Already fixed
SUSE Linux Enterprise Desktop 12 SP3 kernel-source Already fixed
SUSE Linux Enterprise Desktop 12 SP4 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 SP1 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Desktop 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP1 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15-LTSS kernel-source Already fixed
SUSE Linux Enterprise Micro 5.0 kernel-default Already fixed
SUSE Linux Enterprise Module for Basesystem 15 kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP1 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP1 kernel-source Already fixed
SUSE Linux Enterprise Real Time 15 SP2 kernel-source Already fixed
SUSE Linux Enterprise Real Time 15 SP3 kernel-source Already fixed
SUSE Linux Enterprise Real Time 15 SP3 kernel-source-rt Already fixed
SUSE Linux Enterprise Real Time 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise Real Time 15 SP4 kernel-source-rt Already fixed
SUSE Linux Enterprise Server 11 SP4 kernel-source Already fixed
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 11 SP4-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP3 kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP3-BCL kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP3-ESPOS kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP3-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP4 kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP4-ESPOS kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 15 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP1 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP1-BCL kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP2-BCL kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP3-BCL kernel-source Already fixed
SUSE Linux Enterprise Server 15-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP3 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP4 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP4 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP1 kernel-source Already fixed
SUSE Manager Proxy 4.0 kernel-source Already fixed
SUSE Manager Proxy 4.1 kernel-source Already fixed
SUSE Manager Proxy 4.2 kernel-source Already fixed
SUSE Manager Retail Branch Server 4.0 kernel-source Already fixed
SUSE Manager Retail Branch Server 4.1 kernel-source Already fixed
SUSE Manager Retail Branch Server 4.2 kernel-source Already fixed
SUSE Manager Server 4.0 kernel-source Already fixed
SUSE Manager Server 4.1 kernel-source Already fixed
SUSE Manager Server 4.2 kernel-source Already fixed
SUSE OpenStack Cloud 8 kernel-source Already fixed
SUSE OpenStack Cloud 9 kernel-source Already fixed
SUSE OpenStack Cloud Crowbar 8 kernel-source Already fixed
SUSE OpenStack Cloud Crowbar 9 kernel-source Already fixed
SUSE Real Time Module 15 SP3 kernel-source-rt Already fixed
SUSE Real Time Module 15 SP4 kernel-source-rt Already fixed
openSUSE Leap 15.3 kernel-source Already fixed
openSUSE Leap 15.3 kernel-source-rt Already fixed
openSUSE Leap 15.4 kernel-source Already fixed
openSUSE Leap 15.4 kernel-source-azure Unsupported
openSUSE Leap 15.4 kernel-source-rt Already fixed
Products at an unknown state of their lifecycle.
SUSE CaaS Platform Toolchain 3 kernel-source Already fixed


SUSE Timeline for this CVE

CVE page created: Tue Jul 16 16:00:51 2024
CVE page last modified: Wed Jul 17 11:43:43 2024