Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: prevent copying too big compressed lzo segment
Compressed length can be corrupted to be a lot larger than memory
we have allocated for buffer.
This will cause memcpy in copy_compressed_segment to write outside
of allocated memory.
This mostly results in stuck read syscall but sometimes when using
btrfs send can get #GP
kernel: general protection fault, probably for non-canonical address 0x841551d5c1000: 0000 [#1] PREEMPT SMP NOPTI
kernel: CPU: 17 PID: 264 Comm: kworker/u256:7 Tainted: P OE 5.17.0-rc2-1 #12
kernel: Workqueue: btrfs-endio btrfs_work_helper [btrfs]
kernel: RIP: 0010:lzo_decompress_bio (./include/linux/fortify-string.h:225 fs/btrfs/lzo.c:322 fs/btrfs/lzo.c:394) btrfs
Code starting with the faulting instruction
===========================================
0:* 48 8b 06 mov (%rsi),%rax <-- trapping instruction
3: 48 8d 79 08 lea 0x8(%rcx),%rdi
7: 48 83 e7 f8 and $0xfffffffffffffff8,%rdi
b: 48 89 01 mov %rax,(%rcx)
e: 44 89 f0 mov %r14d,%eax
11: 48 8b 54 06 f8 mov -0x8(%rsi,%rax,1),%rdx
kernel: RSP: 0018:ffffb110812efd50 EFLAGS: 00010212
kernel: RAX: 0000000000001000 RBX: 000000009ca264c8 RCX: ffff98996e6d8ff8
kernel: RDX: 0000000000000064 RSI: 000841551d5c1000 RDI: ffffffff9500435d
kernel: RBP: ffff989a3be856c0 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000001000 R12: ffff98996e6d8000
kernel: R13: 0000000000000008 R14: 0000000000001000 R15: 000841551d5c1000
kernel: FS: 0000000000000000(0000) GS:ffff98a09d640000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00001e9f984d9ea8 CR3: 000000014971a000 CR4: 00000000003506e0
kernel: Call Trace:
kernel: <TASK>
kernel: end_compressed_bio_read (fs/btrfs/compression.c:104 fs/btrfs/compression.c:1363 fs/btrfs/compression.c:323) btrfs
kernel: end_workqueue_fn (fs/btrfs/disk-io.c:1923) btrfs
kernel: btrfs_work_helper (fs/btrfs/async-thread.c:326) btrfs
kernel: process_one_work (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:212 ./include/trace/events/workqueue.h:108 kernel/workqueue.c:2312)
kernel: worker_thread (./include/linux/list.h:292 kernel/workqueue.c:2455)
kernel: ? process_one_work (kernel/workqueue.c:2397)
kernel: kthread (kernel/kthread.c:377)
kernel: ? kthread_complete_and_exit (kernel/kthread.c:332)
kernel: ret_from_fork (arch/x86/entry/entry_64.S:301)
kernel: </TASK>
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.15 | 5.15.26 |
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.16.12-1 | — |
| Debian 13 | linux | 5.16.12-1 | — |
| Debian 12 | linux | 5.16.12-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +31 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +27 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1008.11~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +4 | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3587-1, SUSE-SU-2024:3190-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLES 15 SP5 | kernel-syms +1 | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.97.1 | SUSE-SU-2024:3563-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.97.1 | SUSE-SU-2024:3563-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_10 | 14-150500.2.1 | SUSE-SU-2025:0489-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_19 +1 | 1-150500.11.3.2 | SUSE-SU-2024:3483-1, SUSE-SU-2024:3209-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_20 +1 | 1-150500.11.3.1 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3569-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_9 | 16-150500.2.1 | SUSE-SU-2025:0462-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_22 | 15-150400.2.1 | SUSE-SU-2025:0455-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_27 | 9-150400.2.1 | SUSE-SU-2025:0462-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_28 | 6-150400.2.1 | SUSE-SU-2025:0489-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_31 | 3-150400.2.1 | SUSE-SU-2025:0486-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_32 | 1-150400.9.3.1 | SUSE-SU-2024:3547-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +2 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
| SUSE Real Time Module 15 SP5 | kernel-syms-rt | 5.14.21-150500.13.67.1 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.136.1.150400.24.66.1 | SUSE-SU-2024:3547-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.136.1 | SUSE-SU-2024:3547-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +3 | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-64kb +6 | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3587-1, SUSE-SU-2024:3190-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-rt +2 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
| openSUSE Leap 15.5 | kernel-syms-rt | 5.14.21-150500.13.67.1 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| openSUSE Leap Micro 5.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3569-1, SUSE-SU-2024:3483-1 |
| openSUSE Leap Micro 5.5 | kernel-rt | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3592-1, SUSE-SU-2024:3209-1 |
Advisories 13
- SUSE-SU-2024:3483-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0489-1 Security update for the Linux Kernel (Live Patch 10 for SLE 15 SP5) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0455-1 Security update for the Linux Kernel (Live Patch 22 for SLE 15 SP4) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3209-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0486-1 Security update for the Linux Kernel (Live Patch 31 for SLE 15 SP4) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3592-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3587-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3547-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3190-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3569-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1898 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Aug 6, 2025
- SUSE-SU-2025:0462-1 Security update for the Linux Kernel (Live Patch 9 for SLE 15 SP5) SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:3563-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025