CVE-2022-50406 json
iomap: iomap: fix memory corruption when recording errors during writeback
published 2025-09-18 13 mo ago modified 2026-10-03 37 d ago also EUVD-2025-29898
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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---
Patch / fix
- Linux Linux 5.10.271, 5.15.222, 5.19.17, 6.0.3, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.3-1
debian advisories DEBIAN-CVE-2022-50406
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gke Ubuntu 22.04 LTS 5.15.0-1115.121
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1113.117
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1111.116
- linux-azure Ubuntu 22.04 LTS 5.15.0-1125.134
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1102.110
ubuntu advisories UBUNTU-CVE-2022-50406
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-513.5.1.el8_9
- perf RHEL 8 4.18.0-513.5.1.el8_9
- bpftool RHEL 8 4.18.0-513.5.1.el8_9
- kernel-core RHEL 8 4.18.0-513.5.1.el8_9
- kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
- python3-perf RHEL 8 4.18.0-513.5.1.el8_9
- kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
- kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9
red hat advisories RHSA-2025:23960RHSA-2025:23947RHSA-2025:23463RHSA-2025:23445RHSA-2025:22998RHSA-2025:21136
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.109.1
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.109.1
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.124.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.124.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.124.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.124.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.124.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.124.1.150500.6.59.1
suse advisories SUSE-SU-2025:3761-1SUSE-SU-2025:03615-1SUSE-SU-2025:03614-1
- git.kernel.org/stable/c/76a9234cb66479e9d02b15fd0f3e349cb2320279 commit
- git.kernel.org/stable/c/169adb79cfd59250a5b1f68cdc69e7287fc5a0ce commit
- git.kernel.org/stable/c/82c66c46f73b88be74c869e2cbfef45281adf3c6 commit
- git.kernel.org/stable/c/7308591d9c7787aec58f6a01a7823f14e90db7a2 commit
- git.kernel.org/stable/c/3d5f3ba1ac28059bdf7000cae2403e4e984308d2 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50406 updated cvss 6.5
kernel: iomap: iomap: fix memory corruption when recording errors during writeback
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9fixed: vendor fix RHSA-2023:7077
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.153.1.el9_0, kernel-devel-matched 5.14.0-70.153.1.el9_0, kernel-debug-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.153.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.153.1.el9_0, +2 morefixed: vendor fix RHSA-2025:21091
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.146.1.el9_2, rtla 5.14.0-284.146.1.el9_2, kernel-devel-matched 5.14.0-284.146.1.el9_2, kernel-64k-devel-matched 5.14.0-284.146.1.el9_2, kernel-debug-devel-matched 5.14.0-284.146.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.146.1.el9_2, +5 morefixed: vendor fix RHSA-2025:21051
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 morefixed: vendor fix RHSA-2023:7077
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.178.1.el8_2, kernel 4.18.0-193.178.1.el8_2, bpftool 4.18.0-193.178.1.el8_2, kernel-core 4.18.0-193.178.1.el8_2, kernel-tools 4.18.0-193.178.1.el8_2, python3-perf 4.18.0-193.178.1.el8_2, +8 morefixed: vendor fix RHSA-2025:23445
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.182.1.el8_4, kernel 4.18.0-305.182.1.el8_4, bpftool 4.18.0-305.182.1.el8_4, kernel-core 4.18.0-305.182.1.el8_4, kernel-tools 4.18.0-305.182.1.el8_4, python3-perf 4.18.0-305.182.1.el8_4, +8 morefixed: vendor fix RHSA-2025:23463
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +15 morefixed: vendor fix RHSA-2025:21084
show 11 moreshow fewer
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.122.1.el8_8, kernel 4.18.0-477.122.1.el8_8, bpftool 4.18.0-477.122.1.el8_8, kernel-core 4.18.0-477.122.1.el8_8, kernel-tools 4.18.0-477.122.1.el8_8, python3-perf 4.18.0-477.122.1.el8_8, +9 morefixed: vendor fix RHSA-2025:22998
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.153.1.el9_0, bpftool 5.14.0-70.153.1.el9_0, kernel-core 5.14.0-70.153.1.el9_0, kernel-tools 5.14.0-70.153.1.el9_0, python3-perf 5.14.0-70.153.1.el9_0, kernel-modules 5.14.0-70.153.1.el9_0, +14 morefixed: vendor fix RHSA-2025:21091
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.146.1.el9_2, kernel 5.14.0-284.146.1.el9_2, kernel-64k 5.14.0-284.146.1.el9_2, kernel-core 5.14.0-284.146.1.el9_2, kernel-tools 5.14.0-284.146.1.el9_2, python3-perf 5.14.0-284.146.1.el9_2, +28 morefixed: vendor fix RHSA-2025:21051
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.182.1.el8_4, kernel 4.18.0-305.182.1.el8_4, bpftool 4.18.0-305.182.1.el8_4, kernel-core 4.18.0-305.182.1.el8_4, kernel-tools 4.18.0-305.182.1.el8_4, python3-perf 4.18.0-305.182.1.el8_4, +8 morefixed: vendor fix RHSA-2025:23463
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +8 morefixed: vendor fix RHSA-2025:21084
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.122.1.el8_8, kernel 4.18.0-477.122.1.el8_8, bpftool 4.18.0-477.122.1.el8_8, kernel-core 4.18.0-477.122.1.el8_8, kernel-tools 4.18.0-477.122.1.el8_8, python3-perf 4.18.0-477.122.1.el8_8, +8 morefixed: vendor fix RHSA-2025:22998
-
Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt 3.10.0-1160.144.1.rt56.1296.el7, kernel-rt-trace 3.10.0-1160.144.1.rt56.1296.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.144.1.rt56.1296.el7fixed: vendor fix RHSA-2025:23960
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules-extra 5.14.0-70.153.1.rt21.225.el9_0, +2 morefixed: vendor fix RHSA-2025:21136
-
Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-modules 5.14.0-284.146.1.rt14.431.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, +6 morefixed: vendor fix RHSA-2025:21128
-
Red Hat Enterprise Linux Server (v. 7 ELS) perf 3.10.0-1160.144.1.el7, kernel 3.10.0-1160.144.1.el7, bpftool 3.10.0-1160.144.1.el7, python-perf 3.10.0-1160.144.1.el7, kernel-kdump 3.10.0-1160.144.1.el7, kernel-tools 3.10.0-1160.144.1.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debuginfo-common-ppc64 3.10.0-1160.144.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.144.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.144.1.el7fixed: vendor fix RHSA-2025:23947
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
- git.kernel.org /stable/c/76a9234cb66479e9d02b15fd0f3e349cb2320279
- git.kernel.org /stable/c/169adb79cfd59250a5b1f68cdc69e7287fc5a0ce
-
git.kernel.org
/stable/c/82c66c46f73b88be74c869e2cbfef45281adf3c6
patch
-
git.kernel.org
/stable/c/7308591d9c7787aec58f6a01a7823f14e90db7a2
patch
-
git.kernel.org
/stable/c/3d5f3ba1ac28059bdf7000cae2403e4e984308d2
patch
Sources
- CVE List CVE-2022-50406
- NVD CVE-2022-50406
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.