CVE-2024-26932
Fixed in a distro release EPSS <1%CVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd() When unregister pd capabilitie in tcpm, KASAN will capture below double -free issue. The root cause is the same capabilitiy will be kfreed twice, the first time is kfreed by pd_capabilities_release() and the second time is explicitly kfreed by tcpm_port_unregister_pd(). [ 3.988059] BUG: KASAN: double-free in tcpm_port_unregister_pd+0x1a4/0x3dc [ 3.995001] Free of addr ffff0008164d3000 by task kworker/u16:0/10 [ 4.001206] [ 4.002712] CPU: 2 PID: 10 Comm: kworker/u16:0 Not tainted 6.8.0-rc5-next-20240220-05616-g52728c567a55 #53 [ 4.012402] Hardware name: Freescale i.MX8QXP MEK (DT) [ 4.017569] Workqueue: events_unbound deferred_probe_work_func [ 4.023456] Call trace: [ 4.025920] dump_backtrace+0x94/0xec [ 4.029629] show_stack+0x18/0x24 [ 4.032974] dump_stack_lvl+0x78/0x90 [ 4.036675] print_report+0xfc/0x5c0 [ 4.040289] kasan_report_invalid_free+0xa0/0xc0 [ 4.044937] __kasan_slab_free+0x124/0x154 [ 4.049072] kfree+0xb4/0x1e8 [ 4.052069] tcpm_port_unregister_pd+0x1a4/0x3dc [ 4.056725] tcpm_register_port+0x1dd0/0x2558 [ 4.061121] tcpci_register_port+0x420/0x71c [ 4.065430] tcpci_probe+0x118/0x2e0 To fix the issue, this will remove kree() from tcpm_port_unregister_pd().
Products: Linux, linux_kernel
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 13 | linux | 6.8.9-1 |
| Debian 14 | linux | 6.8.9-1 |
| SUSE Linux Enterprise High Availability Extension 15 SP6 | kernel-default | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_1 | 1-150600.1.5.1 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_1 | 1-150600.13.3.7 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-default | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | 6.4.0-150600.23.7.3.150600.12.2.7 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | 6.4.0-150600.23.7.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-zfcpdump | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-docs | 6.4.0-150600.23.7.4 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-obs-build | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | 6.4.0-150600.23.7.2 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-syms | 6.4.0-150600.23.7.1 |
| SUSE Linux Enterprise Module for Legacy 15 SP6 | kernel-default | 6.4.0-150600.23.7.3 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-azure | 6.4.0-150600.8.5.4 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-source-azure | 6.4.0-150600.8.5.4 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-syms-azure | 6.4.0-150600.8.5.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | kernel-default | 6.4.0-150600.23.7.3 |
| SUSE Linux Micro 6.0 | kernel-default | 6.4.0-18.1 |
| SUSE Linux Micro 6.0 | kernel-default-base | 6.4.0-17.1.1.51 |
| SUSE Linux Micro 6.0 | kernel-kvmsmall | 6.4.0-18.1 |
| SUSE Linux Micro 6.0 | kernel-livepatch-MICRO-6-0-RT_Update_5 | 1-1.1 |
| SUSE Linux Micro 6.0 | kernel-rt | 6.4.0-25.1 |
| SUSE Linux Micro 6.0 | kernel-rt | 6.4.0-9.1 |
| SUSE Linux Micro 6.0 | kernel-source | 6.4.0-18.1 |
| SUSE Linux Micro 6.0 | kernel-source-rt | 6.4.0-25.1 |
| SUSE Linux Micro 6.0 | kernel-source-rt | 6.4.0-9.1 |
| SUSE Linux Micro 6.1 | kernel-livepatch-MICRO-6-0-RT_Update_5 | 1-1.1 |
| SUSE Linux Micro 6.1 | kernel-rt | 6.4.0-25.1 |
| SUSE Linux Micro 6.1 | kernel-source-rt | 6.4.0-25.1 |
| SUSE Real Time Module 15 SP6 | kernel-rt | 6.4.0-150600.10.5.1 |
| SUSE Real Time Module 15 SP6 | kernel-rt_debug | 6.4.0-150600.10.5.1 |
| SUSE Real Time Module 15 SP6 | kernel-source-rt | 6.4.0-150600.10.5.1 |
| SUSE Real Time Module 15 SP6 | kernel-syms-rt | 6.4.0-150600.10.5.1 |
| Ubuntu 16.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure | no fix |
| Ubuntu 18.04 LTS | linux-azure-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure-edge | no fix |
| Ubuntu 18.04 LTS | linux-gcp | no fix |
| Ubuntu 18.04 LTS | linux-gcp-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-gke-4.15 | no fix |
| Ubuntu 18.04 LTS | linux-gke-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-gkeop-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-hwe | no fix |
| Ubuntu 18.04 LTS | linux-oem | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.3 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-fde | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-gke | no fix |
| Ubuntu 20.04 LTS | linux-gke-5.15 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-intel-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.10 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.14 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.6 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-raspi2 | no fix |
| Ubuntu 20.04 LTS | linux-riscv | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.8 | no fix |
| Ubuntu 22.04 LTS | linux-allwinner-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-intel-iot-realtime | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-nvidia-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-oem-5.17 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.0 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.1 | no fix |
| Ubuntu 22.04 LTS | linux-realtime | no fix |
| Ubuntu 22.04 LTS | linux-riscv | no fix |
| Ubuntu 22.04 LTS | linux-riscv-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-6.2 | no fix |
| Ubuntu 24.04 LTS | linux | 6.8.0-35.35 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1009.9 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1008.8 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1008.9 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1004.7 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-lowlatency | 6.8.0-35.35.1 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1005.5 |
| Ubuntu 24.04 LTS | linux-riscv | 6.8.0-35.35.1 |
| 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 |
| openSUSE Leap 15.6 | dtb-aarch64 | 6.4.0-150600.23.7.1 |
| openSUSE Leap 15.6 | kernel-64kb | 6.4.0-150600.23.7.3 |
| openSUSE Leap 15.6 | kernel-azure | 6.4.0-150600.8.5.4 |
| openSUSE Leap 15.6 | kernel-debug | 6.4.0-150600.23.7.3 |
| openSUSE Leap 15.6 | kernel-default | 6.4.0-150600.23.7.3 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.7.3.150600.12.2.7 |
| openSUSE Leap 15.6 | kernel-docs | 6.4.0-150600.23.7.4 |
| openSUSE Leap 15.6 | kernel-kvmsmall | 6.4.0-150600.23.7.3 |
| openSUSE Leap 15.6 | kernel-obs-build | 6.4.0-150600.23.7.3 |
| openSUSE Leap 15.6 | kernel-obs-qa | 6.4.0-150600.23.7.1 |
| openSUSE Leap 15.6 | kernel-rt | 6.4.0-150600.10.5.1 |
| openSUSE Leap 15.6 | kernel-rt_debug | 6.4.0-150600.10.5.1 |
| openSUSE Leap 15.6 | kernel-source | 6.4.0-150600.23.7.2 |
| openSUSE Leap 15.6 | kernel-source-azure | 6.4.0-150600.8.5.4 |
| openSUSE Leap 15.6 | kernel-source-rt | 6.4.0-150600.10.5.1 |
| openSUSE Leap 15.6 | kernel-syms | 6.4.0-150600.23.7.1 |
| openSUSE Leap 15.6 | kernel-syms-azure | 6.4.0-150600.8.5.1 |
| openSUSE Leap 15.6 | kernel-syms-rt | 6.4.0-150600.10.5.1 |
| openSUSE Leap 15.6 | kernel-zfcpdump | 6.4.0-150600.23.7.3 |