CVE-2022-49395 json
um: Fix out-of-bounds read in LDT setup
published 2025-02-26 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-54834
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
um: Fix out-of-bounds read in LDT setup
syscall_stub_data() expects the data_count parameter to be the number of longs, not bytes.
================================================================== BUG: KASAN: stack-out-of-bounds in syscall_stub_data+0x70/0xe0 Read of size 128 at addr 000000006411f6f0 by task swapper/1
CPU: 0 PID: 1 Comm: swapper Not tainted 5.18.0+ #18 Call Trace: show_stack.cold+0x166/0x2a7 __dump_stack+0x3a/0x43 dump_stack_lvl+0x1f/0x27 print_report.cold+0xdb/0xf81 kasan_report+0x119/0x1f0 kasan_check_range+0x3a3/0x440 memcpy+0x52/0x140 syscall_stub_data+0x70/0xe0 write_ldt_entry+0xac/0x190 init_new_ldt+0x515/0x960 init_new_context+0x2c4/0x4d0 mm_init.constprop.0+0x5ed/0x760 mm_alloc+0x118/0x170 0x60033f48 do_one_initcall+0x1d7/0x860 0x60003e7b kernel_init+0x6e/0x3d4 new_thread_handler+0x1e7/0x2c0
The buggy address belongs to stack of task swapper/1 and is located at offset 64 in frame: init_new_ldt+0x0/0x960
This frame has 2 objects: [32, 40) 'addr' [64, 80) 'desc' ==================================================================
Patch / fix
- Linux Linux 4.9.318, 4.14.283, 4.19.247, 5.4.198, 5.10.121, 5.15.46, 5.17.14, 5.18.3, 5.19
- linux Debian 14, Debian 13, Debian 12 5.18.5-1
debian advisories DEBIAN-CVE-2022-49395
- linux Ubuntu 18.04 LTS 4.15.0-192.203
- linux Ubuntu 20.04 LTS 5.4.0-126.142
- linux Ubuntu 22.04 LTS 5.15.0-47.51
- linux-aws Ubuntu 18.04 LTS 4.15.0-1140.151
- linux-aws Ubuntu 20.04 LTS 5.4.0-1085.92
- linux-aws Ubuntu 22.04 LTS 5.15.0-1019.23
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1089.97
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1017.23
ubuntu advisories UBUNTU-CVE-2022-49395
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-553.56.1.el8_10
- perf RHEL 8 4.18.0-553.56.1.el8_10
- bpftool RHEL 8 4.18.0-553.56.1.el8_10
- kernel-core RHEL 8 4.18.0-553.56.1.el8_10
- kernel-tools RHEL 8 4.18.0-553.56.1.el8_10
- python3-perf RHEL 8 4.18.0-553.56.1.el8_10
- kernel-modules RHEL 8 4.18.0-553.56.1.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.56.1.el8_10
red hat advisories RHSA-2025:13135RHSA-2025:11570RHSA-2025:11045RHSA-2025:10830RHSA-2025:10828RHSA-2025:10829
- kernel-syms SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.255.1
- kernel-source SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.255.1
- kernel-default SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS, SLE Live Patching 12 SP5 4.12.14-122.255.1
- kgraft-patch-SLE12-SP5_Update_67 SLE Live Patching 12 SP5 1-8.5.1
suse advisories SUSE-SU-2025:1293-1
- kernel AlmaLinux 8 4.18.0-553.56.1.el8_10
- perf AlmaLinux 8 4.18.0-553.56.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.56.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.56.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.56.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.56.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.56.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.56.1.el8_10
almalinux advisories ALSA-2025:8743ALSA-2025:8744
- kernel-rt Rocky Linux 8 4.18.0-553.56.1.rt7.397.el8_10
- kernel Rocky Linux 8 4.18.0-553.56.1.el8_10
rocky linux advisories RLSA-2025:8744RLSA-2025:8743
- git.kernel.org/stable/c/668ca34a428d6ffc0f99a1a6a9b661a288d4183b commit
- git.kernel.org/stable/c/ef1dc929a1e5fa1b2d842256db9fb8710d3be910 commit
- git.kernel.org/stable/c/3549ab4b962cf619e8c55484a0d870a34b3f845f commit
- git.kernel.org/stable/c/9caad70819aef3431abaf73ba5163b55b161aba0 commit
- git.kernel.org/stable/c/cf0dabc37446c5ee538ae7b4c467ab0e53fa5463 commit
- git.kernel.org/stable/c/10995a382271254bd276627ec74136da4a23c4a6 commit
- git.kernel.org/stable/c/24ca648bf5f72ed8878cf09b5d4431935779681e commit
- git.kernel.org/stable/c/91e5ba2af2d729d5126aefd5aa3eadc69b8426e5 commit
- git.kernel.org/stable/c/2a4a62a14be1947fa945c5c11ebf67326381a568 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-49395 updated cvss 6.0
kernel: um: Fix out-of-bounds read in LDT setup
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.81.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.81.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.81.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.81.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.81.1.el9_4fixed: vendor fix RHSA-2025:13135
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.138.1.el9_0, kernel-devel-matched 5.14.0-70.138.1.el9_0, kernel-debug-devel-matched 5.14.0-70.138.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.138.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.138.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.138.1.el9_0, +2 morefixed: vendor fix RHSA-2025:10830
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.125.1.el9_2, rtla 5.14.0-284.125.1.el9_2, kernel-devel-matched 5.14.0-284.125.1.el9_2, kernel-64k-devel-matched 5.14.0-284.125.1.el9_2, kernel-debug-devel-matched 5.14.0-284.125.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.125.1.el9_2, +5 morefixed: vendor fix RHSA-2025:11045
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.81.1.el9_4, perf 5.14.0-427.81.1.el9_4, rtla 5.14.0-427.81.1.el9_4, kernel-devel-matched 5.14.0-427.81.1.el9_4, kernel-64k-devel-matched 5.14.0-427.81.1.el9_4, kernel-debug-devel-matched 5.14.0-427.81.1.el9_4, +6 morefixed: vendor fix RHSA-2025:13135
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.56.1.el8_10, kernel 4.18.0-553.56.1.el8_10, bpftool 4.18.0-553.56.1.el8_10, kernel-core 4.18.0-553.56.1.el8_10, kernel-tools 4.18.0-553.56.1.el8_10, python3-perf 4.18.0-553.56.1.el8_10, +15 morefixed: vendor fix RHSA-2025:8743
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.156.1.el8_2, kernel 4.18.0-193.156.1.el8_2, bpftool 4.18.0-193.156.1.el8_2, kernel-core 4.18.0-193.156.1.el8_2, kernel-tools 4.18.0-193.156.1.el8_2, python3-perf 4.18.0-193.156.1.el8_2, +8 morefixed: vendor fix RHSA-2025:10179
show 18 moreshow fewer
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.153.1.el8_6, kernel 4.18.0-372.153.1.el8_6, bpftool 4.18.0-372.153.1.el8_6, kernel-core 4.18.0-372.153.1.el8_6, kernel-tools 4.18.0-372.153.1.el8_6, python3-perf 4.18.0-372.153.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.153.1.el8_6, kernel 4.18.0-372.153.1.el8_6, bpftool 4.18.0-372.153.1.el8_6, kernel-core 4.18.0-372.153.1.el8_6, kernel-tools 4.18.0-372.153.1.el8_6, python3-perf 4.18.0-372.153.1.el8_6, +15 morefixed: vendor fix RHSA-2025:11570
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.100.1.el8_8, kernel 4.18.0-477.100.1.el8_8, bpftool 4.18.0-477.100.1.el8_8, kernel-core 4.18.0-477.100.1.el8_8, kernel-tools 4.18.0-477.100.1.el8_8, python3-perf 4.18.0-477.100.1.el8_8, +9 morefixed: vendor fix RHSA-2025:10211
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.138.1.el9_0, bpftool 5.14.0-70.138.1.el9_0, kernel-core 5.14.0-70.138.1.el9_0, kernel-tools 5.14.0-70.138.1.el9_0, python3-perf 5.14.0-70.138.1.el9_0, kernel-modules 5.14.0-70.138.1.el9_0, +14 morefixed: vendor fix RHSA-2025:10830
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.125.1.el9_2, kernel 5.14.0-284.125.1.el9_2, kernel-64k 5.14.0-284.125.1.el9_2, kernel-core 5.14.0-284.125.1.el9_2, kernel-tools 5.14.0-284.125.1.el9_2, python3-perf 5.14.0-284.125.1.el9_2, +28 morefixed: vendor fix RHSA-2025:11045
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.81.1.el9_4, kernel 5.14.0-427.81.1.el9_4, kernel-64k 5.14.0-427.81.1.el9_4, kernel-core 5.14.0-427.81.1.el9_4, kernel-tools 5.14.0-427.81.1.el9_4, python3-perf 5.14.0-427.81.1.el9_4, +28 morefixed: vendor fix RHSA-2025:13135
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.153.1.el8_6, kernel 4.18.0-372.153.1.el8_6, bpftool 4.18.0-372.153.1.el8_6, kernel-core 4.18.0-372.153.1.el8_6, kernel-tools 4.18.0-372.153.1.el8_6, python3-perf 4.18.0-372.153.1.el8_6, +8 morefixed: vendor fix RHSA-2025:11570
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.100.1.el8_8, kernel 4.18.0-477.100.1.el8_8, bpftool 4.18.0-477.100.1.el8_8, kernel-core 4.18.0-477.100.1.el8_8, kernel-tools 4.18.0-477.100.1.el8_8, python3-perf 4.18.0-477.100.1.el8_8, +8 morefixed: vendor fix RHSA-2025:10211
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.56.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.56.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.56.1.el8_10fixed: vendor fix RHSA-2025:8743
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-kvm 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-core 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-modules 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-debug-kvm 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-debug-core 4.18.0-553.56.1.rt7.397.el8_10, +4 morefixed: vendor fix RHSA-2025:8744
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-kvm 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-kvm 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-core 5.14.0-70.138.1.rt21.210.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-core 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-modules 5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-modules-extra 5.14.0-70.138.1.rt21.210.el9_0, +2 morefixed: vendor fix RHSA-2025:10829
-
Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-core 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-modules 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-core 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-modules-core 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-modules 5.14.0-284.125.1.rt14.410.el9_2, +4 morefixed: vendor fix RHSA-2025:10527
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.81.1.el9_4, kernel-rt-core 5.14.0-427.81.1.el9_4, kernel-rt-modules 5.14.0-427.81.1.el9_4, kernel-rt-debug-core 5.14.0-427.81.1.el9_4, kernel-rt-modules-core 5.14.0-427.81.1.el9_4, kernel-rt-debug-modules 5.14.0-427.81.1.el9_4, +4 morefixed: vendor fix RHSA-2025:13135
-
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-kvm 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-core 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-modules 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-kvm 5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-core 5.14.0-284.125.1.rt14.410.el9_2, +6 morefixed: vendor fix RHSA-2025:10527
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.81.1.el9_4, kernel-rt-kvm 5.14.0-427.81.1.el9_4, kernel-rt-core 5.14.0-427.81.1.el9_4, kernel-rt-modules 5.14.0-427.81.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.81.1.el9_4, kernel-rt-debug-core 5.14.0-427.81.1.el9_4, +6 morefixed: vendor fix RHSA-2025:13135
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-core 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-modules 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-debug-core 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-debug-modules 4.18.0-553.56.1.rt7.397.el8_10, kernel-rt-modules-extra 4.18.0-553.56.1.rt7.397.el8_10, +2 morefixed: vendor fix RHSA-2025:8744
-
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
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
git.kernel.org
/stable/c/668ca34a428d6ffc0f99a1a6a9b661a288d4183b
patch
-
git.kernel.org
/stable/c/ef1dc929a1e5fa1b2d842256db9fb8710d3be910
patch
-
git.kernel.org
/stable/c/3549ab4b962cf619e8c55484a0d870a34b3f845f
patch
-
git.kernel.org
/stable/c/9caad70819aef3431abaf73ba5163b55b161aba0
patch
-
git.kernel.org
/stable/c/cf0dabc37446c5ee538ae7b4c467ab0e53fa5463
patch
-
git.kernel.org
/stable/c/10995a382271254bd276627ec74136da4a23c4a6
patch
-
git.kernel.org
/stable/c/24ca648bf5f72ed8878cf09b5d4431935779681e
patch
-
git.kernel.org
/stable/c/91e5ba2af2d729d5126aefd5aa3eadc69b8426e5
patch
-
git.kernel.org
/stable/c/2a4a62a14be1947fa945c5c11ebf67326381a568
patch
Sources
- CVE List CVE-2022-49395
- NVD CVE-2022-49395
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.