cve.bz

CVE-2022-50211 linux linux kernel: Out-of-bounds Read

7.1 highEPSS 0.3%Fix available

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

On this page
In the Linux kernel, the following vulnerability has been resolved: md-raid10: fix KASAN warning There's a KASAN warning in raid10_remove_disk when running the lvm test lvconvert-raid-reshape.sh. We fix this warning by verifying that the value "number" is valid. BUG: KASAN: slab-out-of-bounds in raid10_remove_disk+0x61/0x2a0 [raid10] Read of size 8 at addr ffff889108f3d300 by task mdX_raid10/124682 CPU: 3 PID: 124682 Comm: mdX_raid10 Not tainted 5.19.0-rc6 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x34/0x44 print_report.cold+0x45/0x57a ? __lock_text_start+0x18/0x18 ? raid10_remove_disk+0x61/0x2a0 [raid10] kasan_report+0xa8/0xe0 ? raid10_remove_disk+0x61/0x2a0 [raid10] raid10_remove_disk+0x61/0x2a0 [raid10] Buffer I/O error on dev dm-76, logical block 15344, async page read ? __mutex_unlock_slowpath.constprop.0+0x1e0/0x1e0 remove_and_add_spares+0x367/0x8a0 [md_mod] ? super_written+0x1c0/0x1c0 [md_mod] ? mutex_trylock+0xac/0x120 ? _raw_spin_lock+0x72/0xc0 ? _raw_spin_lock_bh+0xc0/0xc0 md_check_recovery+0x848/0x960 [md_mod] raid10d+0xcf/0x3360 [raid10] ? sched_clock_cpu+0x185/0x1a0 ? rb_erase+0x4d4/0x620 ? var_wake_function+0xe0/0xe0 ? psi_group_change+0x411/0x500 ? preempt_count_sub+0xf/0xc0 ? _raw_spin_lock_irqsave+0x78/0xc0 ? __lock_text_start+0x18/0x18 ? raid10_sync_request+0x36c0/0x36c0 [raid10] ? preempt_count_sub+0xf/0xc0 ? _raw_spin_unlock_irqrestore+0x19/0x40 ? del_timer_sync+0xa9/0x100 ? try_to_del_timer_sync+0xc0/0xc0 ? _raw_spin_lock_irqsave+0x78/0xc0 ? __lock_text_start+0x18/0x18 ? _raw_spin_unlock_irq+0x11/0x24 ? __list_del_entry_valid+0x68/0xa0 ? finish_wait+0xa3/0x100 md_thread+0x161/0x260 [md_mod] ? unregister_md_personality+0xa0/0xa0 [md_mod] ? _raw_spin_lock_irqsave+0x78/0xc0 ? prepare_to_wait_event+0x2c0/0x2c0 ? unregister_md_personality+0xa0/0xa0 [md_mod] kthread+0x148/0x180 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x1f/0x30 </TASK> Allocated by task 124495: kasan_save_stack+0x1e/0x40 __kasan_kmalloc+0x80/0xa0 setup_conf+0x140/0x5c0 [raid10] raid10_run+0x4cd/0x740 [raid10] md_run+0x6f9/0x1300 [md_mod] raid_ctr+0x2531/0x4ac0 [dm_raid] dm_table_add_target+0x2b0/0x620 [dm_mod] table_load+0x1c8/0x400 [dm_mod] ctl_ioctl+0x29e/0x560 [dm_mod] dm_compat_ctl_ioctl+0x7/0x20 [dm_mod] __do_compat_sys_ioctl+0xfa/0x160 do_syscall_64+0x90/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Last potentially related work creation: kasan_save_stack+0x1e/0x40 __kasan_record_aux_stack+0x9e/0xc0 kvfree_call_rcu+0x84/0x480 timerfd_release+0x82/0x140 L __fput+0xfa/0x400 task_work_run+0x80/0xc0 exit_to_user_mode_prepare+0x155/0x160 syscall_exit_to_user_mode+0x12/0x40 do_syscall_64+0x42/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Second to last potentially related work creation: kasan_save_stack+0x1e/0x40 __kasan_record_aux_stack+0x9e/0xc0 kvfree_call_rcu+0x84/0x480 timerfd_release+0x82/0x140 __fput+0xfa/0x400 task_work_run+0x80/0xc0 exit_to_user_mode_prepare+0x155/0x160 syscall_exit_to_user_mode+0x12/0x40 do_syscall_64+0x42/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 The buggy address belongs to the object at ffff889108f3d200 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 0 bytes to the right of 256-byte region [ffff889108f3d200, ffff889108f3d300) The buggy address belongs to the physical page: page:000000007ef2a34c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1108f3c head:000000007ef2a34c order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=2) raw: 4000000000010200 0000000000000000 dead000000000001 ffff889100042b40 raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff889108f3d200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff889108f3d280: 00 00 ---truncated---

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-50211 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-50211?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-50211?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-50211 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
Linux3.3 and later

