CVE-2024-27398: Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout

Published May 13, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: Fix use-after-free bugs caused by scosocktimeout

The Linux kernel CVE team has assigned CVE-2024-27398 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051355-CVE-2024-27398-08ef@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: Fix use-after-free bugs caused by scosocktimeout

When the sco connection is established and then, the sco socket is releasing, timeoutwork will be scheduled to judge whether the sco disconnection is timeout. The sock will be deallocated later, but it is dereferenced again in scosocktimeout. As a result, the use-after-free bugs will happen. The root cause is shown below:

Cleanup Thread | Worker Thread scosockrelease | scosockclose | scosockclose | scosocksettimer | scheduledelayedwork | scosockkill | (wait a time) sockput(sk) //FREE | scosocktimeout | sockhold(sk) //USE

The KASAN report triggered by POC is shown below:

[ 95.890016] ================================================================== [ 95.890496] BUG: KASAN: slab-use-after-free in scosocktimeout+0x5e/0x1c0 [ 95.890755] Write of size 4 at addr ffff88800c388080 by task kworker/0:0/7 ... [ 95.890755] Workqueue: events scosocktimeout [ 95.890755] Call Trace: [ 95.890755] <TASK> [ 95.890755] dumpstacklvl+0x45/0x110 [ 95.890755] printaddressdescription+0x78/0x390 [ 95.890755] printreport+0x11b/0x250 [ 95.890755] ? virtaddrvalid+0xbe/0xf0 [ 95.890755] ? scosocktimeout+0x5e/0x1c0 [ 95.890755] kasanreport+0x139/0x170 [ 95.890755] ? updateloadavg+0xe5/0x9f0 [ 95.890755] ? scosocktimeout+0x5e/0x1c0 [ 95.890755] kasancheckrange+0x2c3/0x2e0 [ 95.890755] scosocktimeout+0x5e/0x1c0 [ 95.890755] processonework+0x561/0xc50 [ 95.890755] workerthread+0xab2/0x13c0 [ 95.890755] ? prcontwork+0x490/0x490 [ 95.890755] kthread+0x279/0x300 [ 95.890755] ? prcontwork+0x490/0x490 [ 95.890755] ? kthreadblkcg+0xa0/0xa0 [ 95.890755] retfromfork+0x34/0x60 [ 95.890755] ? kthreadblkcg+0xa0/0xa0 [ 95.890755] retfromforkasm+0x11/0x20 [ 95.890755] </TASK> [ 95.890755] [ 95.890755] Allocated by task 506: [ 95.890755] kasansavetrack+0x3f/0x70 [ 95.890755] kasankmalloc+0x86/0x90 [ 95.890755] kmalloc+0x17f/0x360 [ 95.890755] skprotalloc+0xe1/0x1a0 [ 95.890755] skalloc+0x31/0x4e0 [ 95.890755] btsockalloc+0x2b/0x2a0 [ 95.890755] scosockcreate+0xad/0x320 [ 95.890755] btsockcreate+0x145/0x320 [ 95.890755] sockcreate+0x2e1/0x650 [ 95.890755] syssocket+0xd0/0x280 [ 95.890755] x64syssocket+0x75/0x80 [ 95.890755] dosyscall64+0xc4/0x1b0 [ 95.890755] entrySYSCALL64afterhwframe+0x67/0x6f [ 95.890755] [ 95.890755] Freed by task 506: [ 95.890755] kasansavetrack+0x3f/0x70 [ 95.890755] kasansavefreeinfo+0x40/0x50 [ 95.890755] poisonslabobject+0x118/0x180 [ 95.890755] kasanslabfree+0x12/0x30 [ 95.890755] kfree+0xb2/0x240 [ 95.890755] skdestruct+0x317/0x410 [ 95.890755] scosockrelease+0x232/0x280 [ 95.890755] sockclose+0xb2/0x210 [ 95.890755] fput+0x37f/0x770 [ 95.890755] taskworkrun+0x1ae/0x210 [ 95.890755] getsignal+0xe17/0xf70 [ 95.890755] archdosignalorrestart+0x3f/0x520 [ 95.890755] syscallexittousermode+0x55/0x120 [ 95.890755] dosyscall64+0xd1/0x1b0 [ 95.890755] entrySYSCALL64afterhwframe+0x67/0x6f [ 95.890755] [ 95.890755] The buggy address belongs to the object at ffff88800c388000 [ 95.890755] which belongs to the cache kmalloc-1k of size 1024 [ 95.890755] The buggy address is located 128 bytes inside of [ 95.890755] freed 1024-byte region [ffff88800c388000, ffff88800c388400) [ 95.890755] [ 95.890755] The buggy address belongs to the physical page: [ 95.890755] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88800c38a800 pfn:0xc388 [ 95.890755] head: order:3 entiremapcount:0 nrpagesmapped:0 pincount:0 [ 95.890755] ano ---truncated---

