Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix double free of TCP_Server_Info::hostname
When shutting down the server in cifs_put_tcp_session(), cifsd thread
might be reconnecting to multiple DFS targets before it realizes it
should exit the loop, so @server->hostname can't be freed as long as
cifsd thread isn't done. Otherwise the following can happen:
RIP: 0010:__slab_free+0x223/0x3c0
Code: 5e 41 5f c3 cc cc cc cc 4c 89 de 4c 89 cf 44 89 44 24 08 4c 89
1c 24 e8 fb cf 8e 00 44 8b 44 24 08 4c 8b 1c 24 e9 5f fe ff ff <0f>
0b 41 f7 45 08 00 0d 21 00 0f 85 2d ff ff ff e9 1f ff ff ff 80
RSP: 0018:ffffb26180dbfd08 EFLAGS: 00010246
RAX: ffff8ea34728e510 RBX: ffff8ea34728e500 RCX: 0000000000800068
RDX: 0000000000800068 RSI: 0000000000000000 RDI: ffff8ea340042400
RBP: ffffe112041ca380 R08: 0000000000000001 R09: 0000000000000000
R10: 6170732e31303000 R11: 70726f632e786563 R12: ffff8ea34728e500
R13: ffff8ea340042400 R14: ffff8ea34728e500 R15: 0000000000800068
FS: 0000000000000000(0000) GS:ffff8ea66fd80000(0000)
000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc25376080 CR3: 000000012a2ba001 CR4:
PKRU: 55555554
Call Trace:
<TASK>
? show_trace_log_lvl+0x1c4/0x2df
? show_trace_log_lvl+0x1c4/0x2df
? __reconnect_target_unlocked+0x3e/0x160 [cifs]
? __die_body.cold+0x8/0xd
? die+0x2b/0x50
? do_trap+0xce/0x120
? __slab_free+0x223/0x3c0
? do_error_trap+0x65/0x80
? __slab_free+0x223/0x3c0
? exc_invalid_op+0x4e/0x70
? __slab_free+0x223/0x3c0
? asm_exc_invalid_op+0x16/0x20
? __slab_free+0x223/0x3c0
? extract_hostname+0x5c/0xa0 [cifs]
? extract_hostname+0x5c/0xa0 [cifs]
? __kmalloc+0x4b/0x140
__reconnect_target_unlocked+0x3e/0x160 [cifs]
reconnect_dfs_server+0x145/0x430 [cifs]
cifs_handle_standard+0x1ad/0x1d0 [cifs]
cifs_demultiplex_thread+0x592/0x730 [cifs]
? __pfx_cifs_demultiplex_thread+0x10/0x10 [cifs]
kthread+0xdd/0x100
? __pfx_kthread+0x10/0x10
ret_from_fork+0x29/0x50
</TASK>
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.14.19 – < 5.15, 5.15.3 – < 5.16, 5.16 | 5.15 |
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.12.11-1 | — |
| Debian 13 | linux | 6.12.11-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-62.65 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1030.32 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1030.35 | USN-7596-1 |
| Ubuntu 24.04 LTS | linux-azure-nvidia | 6.8.0-1018.19 | USN-7596-2 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1031.33 | USN-7595-5 |
| Ubuntu 24.04 LTS | linux-gcp-6.11 +1 | 6.11.0-1013.13~24.04.1 | USN-7448-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1026.30 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-gkeop | 6.8.0-1013.15 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-hwe-6.11 | 6.11.0-24.24~24.04.1 | USN-7445-1 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1027.27 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-lowlatency | 6.8.0-62.65.1 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1012.13~24.04.1 | USN-7445-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1029.32 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-nvidia-6.11 | 6.11.0-1007.7 | — |
| Ubuntu 24.04 LTS | linux-nvidia-lowlatency | 6.8.0-1029.32.1 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-nvidia-tegra | 6.8.0-1008.8 | — |
| Ubuntu 24.04 LTS | linux-oem-6.11 | 6.11.0-1020.20 | USN-7445-1 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | 6.8.0-1029.29 | USN-7595-1 |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1027.28 | USN-7595-4 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1029.33 | USN-7595-4 |
| Ubuntu 24.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-xilinx | 6.8.0-1017.18 | — |
| Ubuntu 22.04 LTS | linux +49 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1030.32~22.04.1 | USN-7595-1 |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1030.35~22.04.1 | USN-7596-1 |
| Ubuntu 22.04 LTS | linux-gcp-6.8 | 6.8.0-1031.33~22.04.1 | USN-7595-5 |
| Ubuntu 22.04 LTS | linux-hwe-6.8 | 6.8.0-64.67~22.04.1 | USN-7653-1 |
| Ubuntu 22.04 LTS | linux-ibm-6.8 | 6.8.0-1027.27~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.8 | 6.8.0-62.65.1~22.04.1 | USN-7595-1 |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1029.32~22.04.1 | USN-7595-1 |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1027.28~22.04.1 | USN-7595-4 |
| Ubuntu 22.04 LTS | linux-riscv-6.8 | 6.8.0-62.65~22.04.1 | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-99.112 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1065.68 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1028.31 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1064.68 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1014.15 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1055.57 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1063.67 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1065.68~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1064.68~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-99.112~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1063.67~18.04.1 | — |
Show 9 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-2024.25 | USN-7595-3 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1023.24 | USN-7595-2 |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | 6.8.1-1023.24~22.04.1 | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips | 6.8.0-78.78+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1042.48 | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux-azure +11 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux-azure-5.4 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | kernel-64kb +3 | 6.4.0-150600.23.42.2 | SUSE-SU-2025:0856-1 |
| SLES 15 SP6 | kernel-azure +2 | 6.4.0-150600.8.31.1 | SUSE-SU-2025:0847-1 |
| SLES 15 SP6 | kernel-coco +3 | 6.4.0-15061.15.coco15sp6.1 | SUSE-SU-2025:0564-1 |
| SLES 15 SP6 | kernel-default-base | 6.4.0-150600.23.42.2.150600.12.18.4 | SUSE-SU-2025:0856-1 |
| SLES 15 SP6 | kernel-docs +2 | 6.4.0-150600.23.42.1 | SUSE-SU-2025:0856-1 |
| SLES 12 SP5 | kernel-syms +2 | 4.12.14-122.250.1 | SUSE-SU-2025:0834-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | kernel-default-base | 6.4.0-28.1.21.6 | SUSE-SU-2025:20270-1 |
| SLE Micro 6.1 | kernel-livepatch-MICRO-6-0_Update_6 +1 | 1-3.1 | SUSE-SU-2025:20270-1, SUSE-SU-2025:20260-1 |
| SLE Micro 6.1 | kernel-rt +4 | 6.4.0-28.1 | SUSE-SU-2025:20270-1, SUSE-SU-2025:20260-1 |
| SLE Micro 6.0 | kernel-default-base | 6.4.0-28.1.21.6 | SUSE-SU-2025:20192-1 |
| SLE Micro 6.0 | kernel-livepatch-MICRO-6-0_Update_6 +1 | 1-3.1 | SUSE-SU-2025:20192-1, SUSE-SU-2025:20190-1 |
| SLE Micro 6.0 | kernel-rt +4 | 6.4.0-28.1 | SUSE-SU-2025:20192-1, SUSE-SU-2025:20190-1 |
| SLE Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.42.2 | SUSE-SU-2025:0856-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_9 | 1-150600.1.3.2 | SUSE-SU-2025:0955-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_9 | 1-150600.13.3.4 | SUSE-SU-2025:0856-1 |
| SLE Live Patching 12 SP5 | kernel-default | 4.12.14-122.250.1 | SUSE-SU-2025:0834-1 |
| SLE Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_66 | 1-8.3.1 | SUSE-SU-2025:0834-1 |
| SUSE Real Time Module 15 SP6 | kernel-rt +3 | 6.4.0-150600.10.29.1 | SUSE-SU-2025:0955-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | dtb-aarch64 +4 | 6.4.0-150600.23.42.1 | SUSE-SU-2025:0856-1 |
| openSUSE Leap 15.6 | kernel-64kb +5 | 6.4.0-150600.23.42.2 | SUSE-SU-2025:0856-1 |
| openSUSE Leap 15.6 | kernel-azure +2 | 6.4.0-150600.8.31.1 | SUSE-SU-2025:0847-1 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.42.2.150600.12.18.4 | SUSE-SU-2025:0856-1 |
| openSUSE Leap 15.6 | kernel-rt +3 | 6.4.0-150600.10.29.1 | SUSE-SU-2025:0955-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | kernel | 6.6.76.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | kernel | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-101.33.4.3.el10uek | ELSA-2025-20530, ELSA-2025-20480 |
Advisories 23
- USN-7653-1 linux-hwe-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7595-1 linux, linux-aws, linux-aws-6.8, linux-gke, linux-gkeop, linux-ibm, linux-lowlatency, linux-lowlatency-hwe-6.8, linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency, linux-oem-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7595-4 linux-oracle, linux-oracle-6.8, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7595-3 linux-raspi-realtime vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7445-1 linux, linux-aws, linux-gcp, linux-hwe-6.11, linux-lowlatency, linux-lowlatency-hwe-6.11, linux-oem-6.11, linux-oracle, linux-raspi, linux-realtime vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7448-1 linux-azure, linux-azure-6.11 vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7595-5 linux-gcp, linux-gcp-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7595-2 linux-realtime vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7596-2 linux-azure-nvidia vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7596-1 linux-azure, linux-azure-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2025-0232 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 3, 2026
- SUSE-SU-2025:20270-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20192-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20260-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20190-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:0856-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0564-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0955-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0834-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0847-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2025-20530 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 18, 2025
- ELSA-2025-20480 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 17, 2025