Description
In the Linux kernel, the following vulnerability has been resolved:
can: dev: can_restart: fix use after free bug
After calling netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the can_frame cf which aliases skb memory is accessed
after the netif_rx_ni() in:
stats->rx_bytes += cf->len;
Reordering the lines solves the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 2.6.31 | 4.4.254 |
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.10.12-1 | — |
| Debian 13 | linux | 5.10.12-1 | — |
| Debian 12 | linux | 5.10.12-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-67.75 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1039.41 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1041.43 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1038.41 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1034.35 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1039.42 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1030.33 | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-141.145 | — |
| Ubuntu 18.04 LTS | linux-aws | 4.15.0-1098.105 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1039.41~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-4.15 | 4.15.0-1112.125 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1041.43~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-4.15 | 4.15.0-1097.110 | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1038.41~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-67.75~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-kvm | 4.15.0-1089.91 | — |
| Ubuntu 18.04 LTS | linux-oracle | 4.15.0-1069.77 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1039.42~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1030.33~18.04.1 | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-204.236 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1123.137 | — |
| Ubuntu 16.04 LTS | linux-aws-hwe | 4.15.0-1098.105~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1112.124~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1097.110~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-142.146~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1089.98 | — |
| Ubuntu 16.04 LTS | linux-oracle | 4.15.0-1069.77~16.04.1 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 20.04 LTS | linux-aws-fips +2 | 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-1069.73+fips2 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1073.76+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1067.71~20.04.1 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-aws-fips | 4.15.0-2041.43 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-azure-fips | 4.15.0-2024.27 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips | 4.15.0-1057.65 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1057.63 | — |
| Ubuntu Pro 14.04 LTS | linux | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-aws | 4.4.0-1087.91 | — |
| Ubuntu Pro 14.04 LTS | linux-azure | 4.15.0-1112.124~14.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux-lts-xenial | 4.4.0-204.236~14.04.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | kernel-64kb +7 | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
| SLES 12 SP5 | kernel-syms +2 | 4.12.14-122.258.1 | SUSE-SU-2025:01600-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
| SLES for SAP 15 SP3 | kernel-docs +5 | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLE Micro 5.2 | kernel-default | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLE Micro 5.2 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
| SLE Micro 5.2 | kernel-rt +1 | 5.3.18-150300.208.1 | SUSE-SU-2025:1574-1 |
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
| SLE Micro 5.1 | kernel-rt +1 | 5.3.18-150300.208.1 | SUSE-SU-2025:1574-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_57 | 1-150300.7.3.1 | SUSE-SU-2025:01633-1 |
| SLE Live Patching 12 SP5 | kernel-default | 4.12.14-122.258.1 | SUSE-SU-2025:01600-1 |
| SLE Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_68 | 1-8.3.1 | SUSE-SU-2025:01600-1 |
| SLE HPC 15 SP3 | kernel-64kb +6 | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SLE HPC 15 SP3 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
| SUSE Enterprise Storage 7.1 | kernel-64kb +6 | 5.3.18-150300.59.204.1 | SUSE-SU-2025:01633-1 |
| SUSE Enterprise Storage 7.1 | kernel-default-base | 5.3.18-150300.59.204.1.150300.18.122.1 | SUSE-SU-2025:01633-1 |
Advisories 4
- WID-SEC-2025-0861 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- SUSE-SU-2025:01633-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:1574-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:01600-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://git.kernel.org/stable/c/260925a0b7d2da5449f8ecfd02c1405e0c8a45b8
- https://git.kernel.org/stable/c/bbc6847b9b8978b520f62fbc7c68c54ef0f8d282
- https://git.kernel.org/stable/c/92668d28c7e6a7a2ba07df287669ffcdf650c421
- https://git.kernel.org/stable/c/08ab951787098ae0b6c0364aeea7a8138226f234
- https://git.kernel.org/stable/c/ac48ef15826e83f4206c47add61072e8fc76d328
- https://git.kernel.org/stable/c/593c072b7b3c4d7044416eb039d9ad706bedd67a
- https://git.kernel.org/stable/c/03f16c5075b22c8902d2af739969e878b0879c94