Upstream information

CVE-2022-50747 at MITRE

Description

In the Linux kernel, the following vulnerability has been resolved:

hfs: Fix OOB Write in hfs_asc2mac

Syzbot reported a OOB Write bug:

loop0: detected capacity change from 0 to 64
==================================================================
BUG: KASAN: slab-out-of-bounds in hfs_asc2mac+0x467/0x9a0
fs/hfs/trans.c:133
Write of size 1 at addr ffff88801848314e by task syz-executor391/3632

Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106
print_address_description+0x74/0x340 mm/kasan/report.c:284
print_report+0x107/0x1f0 mm/kasan/report.c:395
kasan_report+0xcd/0x100 mm/kasan/report.c:495
hfs_asc2mac+0x467/0x9a0 fs/hfs/trans.c:133
hfs_cat_build_key+0x92/0x170 fs/hfs/catalog.c:28
hfs_lookup+0x1ab/0x2c0 fs/hfs/dir.c:31
lookup_open fs/namei.c:3391 [inline]
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x10e6/0x2df0 fs/namei.c:3710
do_filp_open+0x264/0x4f0 fs/namei.c:3740

If in->len is much larger than HFS_NAMELEN(31) which is the maximum
length of an HFS filename, a OOB write could occur in hfs_asc2mac(). In
that case, when the dst reaches the boundary, the srclen is still
greater than 0, which causes a OOB write.
Fix this by adding a check on dstlen in while() before writing to dst
address.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

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

Note from the SUSE Security Team on the kernel-default package

SUSE will no longer fix all CVEs in the Linux Kernel anymore, but declare some bug classes as won't fix. Please refer to TID 21496 for more details.

SUSE Bugzilla entry: 1256432 [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 Linux Enterprise Desktop 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Desktop 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise High Availability Extension 16.0 kernel-default Already fixed
SUSE Linux Enterprise High Availability Extension 16.0 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 kernel-source-azure Already fixed
SUSE Linux Enterprise Live Patching 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Micro 5.2 kernel-default Not affected
SUSE Linux Enterprise Micro 5.2 kernel-rt Not affected
SUSE Linux Enterprise Micro 5.2 kernel-source Not affected
SUSE Linux Enterprise Micro 5.2 kernel-source-rt Not affected
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 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 Already fixed
SUSE Linux Enterprise Micro 5.4 kernel-source-rt Already fixed
SUSE Linux Enterprise Micro 5.5 kernel-default Already fixed
SUSE Linux Enterprise Micro 5.5 kernel-source Already fixed
SUSE Linux Enterprise Micro 5.5 kernel-source-rt Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Module for Legacy 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Module for Legacy 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP7 kernel-source-azure Already fixed
SUSE Linux Enterprise Real Time 15 SP7 kernel-source-rt Already fixed
SUSE Linux Enterprise Server 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP7 kernel-source-azure Already fixed
SUSE Linux Enterprise Server 16.0 kernel-default Already fixed
SUSE Linux Enterprise Server 16.0 kernel-source Already fixed
SUSE Linux Enterprise Server 16.0 kernel-source-azure Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 kernel-source-azure Already fixed
SUSE Linux Enterprise Server for SAP applications 16.0 kernel-default Already fixed
SUSE Linux Enterprise Server for SAP applications 16.0 kernel-source Already fixed
SUSE Linux Enterprise Server for SAP applications 16.0 kernel-source-azure Unsupported
SUSE Linux Enterprise Workstation Extension 15 SP7 kernel-default Already fixed
SUSE Linux Enterprise Workstation Extension 15 SP7 kernel-source Already fixed
SUSE Linux Micro 6.0 kernel-default Already fixed
SUSE Linux Micro 6.0 kernel-source Already fixed
SUSE Linux Micro 6.0 kernel-source-rt Already fixed
SUSE Linux Micro 6.1 kernel-default Already fixed
SUSE Linux Micro 6.1 kernel-source Already fixed
SUSE Linux Micro 6.1 kernel-source-rt Already fixed
SUSE Linux Micro 6.2 kernel-default Already fixed
SUSE Linux Micro 6.2 kernel-source Already fixed
SUSE Real Time Module 15 SP7 kernel-source-rt Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4 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 High Performance Computing 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-source Already fixed
SUSE Linux Enterprise Live Patching 12 SP5 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 12 SP5 kernel-source Already fixed
SUSE Linux Enterprise Live Patching 15 SP4 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 15 SP4 kernel-source Already fixed
SUSE Linux Enterprise Live Patching 15 SP5 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP4 kernel-source 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 SP4 kernel-source Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-default Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE kernel-source Not affected
SUSE Linux Enterprise Server 12 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP5-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 12 SP5-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security kernel-default Already fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security 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 15 SP5 kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP5-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP5-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server 15 SP6-LTSS kernel-default Already fixed
SUSE Linux Enterprise Server 15 SP6-LTSS kernel-source Already fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 kernel-source 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 Unsupported
SUSE Manager Proxy 4.3 kernel-source Already fixed
SUSE Manager Proxy LTS 4.3 kernel-default Already fixed
SUSE Manager Proxy LTS 4.3 kernel-source Already fixed
SUSE Manager Retail Branch Server 4.3 kernel-source Already fixed
SUSE Manager Retail Branch Server LTS 4.3 kernel-default Already fixed
SUSE Manager Retail Branch Server LTS 4.3 kernel-source Already fixed
SUSE Manager Server 4.3 kernel-source Already fixed
SUSE Manager Server LTS 4.3 kernel-default Already fixed
SUSE Manager Server LTS 4.3 kernel-source Already fixed
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 kernel-source Not affected
SUSE Enterprise Storage 6 kernel-source Not affected
SUSE Enterprise Storage 7 kernel-source Not affected
SUSE Enterprise Storage 7.1 kernel-source Not affected
SUSE Linux Enterprise Desktop 11 SP4 kernel-source Not affected
SUSE Linux Enterprise Desktop 12 SP2 kernel-source Not affected
SUSE Linux Enterprise Desktop 12 SP4 kernel-source Not affected
SUSE Linux Enterprise Desktop 15 kernel-source Unsupported
SUSE Linux Enterprise Desktop 15 SP1 kernel-source Not affected
SUSE Linux Enterprise Desktop 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Desktop 15 SP3 kernel-source Not affected
SUSE Linux Enterprise Desktop 15 SP4 kernel-source 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 Availability Extension 15 SP3 kernel-default Not affected
SUSE Linux Enterprise High Availability Extension 15 SP3 kernel-source Not affected
SUSE Linux Enterprise High Availability Extension 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise High Availability Extension 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-default Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-source Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS kernel-source Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-default Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-source 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 Unsupported
SUSE Linux Enterprise High Performance Computing 15-ESPOS kernel-source Unsupported
SUSE Linux Enterprise High Performance Computing 15-LTSS kernel-source Unsupported
SUSE Linux Enterprise Live Patching 15 SP3 kernel-default Not affected
SUSE Linux Enterprise Live Patching 15 SP3 kernel-source Not affected
SUSE Linux Enterprise Live Patching 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Live Patching 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Micro 5.0 kernel-default Not affected
SUSE Linux Enterprise Micro 5.1 kernel-default Not affected
SUSE Linux Enterprise Micro 5.1 kernel-rt Not affected
SUSE Linux Enterprise Micro 5.1 kernel-source-rt Not affected
SUSE Linux Enterprise Module for Basesystem 15 kernel-source Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP1 kernel-source Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 kernel-source Not affected
SUSE Linux Enterprise Module for Development Tools 15 kernel-source Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP1 kernel-source Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 kernel-source Not affected
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 Legacy 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Module for Legacy 15 SP6 kernel-source Already fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-source-azure Unsupported
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT kernel-source Not affected
SUSE Linux Enterprise Real Time 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Real Time 15 SP3 kernel-source Not affected
SUSE Linux Enterprise Real Time 15 SP3 kernel-source-rt Not affected
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 Real Time 15 SP5 kernel-source-rt Already fixed
SUSE Linux Enterprise Real Time 15 SP6 kernel-source-rt Unsupported
SUSE Linux Enterprise Server 11 SP4 kernel-source Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-default Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS kernel-source Not affected
SUSE Linux Enterprise Server 11 SP4-LTSS kernel-source Not affected
SUSE Linux Enterprise Server 12 SP2 kernel-source Not affected
SUSE Linux Enterprise Server 12 SP2-BCL kernel-source Not affected
SUSE Linux Enterprise Server 12 SP2-ESPOS kernel-source Not affected
SUSE Linux Enterprise Server 12 SP2-LTSS kernel-default Not affected
SUSE Linux Enterprise Server 12 SP2-LTSS kernel-source Not affected
SUSE Linux Enterprise Server 12 SP4 kernel-source Not affected
SUSE Linux Enterprise Server 12 SP4-ESPOS kernel-source Not affected
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-default Not affected
SUSE Linux Enterprise Server 12 SP4-LTSS kernel-source Not affected
SUSE Linux Enterprise Server 15 kernel-source Unsupported
SUSE Linux Enterprise Server 15 SP1 kernel-source Not affected
SUSE Linux Enterprise Server 15 SP1-BCL kernel-source Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-default Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS kernel-source Not affected
SUSE Linux Enterprise Server 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Server 15 SP2-BCL kernel-source Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-default Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS kernel-source Not affected
SUSE Linux Enterprise Server 15 SP3 kernel-source Not affected
SUSE Linux Enterprise Server 15 SP3-BCL kernel-source Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-default Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS kernel-source Not affected
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 Unsupported
SUSE Linux Enterprise Server 15-LTSS kernel-default Unsupported
SUSE Linux Enterprise Server 15-LTSS kernel-source Unsupported
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 kernel-source Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 kernel-source Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 kernel-source Not affected
SUSE Linux Enterprise Server for SAP Applications 15 kernel-source Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 kernel-source Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 kernel-source Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-default Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 kernel-source Not affected
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
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 Workstation Extension 15 SP6 kernel-default Already fixed
SUSE Linux Enterprise Workstation Extension 15 SP6 kernel-source Already fixed
SUSE Manager Proxy 4.0 kernel-source Not affected
SUSE Manager Proxy 4.1 kernel-source Not affected
SUSE Manager Proxy 4.2 kernel-source Not affected
SUSE Manager Retail Branch Server 4.0 kernel-source Not affected
SUSE Manager Retail Branch Server 4.1 kernel-source Not affected
SUSE Manager Retail Branch Server 4.2 kernel-source Not affected
SUSE Manager Server 4.0 kernel-source Not affected
SUSE Manager Server 4.1 kernel-source Not affected
SUSE Manager Server 4.2 kernel-source Not affected
SUSE OpenStack Cloud 7 kernel-source Not affected
SUSE OpenStack Cloud 9 kernel-source Not affected
SUSE OpenStack Cloud Crowbar 9 kernel-source Not affected
SUSE Real Time Module 15 SP3 kernel-source-rt Not affected
SUSE Real Time Module 15 SP4 kernel-source-rt Already fixed
SUSE Real Time Module 15 SP5 kernel-source-rt Already fixed
SUSE Real Time Module 15 SP6 kernel-source-rt Unsupported
openSUSE Leap 15.3 kernel-source Not affected
openSUSE Leap 15.3 kernel-source-rt Not affected
openSUSE Leap 15.4 kernel-source Already fixed
openSUSE Leap 15.4 kernel-source-rt Already fixed
openSUSE Leap 15.5 kernel-source 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 Unsupported
openSUSE Leap 15.6 kernel-source-rt Unsupported


SUSE Timeline for this CVE

CVE page created: Wed Dec 24 16:03:49 2025
CVE page last modified: Mon Jan 12 22:17:48 2026