Bug 2396494 (CVE-2022-50403) - CVE-2022-50403 kernel: ext4: fix undefined behavior in bit shift for ext4_check_flag_values
Summary: CVE-2022-50403 kernel: ext4: fix undefined behavior in bit shift for ext4_che...
Keywords:
Status: NEW
Alias: CVE-2022-50403
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 17:01 UTC by OSIDB Bzimport
Modified: 2025-12-04 12:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:22006 0 None None None 2025-11-25 00:37:31 UTC
Red Hat Product Errata RHSA-2025:22066 0 None None None 2025-11-25 10:35:28 UTC
Red Hat Product Errata RHSA-2025:22072 0 None None None 2025-11-25 12:31:26 UTC
Red Hat Product Errata RHSA-2025:22087 0 None None None 2025-11-25 16:04:58 UTC
Red Hat Product Errata RHSA-2025:22752 0 None None None 2025-12-04 12:45:59 UTC

Description OSIDB Bzimport 2025-09-18 17:01:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

ext4: fix undefined behavior in bit shift for ext4_check_flag_values

Shifting signed 32-bit value by 31 bits is undefined, so changing
significant bit to unsigned. The UBSAN warning calltrace like below:

UBSAN: shift-out-of-bounds in fs/ext4/ext4.h:591:2
left shift of 1 by 31 places cannot be represented in type 'int'
Call Trace:
 <TASK>
 dump_stack_lvl+0x7d/0xa5
 dump_stack+0x15/0x1b
 ubsan_epilogue+0xe/0x4e
 __ubsan_handle_shift_out_of_bounds+0x1e7/0x20c
 ext4_init_fs+0x5a/0x277
 do_one_initcall+0x76/0x430
 kernel_init_freeable+0x3b3/0x422
 kernel_init+0x24/0x1e0
 ret_from_fork+0x1f/0x30
 </TASK>

Comment 5 errata-xmlrpc 2025-11-25 00:37:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:22006 https://access.redhat.com/errata/RHSA-2025:22006

Comment 6 errata-xmlrpc 2025-11-25 10:35:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:22066 https://access.redhat.com/errata/RHSA-2025:22066

Comment 7 errata-xmlrpc 2025-11-25 12:31:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:22072 https://access.redhat.com/errata/RHSA-2025:22072

Comment 8 errata-xmlrpc 2025-11-25 16:04:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:22087 https://access.redhat.com/errata/RHSA-2025:22087

Comment 9 errata-xmlrpc 2025-12-04 12:45:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2025:22752 https://access.redhat.com/errata/RHSA-2025:22752


Note You need to log in before you can comment on or make changes to this bug.