cve.bz

CVE-2022-50406 linux linux kernel: Out-of-bounds Write

7.8 highEPSS 0.2%Fix available

High (7.8) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: iomap: iomap: fix memory corruption when recording errors during writeback Every now and then I see this crash on arm64: Unable to handle kernel NULL pointer dereference at virtual address 00000000000000f8 Buffer I/O error on dev dm-0, logical block 8733687, async page read Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 user pgtable: 64k pages, 42-bit VAs, pgdp=0000000139750000 [00000000000000f8] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000, pmd=0000000000000000 Internal error: Oops: 96000006 [#1] PREEMPT SMP Buffer I/O error on dev dm-0, logical block 8733688, async page read Dumping ftrace buffer: Buffer I/O error on dev dm-0, logical block 8733689, async page read (ftrace buffer empty) XFS (dm-0): log I/O error -5 Modules linked in: dm_thin_pool dm_persistent_data XFS (dm-0): Metadata I/O Error (0x1) detected at xfs_trans_read_buf_map+0x1ec/0x590 [xfs] (fs/xfs/xfs_trans_buf.c:296). dm_bio_prison XFS (dm-0): Please unmount the filesystem and rectify the problem(s) XFS (dm-0): xfs_imap_lookup: xfs_ialloc_read_agi() returned error -5, agno 0 dm_bufio dm_log_writes xfs nft_chain_nat xt_REDIRECT nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_REJECT potentially unexpected fatal signal 6. nf_reject_ipv6 potentially unexpected fatal signal 6. ipt_REJECT nf_reject_ipv4 CPU: 1 PID: 122166 Comm: fsstress Tainted: G W 6.0.0-rc5-djwa #rc5 3004c9f1de887ebae86015f2677638ce51ee7 rpcsec_gss_krb5 auth_rpcgss xt_tcpudp ip_set_hash_ip ip_set_hash_net xt_set nft_compat ip_set_hash_mac ip_set nf_tables Hardware name: QEMU KVM Virtual Machine, BIOS 1.5.1 06/16/2021 pstate: 60001000 (nZCv daif -PAN -UAO -TCO -DIT +SSBS BTYPE=--) ip_tables pc : 000003fd6d7df200 x_tables lr : 000003fd6d7df1ec overlay nfsv4 CPU: 0 PID: 54031 Comm: u4:3 Tainted: G W 6.0.0-rc5-djwa #rc5 3004c9f1de887ebae86015f2677638ce51ee7405 Hardware name: QEMU KVM Virtual Machine, BIOS 1.5.1 06/16/2021 Workqueue: writeback wb_workfn sp : 000003ffd9522fd0 (flush-253:0) pstate: 60401005 (nZCv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : errseq_set+0x1c/0x100 x29: 000003ffd9522fd0 x28: 0000000000000023 x27: 000002acefeb6780 x26: 0000000000000005 x25: 0000000000000001 x24: 0000000000000000 x23: 00000000ffffffff x22: 0000000000000005 lr : __filemap_set_wb_err+0x24/0xe0 x21: 0000000000000006 sp : fffffe000f80f760 x29: fffffe000f80f760 x28: 0000000000000003 x27: fffffe000f80f9f8 x26: 0000000002523000 x25: 00000000fffffffb x24: fffffe000f80f868 x23: fffffe000f80fbb0 x22: fffffc0180c26a78 x21: 0000000002530000 x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000001 x13: 0000000000470af3 x12: fffffc0058f70000 x11: 0000000000000040 x10: 0000000000001b20 x9 : fffffe000836b288 x8 : fffffc00eb9fd480 x7 : 0000000000f83659 x6 : 0000000000000000 x5 : 0000000000000869 x4 : 0000000000000005 x3 : 00000000000000f8 x20: 000003fd6d740020 x19: 000000000001dd36 x18: 0000000000000001 x17: 000003fd6d78704c x16: 0000000000000001 x15: 000002acfac87668 x2 : 0000000000000ffa x1 : 00000000fffffffb x0 : 00000000000000f8 Call trace: errseq_set+0x1c/0x100 __filemap_set_wb_err+0x24/0xe0 iomap_do_writepage+0x5e4/0xd5c write_cache_pages+0x208/0x674 iomap_writepages+0x34/0x60 xfs_vm_writepages+0x8c/0xcc [xfs 7a861f39c43631f15d3a5884246ba5035d4ca78b] x14: 0000000000000000 x13: 2064656e72757465 x12: 0000000000002180 x11: 000003fd6d8a82d0 x10: 0000000000000000 x9 : 000003fd6d8ae288 x8 : 0000000000000083 x7 : 00000000ffffffff x6 : 00000000ffffffee x5 : 00000000fbad2887 x4 : 000003fd6d9abb58 x3 : 000003fd6d740020 x2 : 0000000000000006 x1 : 000000000001dd36 x0 : 0000000000000000 CPU: ---truncated---

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-50406 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-50406?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-50406?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-50406 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.6 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.271
Linux5.155.15.222
Linux5.195.19.17
Linux6.06.0.3
Linuxlater releases6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.0.3-1DEBIAN-CVE-2022-50406
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-50406
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-50406
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2022-50406
Ubuntu22.04:LTSlinux5.15.0-202.212UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-aws5.15.0-1119.126UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-azure5.15.0-1125.134UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1124.133UBUNTU-CVE-2022-50406 USN-8962-1
Ubuntu22.04:LTSlinux-gcp5.15.0-1120.130UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-gke5.15.0-1115.121UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-gkeop5.15.0-1102.110UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-ibm5.15.0-1113.117UBUNTU-CVE-2022-50406 USN-8961-1
Ubuntu22.04:LTSlinux-intel-iotg5.15.0-1114.120UBUNTU-CVE-2022-50406 USN-8961-1
32 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_aus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.178.1.el8_2RHSA-2025:23445
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.182.1.el8_4RHSA-2025:23463
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.168.1.el8_6RHSA-2025:21084
15 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.124.1.150500.6.59.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.275.1SUSE-SU-2025:03614-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_731-8.3.1SUSE-SU-2025:03614-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_311-150500.11.3.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.109.1SUSE-SU-2025:3761-1
SUSELinux Enterprise Micro 5.5kernel-source, kernel-default5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5kernel-syms, kernel-source, kernel-default4.12.14-122.275.1SUSE-SU-2025:03614-1
SUSELinux Enterprise Server 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Server for SAP Applications 15 SP5kernel-docs, kernel-syms, kernel-source and 2 more5.14.21-150500.55.124.1SUSE-SU-2025:03615-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having a Moderate impact because it requires local access and relies on a race condition during page cache writeback error handling. Under specific conditions involving concurrent page invalidation and storage write failures, the kernel may dereference an unlocked page mapping, leading to a system crash or potential memory corruption. Because triggering the flaw depends on underlying storage errors and precise timing between unprivileged local tasks and kernel writeback threads, reliable exploitation beyond local denial of service is highly constrained.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.144.1.rt56.1296.el7Fixed 2025-12-22RHSA-2025:23960
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.144.1.el7Fixed 2025-12-22RHSA-2025:23947
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9Fixed 2023-11-14RHSA-2023:7077
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.178.1.el8_2Fixed 2025-12-17RHSA-2025:23445
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.182.1.el8_4Fixed 2025-12-17RHSA-2025:23463
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.182.1.el8_4Fixed 2025-12-17RHSA-2025:23463
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.168.1.el8_6Fixed 2025-11-12RHSA-2025:21084
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.168.1.el8_6Fixed 2025-11-12RHSA-2025:21084
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.168.1.el8_6Fixed 2025-11-12RHSA-2025:21084
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.122.1.el8_8Fixed 2025-12-10RHSA-2025:22998
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.122.1.el8_8Fixed 2025-12-10RHSA-2025:22998
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.153.1.el9_0Fixed 2025-11-12RHSA-2025:21091
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.153.1.rt21.225.el9_0Fixed 2025-11-12RHSA-2025:21136
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.146.1.el9_2Fixed 2025-11-12RHSA-2025:21051
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.146.1.rt14.431.el9_2Fixed 2025-11-12RHSA-2025:21128
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 8kernel-rtAffected
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-50406.

References

Check your stackJSON