Fixed in

ProductRelease lineFixed in
Linux4.94.9.326
Linux4.144.14.291
Linux4.194.19.256
Linux5.45.4.211
Linux5.105.10.137
Linux5.155.15.61
Linux5.185.18.18
Linux5.195.19.2
Linuxlater releases6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.0.2-1DEBIAN-CVE-2022-50211
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux4.15.0-197.208UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-aws4.15.0-1143.155UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1089.97~18.04.1UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1157.172UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1095.101~18.04.1UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1138.154UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1093.102~18.04.1UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-132.148~18.04.1UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1037.42~18.04.1UBUNTU-CVE-2022-50211
Ubuntu18.04:LTSlinux-kvm4.15.0-1129.134UBUNTU-CVE-2022-50211
54 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatrhel_aus:8.2::baseosperf, kernel, bpftool and 20 more0:4.18.0-193.168.1.el8_2RHSA-2025:15656
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.179.1.el8_4RHSA-2025:22752
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.162.1.el8_6RHSA-2025:17124
Red Hatrhel_e4s:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.162.1.el8_6RHSA-2025:17124
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.148.1.el9_0RHSA-2025:17159
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1kernel-64kb, kernel-docs, kernel-syms and 3 more5.3.18-150300.59.211.1SUSE-SU-2025:02308-1
SUSEEnterprise Storage 7.1kernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.215.1SUSE-SU-2025:02848-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 1 morekernel-default-base5.3.18-150300.59.215.1.150300.18.128.1SUSE-SU-2025:02848-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 2 morekernel-default-base5.3.18-150300.59.211.1.150300.18.126.1SUSE-SU-2025:02308-1
SUSEEnterprise Storage 7.1, Linux Enterprise Server 15 SP3-LTSS, Linux Enterprise Server for SAP Applications 15 SP3kernel-obs-build5.3.18-150300.59.212.1SUSE-SU-2025:02308-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.211.1SUSE-SU-2025:02308-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.215.1SUSE-SU-2025:02848-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 morekernel-default5.14.21-150400.24.170.2SUSE-SU-2025:02537-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-default, kernel-obs-build5.14.21-150400.24.170.2SUSE-SU-2025:02537-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.170.2.150400.24.86.2SUSE-SU-2025:02537-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morekernel-docs, kernel-syms, kernel-source5.14.21-150400.24.170.1SUSE-SU-2025:02537-1
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.113.1SUSE-SU-2025:02264-1
23 more for SUSE in the JSON and on SUSE's page.

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 severity for Red Hat Enterprise Linux because triggering the condition requires local privileges to manage storage configurations and perform device removal on software RAID 10 volumes. In typical Red Hat deployments, software RAID 10 is an optional configuration, and managing logical volumes or MD arrays is restricted to privileged administrators. An unprivileged user cannot directly interact with these disk replacement routines, which limits the overall blast radius to systems undergoing active RAID maintenance.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.140.1.rt56.1292.el7Fixed 2025-09-30RHSA-2025:17109
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.141.1.el7Fixed 2025-10-01RHSA-2025:17161
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.168.1.el8_2Fixed 2025-09-10RHSA-2025:15656
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.179.1.el8_4Fixed 2025-12-04RHSA-2025:22752
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.179.1.el8_4Fixed 2025-12-04RHSA-2025:22752
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.162.1.el8_6Fixed 2025-10-01RHSA-2025:17124
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.162.1.el8_6Fixed 2025-10-01RHSA-2025:17124
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.162.1.el8_6Fixed 2025-10-01RHSA-2025:17124
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.11.1.el9_2Fixed 2023-05-09RHSA-2023:2458
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.148.1.el9_0Fixed 2025-10-01RHSA-2025:17159
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.148.1.rt21.220.el9_0Fixed 2025-10-01RHSA-2025:17192
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtAffected
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-50211.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON