Description
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'
==================================================================
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 2.6.15 | 4.9.318 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.18.5-1 | — |
| Debian 13 | linux | 5.18.5-1 | — |
| Debian 12 | linux | 5.18.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux | 5.15.0-47.51 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1019.23 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1019.24 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1017.23 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1015.18 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1002.4 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1013.15 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1015.20 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1017.21 | — |
| Ubuntu 22.04 LTS | linux-lowlatency | 5.15.0-47.53 | — |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1007.7 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1017.22 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1014.16 | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-126.142 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1085.92 | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1019.23~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1091.96 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1019.24~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1046.51 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1089.97 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1017.23~20.04.2 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-48.54~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1033.37 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1015.20~20.04.2 | — |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1004.6 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1075.80 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1083.91 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1017.22~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1070.80 | — |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1018.21~20.04.1 | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-192.203 | — |
| Ubuntu 18.04 LTS | linux-aws | 4.15.0-1140.151 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1085.92~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-4.15 | 4.15.0-1150.165 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1091.96~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-4.15 | 4.15.0-1135.151 | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1089.97~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-126.142~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1033.37~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-kvm | 4.15.0-1126.131 | — |
| Ubuntu 18.04 LTS | linux-oracle | 4.15.0-1105.116 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1083.91~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1070.80~18.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1020.20 | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1085.92+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1091.96+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1061.69 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1089.97+fips1 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-aws-fips | 4.15.0-2079.84 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-azure-fips | 4.15.0-2060.66 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips | 4.15.0-1097.108 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-gcp-fips | 4.15.0-2044.49 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux-aws-hwe | 4.15.0-1140.151~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1150.165~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-gcp | 4.15.0-1135.151~16.04.2 | — |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-192.203~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-oracle | 4.15.0-1105.116~16.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux +2 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-azure | 4.15.0-1150.165~14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | kernel-rt +12 | 4.18.0-553.56.1.rt7.397.el8_10 | RHSA-2025:8744 |
| RHEL 8 | perf +26 | 4.18.0-553.56.1.el8_10 | RHSA-2025:8743 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | bpftool | 7.3.0-427.81.1.el9_4 | RHSA-2025:13135 |
| RHEL 9.4 EUS | rv +64 | 5.14.0-427.81.1.el9_4 | RHSA-2025:13135 |
| RHEL 9.2 E4S | bpftool | 7.0.0-284.125.1.el9_2 | RHSA-2025:11045 |
| RHEL 9.2 E4S | kernel-rt +14 | 5.14.0-284.125.1.rt14.410.el9_2 | RHSA-2025:10527 |
| RHEL 9.2 E4S | perf +47 | 5.14.0-284.125.1.el9_2 | RHSA-2025:11045 |
| RHEL 9.0 E4S | kernel-rt +12 | 5.14.0-70.138.1.rt21.210.el9_0 | RHSA-2025:10829 |
| RHEL 9.0 E4S | perf +28 | 5.14.0-70.138.1.el9_0 | RHSA-2025:10830 |
| RHEL 8.8 TUS | perf +17 | 4.18.0-477.100.1.el8_8 | RHSA-2025:10211 |
| RHEL 8.8 E4S | perf +18 | 4.18.0-477.100.1.el8_8 | RHSA-2025:10211 |
| RHEL 8.6 TUS | perf +17 | 4.18.0-372.153.1.el8_6 | RHSA-2025:11570 |
| RHEL 8.6 E4S | perf +25 | 4.18.0-372.153.1.el8_6 | RHSA-2025:11570 |
| RHEL 8.6 AUS | perf +17 | 4.18.0-372.153.1.el8_6 | RHSA-2025:11570 |
| RHEL 8.4 EUS Long Life | perf +17 | 4.18.0-305.162.1.el8_4 | RHSA-2025:10828 |
| RHEL 8.4 AUS | perf +17 | 4.18.0-305.162.1.el8_4 | RHSA-2025:10828 |
| RHEL 8.2 AUS | perf +17 | 4.18.0-193.156.1.el8_2 | RHSA-2025:10179 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | kernel-rt +9 | 4.18.0-553.56.1.rt7.397.el8_10 | ALSA-2025:8744 |
| AlmaLinux 8 | perf +24 | 4.18.0-553.56.1.el8_10 | ALSA-2025:8743 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | kernel | 4.18.0-553.56.1.el8_10 | RLSA-2025:8743 |
| Rocky Linux 8 | kernel-rt | 4.18.0-553.56.1.rt7.397.el8_10 | RLSA-2025:8744 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | kernel-syms +2 | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Live Patching 12 SP5 | kernel-default | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SLE Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_67 | 1-8.5.1 | SUSE-SU-2025:1293-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | perf +19 | 4.18.0-553.56.1.el8_10 | ELSA-2025-8743 |
Advisories 18
- RHSA-2025:13135 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2025:10829 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2025:10830 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2025:10828 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ALSA-2025:8743 Moderate: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:8744 Moderate: kernel-rt security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:10179 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Aug 16, 2026
- RHSA-2025:11570 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Aug 6, 2026
- RHSA-2025:8744 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:8743 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:11045 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:10527 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:10211 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- SUSE-SU-2025:1293-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1271 Linux Kernel: Schwachstelle ermöglicht Denial of Service und Offenlegung von Informationen BSI CERT-Bund (WID) · Aug 5, 2025
- RLSA-2025:8744 Moderate: kernel-rt security update Rocky Linux Security Advisories · Jul 29, 2025
- RLSA-2025:8743 Moderate: kernel security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-8743 Moderate: kernel security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 10, 2025
References
- https://git.kernel.org/stable/c/668ca34a428d6ffc0f99a1a6a9b661a288d4183b
- https://git.kernel.org/stable/c/ef1dc929a1e5fa1b2d842256db9fb8710d3be910
- https://git.kernel.org/stable/c/3549ab4b962cf619e8c55484a0d870a34b3f845f
- https://git.kernel.org/stable/c/9caad70819aef3431abaf73ba5163b55b161aba0
- https://git.kernel.org/stable/c/cf0dabc37446c5ee538ae7b4c467ab0e53fa5463
- https://git.kernel.org/stable/c/10995a382271254bd276627ec74136da4a23c4a6
- https://git.kernel.org/stable/c/24ca648bf5f72ed8878cf09b5d4431935779681e
- https://git.kernel.org/stable/c/91e5ba2af2d729d5126aefd5aa3eadc69b8426e5
- https://git.kernel.org/stable/c/2a4a62a14be1947fa945c5c11ebf67326381a568