Description
In the Linux kernel, the following vulnerability has been resolved:
fbdev: smscufx: fix error handling code in ufx_usb_probe
The current error handling code in ufx_usb_probe have many unmatching
issues, e.g., missing ufx_free_usb_list, destroy_modedb label should
only include framebuffer_release, fb_dealloc_cmap only matches
fb_alloc_cmap.
My local syzkaller reports a memory leak bug:
memory leak in ufx_usb_probe
BUG: memory leak
unreferenced object 0xffff88802f879580 (size 128):
comm "kworker/0:7", pid 17416, jiffies 4295067474 (age 46.710s)
hex dump (first 32 bytes):
80 21 7c 2e 80 88 ff ff 18 d0 d0 0c 80 88 ff ff .!|.............
00 d0 d0 0c 80 88 ff ff e0 ff ff ff 0f 00 00 00 ................
backtrace:
[<ffffffff814c99a0>] kmalloc_trace+0x20/0x90 mm/slab_common.c:1045
[<ffffffff824d219c>] kmalloc include/linux/slab.h:553 [inline]
[<ffffffff824d219c>] kzalloc include/linux/slab.h:689 [inline]
[<ffffffff824d219c>] ufx_alloc_urb_list drivers/video/fbdev/smscufx.c:1873 [inline]
[<ffffffff824d219c>] ufx_usb_probe+0x11c/0x15a0 drivers/video/fbdev/smscufx.c:1655
[<ffffffff82d17927>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396
[<ffffffff82712f0d>] call_driver_probe drivers/base/dd.c:560 [inline]
[<ffffffff82712f0d>] really_probe+0x12d/0x390 drivers/base/dd.c:639
[<ffffffff8271322f>] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:778
[<ffffffff827132da>] driver_probe_device+0x2a/0x120 drivers/base/dd.c:808
[<ffffffff82713c27>] __device_attach_driver+0xf7/0x150 drivers/base/dd.c:936
[<ffffffff82710137>] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:427
[<ffffffff827136b5>] __device_attach+0x105/0x2d0 drivers/base/dd.c:1008
[<ffffffff82711d36>] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:487
[<ffffffff8270e242>] device_add+0x642/0xdc0 drivers/base/core.c:3517
[<ffffffff82d14d5f>] usb_set_configuration+0x8ef/0xb80 drivers/usb/core/message.c:2170
[<ffffffff82d2576c>] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238
[<ffffffff82d16ffc>] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293
[<ffffffff82712f0d>] call_driver_probe drivers/base/dd.c:560 [inline]
[<ffffffff82712f0d>] really_probe+0x12d/0x390 drivers/base/dd.c:639
[<ffffffff8271322f>] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:778
Fix this bug by rewriting the error handling code in ufx_usb_probe.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.4.223 – < 5.4.232, 5.10.153 – < 5.10.168, 5.15.77 – < 5.15.93, 4.9.332 – < 4.10, 4.14.298 – < 4.15, 4.19.264 – < 4.20, 6.0.7 – < 6.1, 6.1 | 5.4.232 |
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.1.11-1 | — |
| Debian 13 | linux | 6.1.11-1 | — |
| Debian 12 | linux | 6.1.11-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1017.19 | — |
| Ubuntu 24.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-72.79 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1036.40 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1038.45 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1038.45.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1034.42 | — |
| Ubuntu 22.04 LTS | linux-gke +1 | 5.15.0-1033.38 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1020.25 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1030.33 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1030.35 | — |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1025.25 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1035.41 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1029.31 | — |
| Ubuntu 22.04 LTS | linux-riscv +31 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-149.166 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1102.110 | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1036.40~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1108.114 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1038.45~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1064.70 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1105.114 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1034.42~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-72.79~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1049.54 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1030.35~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1017.18 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1091.97 | — |
| Ubuntu 20.04 LTS | linux-nvidia-tegra-5.15 | 5.15.0-1014.14~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1101.110 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1035.41~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1085.96 | — |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1033.37~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-xilinx-zynqmp | 5.4.0-1024.28 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1103.111~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1108.114~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1105.114~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-149.166~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1049.54~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1101.110~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1085.96~18.04.1 | — |
Show 7 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-intel-iot-realtime | 5.15.0-1028.33 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1038.41 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1102.110+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1108.114+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1077.86 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1105.114+fips1 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +5 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux-gcp +4 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-azure | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.103.1 | SUSE-SU-2025:01620-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.103.1.150500.6.49.1 | SUSE-SU-2025:01620-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | kernel-default-base | 5.14.21-150500.55.103.1.150500.6.49.1 | SUSE-SU-2025:01620-1 |
| SLES for SAP 15 SP5 | kernel-docs +4 | 5.14.21-150500.55.103.1 | SUSE-SU-2025:01620-1 |
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.103.1.150500.6.49.1 | SUSE-SU-2025:01620-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.94.1 | SUSE-SU-2025:01640-1 |
| SLE Micro 5.5 | kernel-source +1 | 5.14.21-150500.55.103.1 | SUSE-SU-2025:01620-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.118.1 | SUSE-SU-2025:1573-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.118.1 | SUSE-SU-2025:1573-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.103.1 | SUSE-SU-2025:01620-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_26 | 1-150500.11.3.1 | SUSE-SU-2025:01620-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_40 | 1-150400.9.3.1 | SUSE-SU-2025:01627-1 |
| SLE HPC 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.103.1 | SUSE-SU-2025:01620-1 |
| SLE HPC 15 SP5 | kernel-default-base | 5.14.21-150500.55.103.1.150500.6.49.1 | SUSE-SU-2025:01620-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.164.1.150400.24.82.1 | SUSE-SU-2025:01627-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.164.1 | SUSE-SU-2025:01627-1 |
Advisories 5
- WID-SEC-2025-0649 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 3, 2026
- SUSE-SU-2025:01640-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01620-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01627-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:1573-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://git.kernel.org/stable/c/3b3d3127f5b4291ae4caaf50f7b66089ad600480
- https://git.kernel.org/stable/c/3931014367ef31d26af65386a4ca496f50f0cfdf
- https://git.kernel.org/stable/c/64fa364ad3245508d393e16ed4886f92d7eb423c
- https://git.kernel.org/stable/c/1b4c08844628dfc8d72d3f51b657f2a5e63b7b4b
- https://git.kernel.org/stable/c/b76449ee75e21acfe9fa4c653d8598f191ed7d68