Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: remove BUG() after failure to insert delayed dir index item
Instead of calling BUG() when we fail to insert a delayed dir index item
into the delayed node's tree, we can just release all the resources we
have allocated/acquired before and return the error to the caller. This is
fine because all existing call chains undo anything they have done before
calling btrfs_insert_delayed_dir_index() or BUG_ON (when creating pending
snapshots in the transaction commit path).
So remove the BUG() call and do proper error handling.
This relates to a syzbot report linked below, but does not fix it because
it only prevents hitting a BUG(), it does not fix the issue where somehow
we attempt to use twice the same index number for different index items.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.15.149 – < 5.16, 6.4.12 – < 6.5, 6.5 | 5.16 |
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 | 6.6.8-1 | — |
| Debian 13 | linux | 6.6.8-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +46 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-nvidia-6.5 | 6.5.0-1014.14 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux-aws-5.15 +10 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SLES 15 SP3 | kernel-64kb +6 | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SLES 15 SP3 | kernel-syms | 5.3.18-150300.59.153.1 | SUSE-SU-2024:0857-1 |
| SLES 15 SP2 | kernel-default-base | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SLES 15 SP2 | kernel-docs +5 | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
Show 19 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.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLES for SAP 15 SP3 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SLES for SAP 15 SP3 | kernel-docs +4 | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLES for SAP 15 SP3 | kernel-syms | 5.3.18-150300.59.153.1 | SUSE-SU-2024:0857-1 |
| SLES for SAP 15 SP2 | kernel-default-base | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SLES for SAP 15 SP2 | kernel-docs +5 | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.76.1 | SUSE-SU-2024:1320-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.76.1 | SUSE-SU-2024:1320-1 |
| SLE Micro 5.2 | kernel-default | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLE Micro 5.2 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SLE Micro 5.2 | kernel-rt +1 | 5.3.18-150300.161.1 | SUSE-SU-2024:0856-1 |
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SLE Micro 5.1 | kernel-rt +1 | 5.3.18-150300.161.1 | SUSE-SU-2024:0856-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_13 | 1-150500.11.3.1 | SUSE-SU-2024:1466-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_12 | 1-150500.11.7.1 | SUSE-SU-2024:1480-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_25 | 1-150400.9.5.1 | SUSE-SU-2024:1321-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_42 | 1-150300.7.3.2 | SUSE-SU-2024:0857-1 |
| SLE Live Patching 15 SP2 | kernel-default | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SLE Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_46 | 1-150200.5.3.2 | SUSE-SU-2024:0926-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SLE HPC 15 SP3 | kernel-64kb +5 | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SLE HPC 15 SP3 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SLE HPC 15 SP3 | kernel-syms | 5.3.18-150300.59.153.1 | SUSE-SU-2024:0857-1 |
| SLE HPC 15 SP2 | kernel-default-base | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SLE HPC 15 SP2 | kernel-docs +5 | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE Enterprise Storage 7.1 | kernel-64kb +5 | 5.3.18-150300.59.153.2 | SUSE-SU-2024:0857-1 |
| SUSE Enterprise Storage 7.1 | kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 | SUSE-SU-2024:0857-1 |
| SUSE Enterprise Storage 7.1 | kernel-syms | 5.3.18-150300.59.153.1 | SUSE-SU-2024:0857-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +10 | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | kernel-default | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| openSUSE Leap Micro 5.4 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| openSUSE Leap Micro 5.4 | kernel-rt | 5.14.21-150400.15.76.1 | SUSE-SU-2024:1320-1 |
| openSUSE Leap Micro 5.3 | kernel-default | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| openSUSE Leap Micro 5.3 | kernel-default-base | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| openSUSE Leap Micro 5.3 | kernel-rt | 5.14.21-150400.15.76.1 | SUSE-SU-2024:1320-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.56-82.125 | 1.0-0.amzn2023 | ALAS2023-2023-385 |
| Amazon Linux 2023 | perf +13 | 6.1.56-82.125.amzn2023 | ALAS2023-2023-385 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | No fix yet | — |
Advisories 10
- WID-SEC-2024-0534 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 3, 2026
- ALAS2023-2023-385 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 8, 2026
- SUSE-SU-2024:0926-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1320-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1480-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1490-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1466-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1321-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:0857-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:0856-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025