Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: wfx: fix memory leak when starting AP
Kmemleak reported this error:
unreferenced object 0xd73d1180 (size 184):
comm "wpa_supplicant", pid 1559, jiffies 13006305 (age 964.245s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 1e 00 01 00 00 00 00 00 ................
backtrace:
[<5ca11420>] kmem_cache_alloc+0x20c/0x5ac
[<127bdd74>] __alloc_skb+0x144/0x170
[<fb8a5e38>] __netdev_alloc_skb+0x50/0x180
[<0f9fa1d5>] __ieee80211_beacon_get+0x290/0x4d4 [mac80211]
[<7accd02d>] ieee80211_beacon_get_tim+0x54/0x18c [mac80211]
[<41e25cc3>] wfx_start_ap+0xc8/0x234 [wfx]
[<93a70356>] ieee80211_start_ap+0x404/0x6b4 [mac80211]
[<a4a661cd>] nl80211_start_ap+0x76c/0x9e0 [cfg80211]
[<47bd8b68>] genl_rcv_msg+0x198/0x378
[<453ef796>] netlink_rcv_skb+0xd0/0x130
[<6b7c977a>] genl_rcv+0x34/0x44
[<66b2d04d>] netlink_unicast+0x1b4/0x258
[<f965b9b6>] netlink_sendmsg+0x1e8/0x428
[<aadb8231>] ____sys_sendmsg+0x1e0/0x274
[<d2b5212d>] ___sys_sendmsg+0x80/0xb4
[<69954f45>] __sys_sendmsg+0x64/0xa8
unreferenced object 0xce087000 (size 1024):
comm "wpa_supplicant", pid 1559, jiffies 13006305 (age 964.246s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
backtrace:
[<9a993714>] __kmalloc_track_caller+0x230/0x600
[<f83ea192>] kmalloc_reserve.constprop.0+0x30/0x74
[<a2c61343>] __alloc_skb+0xa0/0x170
[<fb8a5e38>] __netdev_alloc_skb+0x50/0x180
[<0f9fa1d5>] __ieee80211_beacon_get+0x290/0x4d4 [mac80211]
[<7accd02d>] ieee80211_beacon_get_tim+0x54/0x18c [mac80211]
[<41e25cc3>] wfx_start_ap+0xc8/0x234 [wfx]
[<93a70356>] ieee80211_start_ap+0x404/0x6b4 [mac80211]
[<a4a661cd>] nl80211_start_ap+0x76c/0x9e0 [cfg80211]
[<47bd8b68>] genl_rcv_msg+0x198/0x378
[<453ef796>] netlink_rcv_skb+0xd0/0x130
[<6b7c977a>] genl_rcv+0x34/0x44
[<66b2d04d>] netlink_unicast+0x1b4/0x258
[<f965b9b6>] netlink_sendmsg+0x1e8/0x428
[<aadb8231>] ____sys_sendmsg+0x1e0/0x274
[<d2b5212d>] ___sys_sendmsg+0x80/0xb4
However, since the kernel is build optimized, it seems the stack is not
accurate. It appears the issue is related to wfx_set_mfp_ap(). The issue
is obvious in this function: memory allocated by ieee80211_beacon_get()
is never released. Fixing this leak makes kmemleak happy.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.10 | 6.1.83 |
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.7.12-1 | — |
| Debian 13 | linux | 6.7.12-1 | — |
| Debian 12 | linux | 6.1.85-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1079.81 | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu 24.04 LTS | linux-ibm +2 | 6.8.0-1006.6 | USN-6878-1, USN-6817-2, USN-6816-1 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-160.170 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1095.102 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1098.107 | USN-7829-3 |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1098.107.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1095.104 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1091.97 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1078.86 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-ibm +1 | 5.15.0-1089.92 | USN-7829-6, USN-7829-1 |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1090.96 | USN-7829-5 |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1089.94 | USN-7933-1 |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1090.91 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra | 5.15.0-1047.47 | USN-7829-6 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra-igx | 5.15.0-1036.36 | USN-7829-6 |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1092.98 | USN-7829-1 |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1059.63 | USN-7829-1 |
| Ubuntu 20.04 LTS | linux-gke +27 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
Show 6 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 24.04 LTS | linux-raspi-realtime | 6.8.0-2004.4 | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1002.2 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-intel-iot-realtime | 5.15.0-1087.89 | USN-7829-2 |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1094.103 | USN-7829-2 |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-aws-fips | 5.15.0-1095.102+fips1 | USN-7829-2 |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-azure-fips | 5.15.0-1098.107+fips1 | USN-7829-2 |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips | 5.15.0-160.170+fips1 | USN-7829-2 |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-gcp-fips | 5.15.0-1095.104+fips1 | USN-7829-2 |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux-aws-5.15 | 5.15.0-1095.102~20.04.1 | USN-7829-4 |
| Ubuntu Pro 20.04 LTS | linux-azure-5.15 | 5.15.0-1098.107~20.04.1 | USN-7829-3 |
| Ubuntu Pro 20.04 LTS | linux-gcp-5.15 | 5.15.0-1095.104~20.04.1 | USN-7829-3 |
| Ubuntu Pro 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-160.170~20.04.1 | USN-7829-1 |
| Ubuntu Pro 20.04 LTS | linux-ibm-5.15 | 5.15.0-1089.92~20.04.1 | USN-7829-1 |
| Ubuntu Pro 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1090.96~20.04.1 | USN-7829-5 |
| Ubuntu Pro 20.04 LTS | linux-nvidia-tegra-5.15 | 5.15.0-1047.47~20.04.1 | USN-7829-6 |
| Ubuntu Pro 20.04 LTS | linux-oracle-5.15 | 5.15.0-1092.98~20.04.1 | USN-7829-1 |
| Ubuntu Pro 20.04 LTS | linux-riscv-5.15 | 5.15.0-1090.94~20.04.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| SLES 15 SP5 | kernel-syms | 5.14.21-150500.55.62.1 | SUSE-SU-2024:1659-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_14 | 1-150500.11.5.1 | SUSE-SU-2024:1663-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_13 | 1-150500.11.3.2 | SUSE-SU-2024:1659-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +2 | 5.14.21-150500.55.62.1 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-64kb +7 | 5.14.21-150500.55.62.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.51.1 | SUSE-SU-2024:1644-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.62.2.150500.6.27.2 | SUSE-SU-2024:1659-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.52.1 | SUSE-SU-2024:1663-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | No fix yet | — |
Advisories 16
- USN-7933-1 linux-kvm vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-1 linux, linux-aws, linux-gcp, linux-gke, linux-gkeop, linux-hwe-5.15, linux-ibm, linux-ibm-5.15, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, linux-oracle, linux-oracle-5.15, linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-2 linux-fips, linux-aws-fips, linux-azure-fips, linux-gcp-fips, linux-intel-iot-realtime, linux-realtime vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-5 linux-intel-iotg, linux-intel-iotg-5.15 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-6 linux-nvidia-tegra, linux-nvidia-tegra-5.15, linux-nvidia-tegra-igx, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-4 linux-aws-5.15 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7829-3 linux-azure, linux-azure-5.15, linux-gcp-5.15 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6878-1 linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6816-1 linux, linux-ibm, linux-lowlatency, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-3 linux-azure, linux-gke vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-1 linux-aws, linux-gcp vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-2 linux-oem-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- WID-SEC-2024-0920 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 3, 2026
- SUSE-SU-2024:1663-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1644-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:1659-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
References
- https://git.kernel.org/stable/c/a1f57a0127b89a6b6620514564aa7eaec16d9af3
- https://git.kernel.org/stable/c/3a71ec74e5e3478d202a1874f085ca3ef40be49b
- https://git.kernel.org/stable/c/12f00a367b2b62756e0396f14b54c2c15524e1c3
- https://git.kernel.org/stable/c/dadbb5d29d6c5f571a50272fce8c1505a9559487
- https://git.kernel.org/stable/c/b8cfb7c819dd39965136a66fe3a7fde688d976fc