— NVD

Affected Software

212 affected componentsFixes available
Fedoraproject Fedora=39
Fedoraproject Fedora=40
Linux Linux kernel>=4.14.263<4.15
Linux Linux kernel>=4.19.207<4.19.314
Linux Linux kernel>=5.4.148<5.4.276
Linux Linux kernel>=5.10.67<5.10.217
Linux Linux kernel>=5.13.19<5.14
Linux Linux kernel>=5.14.6<5.15.159
Linux Linux kernel>=5.16<6.1.91
Linux Linux kernel>=6.2<6.6.31
Linux Linux kernel>=6.7<6.8.10
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Linux Linux kernel=6.9-rc4
Linux Linux kernel=6.9-rc5
Linux Linux kernel=6.9-rc6
Linux Linux kernel=6.9-rc7
Debian Debian Linux=10.0
debian/linux<6.1.94-1
6.1.94-1
debian/linux<6.8.11-1
6.8.11-1
debian/linux<6.8.11-1
6.8.11-1
redhat/kernel<6.9
6.9
ubuntu/linux-azure<4.15.0-1181.196~14.04.1
4.15.0-1181.196~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1173.186~16.04.1
4.15.0-1173.186~16.04.1
ubuntu/linux-azure<4.15.0-1181.196~16.04.1
4.15.0-1181.196~16.04.1
ubuntu/linux-gcp<4.15.0-1166.183~16.04.1
4.15.0-1166.183~16.04.1
ubuntu/linux-hwe<4.15.0-229.241~16.04.1
4.15.0-229.241~16.04.1
ubuntu/linux-oracle<4.15.0-1135.146~16.04.1
4.15.0-1135.146~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-229.241
4.15.0-229.241
ubuntu/linux-aws<4.15.0-1173.186
4.15.0-1173.186
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1130.140~18.04.1
5.4.0-1130.140~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1181.196
4.15.0-1181.196
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1135.142~18.04.1
5.4.0-1135.142~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1166.183
4.15.0-1166.183
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1134.143~18.04.1
5.4.0-1134.143~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-192.212~18.04.1
5.4.0-192.212~18.04.1
ubuntu/linux-ibm-5.4<5.4.0-1077.82~18.04.1
5.4.0-1077.82~18.04.1
ubuntu/linux-kvm<4.15.0-1156.161
4.15.0-1156.161
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1135.146
4.15.0-1135.146
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1129.138~18.04.1
5.4.0-1129.138~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1114.126~18.04.1
5.4.0-1114.126~18.04.1
ubuntu/linux-aws-fips<4.15.0-2111.117
4.15.0-2111.117
ubuntu/linux-azure-fips<4.15.0-2090.96
4.15.0-2090.96
ubuntu/linux-fips<4.15.0-1127.138
4.15.0-1127.138
ubuntu/linux-gcp-fips<4.15.0-2074.79
4.15.0-2074.79
ubuntu/linux<5.4.0-192.212
5.4.0-192.212
ubuntu/linux-aws<5.4.0-1130.140
5.4.0-1130.140
ubuntu/linux-aws-5.15<5.15.0-1067.73~20.04.1
5.15.0-1067.73~20.04.1
ubuntu/linux-azure<5.4.0-1135.142
5.4.0-1135.142
ubuntu/linux-azure-5.15<5.15.0-1070.79~20.04.1
5.15.0-1070.79~20.04.1
ubuntu/linux-bluefield<5.4.0-1090.97
5.4.0-1090.97
ubuntu/linux-gcp<5.4.0-1134.143
5.4.0-1134.143
ubuntu/linux-gcp-5.15<5.15.0-1066.74~20.04.1
5.15.0-1066.74~20.04.1
ubuntu/linux-gkeop<5.4.0-1097.101
5.4.0-1097.101
ubuntu/linux-gkeop-5.15<5.15.0-1050.57~20.04.1
5.15.0-1050.57~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-118.128~20.04.1
5.15.0-118.128~20.04.1
ubuntu/linux-ibm<5.4.0-1077.82
5.4.0-1077.82
ubuntu/linux-ibm-5.15<5.15.0-1060.63~20.04.1
5.15.0-1060.63~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1062.68~20.04.1
5.15.0-1062.68~20.04.1
ubuntu/linux-iot<5.4.0-1042.43
5.4.0-1042.43
ubuntu/linux-kvm<5.4.0-1118.125
5.4.0-1118.125
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-118.128~20.04.1
5.15.0-118.128~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1027.27~20.04.1
5.15.0-1027.27~20.04.1
ubuntu/linux-oracle<5.4.0-1129.138
5.4.0-1129.138
ubuntu/linux-oracle-5.15<5.15.0-1065.71~20.04.1
5.15.0-1065.71~20.04.1
ubuntu/linux-raspi<5.4.0-1114.126
5.4.0-1114.126
ubuntu/linux-riscv-5.15<5.15.0-1063.67~20.04.1
5.15.0-1063.67~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1049.53
5.4.0-1049.53
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1130.140+fips1
5.4.0-1130.140+fips1
ubuntu/linux-azure-fips<5.4.0-1135.142+fips1
5.4.0-1135.142+fips1
ubuntu/linux-fips<5.4.0-1104.114
5.4.0-1104.114
ubuntu/linux-gcp-fips<5.4.0-1134.143+fips1
5.4.0-1134.143+fips1
ubuntu/linux<5.15.0-118.128
5.15.0-118.128
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1067.73
5.15.0-1067.73
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1013.14~22.04.1
6.8.0-1013.14~22.04.1
ubuntu/linux-azure<5.15.0-1070.79
5.15.0-1070.79
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1012.14~22.04.1
6.8.0-1012.14~22.04.1
ubuntu/linux-azure-fde<5.15.0-1070.79.1
5.15.0-1070.79.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1066.74
5.15.0-1066.74
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1012.13~22.04.1
6.8.0-1012.13~22.04.1
ubuntu/linux-gke<5.15.0-1064.70
5.15.0-1064.70
ubuntu/linux-gkeop<5.15.0-1050.57
5.15.0-1050.57
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-hwe-6.8<6.8.0-40.40~22.04.3
6.8.0-40.40~22.04.3
ubuntu/linux-ibm<5.15.0-1060.63
5.15.0-1060.63
ubuntu/linux-ibm-6.8<6.8.0-1010.10~22.04.1
6.8.0-1010.10~22.04.1
ubuntu/linux-intel-iotg<5.15.0-1062.68
5.15.0-1062.68
ubuntu/linux-kvm<5.15.0-1064.69
5.15.0-1064.69
ubuntu/linux-lowlatency<5.15.0-118.128
5.15.0-118.128
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8<6.8.0-40.40.1~22.04.1
6.8.0-40.40.1~22.04.1
ubuntu/linux-nvidia<5.15.0-1062.63
5.15.0-1062.63
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-6.8<6.8.0-1011.11~22.04.1
6.8.0-1011.11~22.04.1
ubuntu/linux-nvidia-tegra<5.15.0-1027.27
5.15.0-1027.27
ubuntu/linux-nvidia-tegra-igx<5.15.0-1015.15
5.15.0-1015.15
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle<5.15.0-1065.71
5.15.0-1065.71
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1010.10~22.04.1
6.8.0-1010.10~22.04.1
ubuntu/linux-raspi<5.15.0-1060.63
5.15.0-1060.63
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8<6.8.0-40.40.1~22.04.1
6.8.0-40.40.1~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp<5.15.0-1035.39
5.15.0-1035.39
ubuntu/linux-bluefield<5.15.0-1050.52
5.15.0-1050.52
ubuntu/linux-intel-iot-realtime<5.15.0-1060.62
5.15.0-1060.62
ubuntu/linux-realtime<5.15.0-1068.76
5.15.0-1068.76
ubuntu/linux-realtime-6.8<6.8.1-1006.6~22.04.1
6.8.1-1006.6~22.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips<5.15.0-1067.73+fips1
5.15.0-1067.73+fips1
ubuntu/linux-azure-fips<5.15.0-1070.79+fips1
5.15.0-1070.79+fips1
ubuntu/linux-fips<5.15.0-118.128+fips1
5.15.0-118.128+fips1
ubuntu/linux-gcp-fips<5.15.0-1066.74+fips1
5.15.0-1066.74+fips1
ubuntu/linux<6.8.0-40.40
6.8.0-40.40
ubuntu/linux-aws<6.8.0-1013.14
6.8.0-1013.14
ubuntu/linux-azure<6.8.0-1012.14
6.8.0-1012.14
ubuntu/linux-gcp<6.8.0-1012.13
6.8.0-1012.13
ubuntu/linux-gke<6.8.0-1008.11
6.8.0-1008.11
ubuntu/linux-ibm<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-lowlatency<6.8.0-40.40.1
6.8.0-40.40.1
ubuntu/linux-nvidia<6.8.0-1011.11
6.8.0-1011.11
ubuntu/linux-nvidia-lowlatency<6.8.0-1011.11.1
6.8.0-1011.11.1
ubuntu/linux-oem-6.8<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-oracle<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-raspi<6.8.0-1009.10
6.8.0-1009.10
ubuntu/linux-riscv<6.8.0-40.40.1
6.8.0-40.40.1
ubuntu/linux-raspi-realtime<6.8.0-2008.8
6.8.0-2008.8
ubuntu/linux-realtime<6.8.1-1006.6
6.8.1-1006.6
ubuntu/linux-fips<6.8.0-78.78+fips1
6.8.0-78.78+fips1
linux/kernel>=4.14.263<4.15
4.15
linux/kernel>=4.19.207<4.19.314
4.19.314
linux/kernel>=5.4.148<5.4.276
5.4.276
linux/kernel>=5.10.67<5.10.217
5.10.217
linux/kernel>=5.13.19<5.14
5.14
linux/kernel>=5.14.6<5.15
5.15
linux/kernel>=5.15.0<5.15.159
5.15.159
linux/kernel>=5.16.0<6.1.91
6.1.91
linux/kernel>=6.2.0<6.6.31
6.6.31
linux/kernel>=6.7.0<6.8.10
6.8.10
debian/linux
4.19.316-15.10.218-16.1.94-16.8.11-1
debian/linux-5.10
5.10.218-1~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.94-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.8.11-1
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9
  4. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1181.196~14.04.1
  5. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1173.186~16.04.1
  6. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1181.196~16.04.1
  7. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1166.183~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-229.241~16.04.1
  9. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1135.146~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-229.241
  11. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1173.186
  12. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1130.140~18.04.1
  13. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1181.196
  14. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.142~18.04.1
  15. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1166.183
  16. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1134.143~18.04.1
  17. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-192.212~18.04.1
  18. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1077.82~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1156.161
  20. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1135.146
  21. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1129.138~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1114.126~18.04.1
  23. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2111.117
  24. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2090.96
  25. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1127.138
  26. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2074.79
  27. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-192.212
  28. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1130.140
  29. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1067.73~20.04.1
  30. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.142
  31. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.79~20.04.1
  32. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1090.97
  33. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1134.143
  34. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.74~20.04.1
  35. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1097.101
  36. Upgrade

    Upgrade ubuntu/linux-gkeop-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1050.57~20.04.1
  37. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-118.128~20.04.1
  38. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1077.82
  39. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1060.63~20.04.1
  40. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1062.68~20.04.1
  41. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1042.43
  42. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1118.125
  43. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-118.128~20.04.1
  44. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1027.27~20.04.1
  45. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1129.138
  46. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1065.71~20.04.1
  47. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1114.126
  48. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1063.67~20.04.1
  49. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1049.53
  50. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1130.140+fips1
  51. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.142+fips1
  52. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1104.114
  53. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1134.143+fips1
  54. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.15.0-118.128
  55. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1067.73
  56. Upgrade

    Upgrade ubuntu/linux-aws-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1013.14~22.04.1
  57. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.79
  58. Upgrade

    Upgrade ubuntu/linux-azure-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.14~22.04.1
  59. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.79.1
  60. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.74
  61. Upgrade

    Upgrade ubuntu/linux-gcp-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.13~22.04.1
  62. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1064.70
  63. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1050.57
  64. Upgrade

    Upgrade ubuntu/linux-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40~22.04.3
  65. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1060.63
  66. Upgrade

    Upgrade ubuntu/linux-ibm-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10~22.04.1
  67. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1062.68
  68. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1064.69
  69. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-118.128
  70. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1~22.04.1
  71. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1062.63
  72. Upgrade

    Upgrade ubuntu/linux-nvidia-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11~22.04.1
  73. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 5.15.0-1027.27
  74. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-igx to a version that resolves this vulnerability.

    Fixed in 5.15.0-1015.15
  75. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1065.71
  76. Upgrade

    Upgrade ubuntu/linux-oracle-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10~22.04.1
  77. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1060.63
  78. Upgrade

    Upgrade ubuntu/linux-riscv-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1~22.04.1
  79. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1035.39
  80. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.15.0-1050.52
  81. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1060.62
  82. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1068.76
  83. Upgrade

    Upgrade ubuntu/linux-realtime-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.1-1006.6~22.04.1
  84. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1067.73+fips1
  85. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.79+fips1
  86. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-118.128+fips1
  87. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.74+fips1
  88. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40
  89. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.8.0-1013.14
  90. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.14
  91. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.13
  92. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.8.0-1008.11
  93. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  94. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1
  95. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11
  96. Upgrade

    Upgrade ubuntu/linux-nvidia-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11.1
  97. Upgrade

    Upgrade ubuntu/linux-oem-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  98. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  99. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.8.0-1009.10
  100. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1
  101. Upgrade

    Upgrade ubuntu/linux-raspi-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.0-2008.8
  102. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.1-1006.6
  103. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-78.78+fips1
  104. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.15
  105. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.19.314
  106. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.4.276
  107. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.217
  108. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.14
  109. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15
  110. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.159
  111. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.91
  112. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.31
  113. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.8.10
  114. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.19.316-1Fixed in 5.10.218-1Fixed in 6.1.94-1Fixed in 6.8.11-1
  115. Upgrade

    Upgrade debian/linux-5.10 to a version that resolves this vulnerability.

    Fixed in 5.10.218-1~deb10u1

Event History

May 13, 2024
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
Description
Data Sourced
via OSV·10:22 AM
DescriptionSeverityAffected Software
May 14, 2024
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via NVD·03:12 PM
Description
Data Sourced
via Red Hat·11:46 PM
DescriptionSeverityAffected Software
Mar 8, 2025
Exploit Published
via GitHub·11:25 PM
Jan 22, 2026
Data Sourced
via NVD·08:37 PM
RemedySeverityWeaknessAffected Software
Aug 4, 2026
Data Sourced
via MITRE·09:22 AM
Severity
Event
via MITRE·09:22 AM
Updated
via NVD·11:17 AM
Severity
Nov 12, 2026
Updated
via OSV·05:24 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-27398?

The severity of CVE-2024-27398 is considered to be high due to the potential for a use-after-free vulnerability in the Bluetooth subsystem of the Linux kernel.

2

How do I fix CVE-2024-27398?

To fix CVE-2024-27398, update the Linux kernel to one of the patched versions such as 5.10.223-1, 5.10.226-1, 6.1.119-1, or later.

3

What is the impact of CVE-2024-27398 on affected systems?

CVE-2024-27398 could allow an attacker to exploit the vulnerability to execute arbitrary code or cause a denial-of-service on affected systems.

4

Which Linux kernel versions are affected by CVE-2024-27398?

CVE-2024-27398 affects specific versions of the Linux kernel including 5.10.x and 6.1.x prior to the fixes.

5

Are there any workarounds for CVE-2024-27398 while waiting for a patch?

There are no specific workarounds for CVE-2024-27398, and the best course of action is to apply the available patches as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203