# CVE-2022-50403: linux: In the Linux kernel, the following vulnerability has been resolved:  ext4: fix undefined behavior in bit shift for ex...

CVE-2022-50403 is fixed in 47 products on 1 platform, first by RHSA-2023:2458, released May 9, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-50403
- Priority: High
- CVSS: 8.0 (Important)
- EPSS: n/a
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2023

## Description

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>

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | bpftool RHEL 9 | 0:7.0.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel rocky 8 | 0:4.18.0-553.123.1.el8_10.cloud.0.1 | [RXSA-2024:3138](https://patchblox.com/security/data/fix/linux/rxsa-2024-3138.md) | May 29, 2026 |
| Linux | kernel-64k RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-abi-stablelists RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-abi-stablelists RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-core RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-core RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-extra RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-doc RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-doc RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-extra RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-tools RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-tools-libs RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs-devel RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-tools-libs-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-zfcpdump RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-core RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-zfcpdump-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-zfcpdump-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-zfcpdump-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-extra RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | kernel-zfcpdump-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | linux Debian 11.6 (bullseye) | 5.10.178-1 | [CVE-2022-50403](https://patchblox.com/security/data/fix/linux/cve-2022-50403.md) | Sep 18, 2025 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.4-1 | [CVE-2022-50403](https://patchblox.com/security/data/fix/linux/cve-2022-50403.md) | Sep 18, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.1.4-1 | [CVE-2022-50403](https://patchblox.com/security/data/fix/linux/cve-2022-50403.md) | Sep 18, 2025 |
| Linux | linux Debian 14 | 6.1.4-1 | [CVE-2022-50403](https://patchblox.com/security/data/fix/linux/cve-2022-50403.md) | Sep 18, 2025 |
| Linux | perf RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | python3-perf RHEL 8 | 0:4.18.0-553.el8_10 | [RHSA-2024:3138](https://patchblox.com/security/data/fix/linux/rhsa-2024-3138.md) | May 22, 2024 |
| Linux | python3-perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | rtla RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
