CVE-2024-26689: ceph: prevent use-after-free in encode_cap_msg()

Published Apr 3, 2024
·
Updated

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

ceph: prevent use-after-free in encodecapmsg()

In fs/ceph/caps.c, in encodecapmsg(), "use after free" error was caught by KASAN at this line - 'cephbufferget(arg->xattrbuf);'. This implies before the refcount could be increment here, it was freed.

In same file, in "handlecapgrant()" refcount is decremented by this line - 'cephbufferput(ci->ixattrs.blob);'. It appears that a race occurred and resource was freed by the latter line before the former line could increment it.

encodecapmsg() is called by sendcap() and sendcap() is called by cephcheckcaps() after calling prepcap(). prepcap() is where arg->xattrbuf is assigned to ci->ixattrs.blob. This is the spot where the refcount must be increased to prevent "use after free" error.

Affected Software

183 affected componentsFixes available
Linux Linux kernel<5.10.210
Linux Linux kernel>=5.11<5.15.149
Linux Linux kernel>=5.16<6.1.79
Linux Linux kernel>=6.2<6.6.18
Linux Linux kernel>=6.7<6.7.6
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Debian Debian Linux=10.0
debian/linux<6.1.82-1
6.1.82-1
debian/linux<6.7.7-1
6.7.7-1
debian/linux<6.7.7-1
6.7.7-1
ubuntu/linux<3.13.0-210.261
3.13.0-210.261
ubuntu/linux-aws<4.4.0-1143.149
4.4.0-1143.149
ubuntu/linux-azure<4.15.0-1188.203~14.04.1
4.15.0-1188.203~14.04.1
ubuntu/linux-lts-xenial<4.4.0-268.302~14.04.1
4.4.0-268.302~14.04.1
ubuntu/linux<4.4.0-268.302
4.4.0-268.302
ubuntu/linux-aws<4.4.0-1181.196
4.4.0-1181.196
ubuntu/linux-aws-hwe<4.15.0-1180.193~16.04.1
4.15.0-1180.193~16.04.1
ubuntu/linux-azure<4.15.0-1188.203~16.04.1
4.15.0-1188.203~16.04.1
ubuntu/linux-gcp<4.15.0-1173.190~16.04.1
4.15.0-1173.190~16.04.1
ubuntu/linux-hwe<4.15.0-237.249~16.04.1
4.15.0-237.249~16.04.1
ubuntu/linux-kvm<4.4.0-1144.155
4.4.0-1144.155
ubuntu/linux-oracle<4.15.0-1142.153~16.04.1
4.15.0-1142.153~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1113.120
4.4.0-1113.120
ubuntu/linux-fips*
ubuntu/linux<4.15.0-237.249
4.15.0-237.249
ubuntu/linux-aws<4.15.0-1180.193
4.15.0-1180.193
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1145.155~18.04.1
5.4.0-1145.155~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1188.203
4.15.0-1188.203
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1150.157~18.04.1
5.4.0-1150.157~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1173.190
4.15.0-1173.190
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1148.157~18.04.1
5.4.0-1148.157~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-215.235~18.04.1
5.4.0-215.235~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1092.97~18.04.1
5.4.0-1092.97~18.04.1
ubuntu/linux-kvm<4.15.0-1163.168
4.15.0-1163.168
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1142.153
4.15.0-1142.153
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1143.153~18.04.1
5.4.0-1143.153~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1129.142~18.04.1
5.4.0-1129.142~18.04.1
ubuntu/linux-aws-fips<4.15.0-2118.124
4.15.0-2118.124
ubuntu/linux-azure-fips<4.15.0-2097.103
4.15.0-2097.103
ubuntu/linux-fips<4.15.0-1135.146
4.15.0-1135.146
ubuntu/linux-gcp-fips<4.15.0-2081.87
4.15.0-2081.87
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-215.235
5.4.0-215.235
ubuntu/linux-aws<5.4.0-1145.155
5.4.0-1145.155
ubuntu/linux-aws-5.15<5.15.0-1061.67~20.04.1
5.15.0-1061.67~20.04.1
ubuntu/linux-azure<5.4.0-1150.157
5.4.0-1150.157
ubuntu/linux-azure-5.15<5.15.0-1063.72~20.04.1
5.15.0-1063.72~20.04.1
ubuntu/linux-bluefield<5.4.0-1105.112
5.4.0-1105.112
ubuntu/linux-gcp<5.4.0-1148.157
5.4.0-1148.157
ubuntu/linux-gcp-5.15<5.15.0-1059.67~20.04.1
5.15.0-1059.67~20.04.1
ubuntu/linux-gkeop-5.15<5.15.0-1044.51~20.04.1
5.15.0-1044.51~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-106.116~20.04.1
5.15.0-106.116~20.04.1
ubuntu/linux-ibm<5.4.0-1091.96
5.4.0-1091.96
ubuntu/linux-ibm-5.15<5.15.0-1054.57~20.04.1
5.15.0-1054.57~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1058.64~20.04.1
5.15.0-1058.64~20.04.1
ubuntu/linux-kvm<5.4.0-1132.141
5.4.0-1132.141
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-106.116~20.04.1
5.15.0-106.116~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-1143.153
5.4.0-1143.153
ubuntu/linux-oracle-5.15<5.15.0-1059.65~20.04.1
5.15.0-1059.65~20.04.1
ubuntu/linux-raspi<5.4.0-1129.142
5.4.0-1129.142
ubuntu/linux-riscv-5.15<5.15.0-1057.61~20.04.1
5.15.0-1057.61~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1064.68
5.4.0-1064.68
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-gkeop*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-iot<5.4.0-1051.54
5.4.0-1051.54
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-1145.156+fips1
5.4.0-1145.156+fips1
ubuntu/linux-azure-fips<5.4.0-1151.158+fips1
5.4.0-1151.158+fips1
ubuntu/linux-fips<5.4.0-1119.129
5.4.0-1119.129
ubuntu/linux-gcp-fips<5.4.0-1148.157+fips1
5.4.0-1148.157+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-106.116
5.15.0-106.116
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1061.67
5.15.0-1061.67
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5<6.5.0-1023.23~22.04.1
6.5.0-1023.23~22.04.1
ubuntu/linux-azure<5.15.0-1063.72
5.15.0-1063.72
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5<6.5.0-1024.25~22.04.1
6.5.0-1024.25~22.04.1
ubuntu/linux-azure-fde<5.15.0-1063.72.1
5.15.0-1063.72.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1059.67
5.15.0-1059.67
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5<6.5.0-1024.26~22.04.1
6.5.0-1024.26~22.04.1
ubuntu/linux-gke<5.15.0-1058.63
5.15.0-1058.63
ubuntu/linux-gkeop<5.15.0-1044.51
5.15.0-1044.51
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5<6.5.0-44.44~22.04.1
6.5.0-44.44~22.04.1
ubuntu/linux-ibm<5.15.0-1054.57
5.15.0-1054.57
ubuntu/linux-intel-iotg<5.15.0-1057.63
5.15.0-1057.63
ubuntu/linux-kvm<5.15.0-1058.63
5.15.0-1058.63
ubuntu/linux-lowlatency<5.15.0-106.116
5.15.0-106.116
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5<6.5.0-44.44.1~22.04.1
6.5.0-44.44.1~22.04.1
ubuntu/linux-nvidia<5.15.0-1054.55
5.15.0-1054.55
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5<6.5.0-1023.24
6.5.0-1023.24
ubuntu/linux-nvidia-tegra<5.15.0-1026.26
5.15.0-1026.26
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<6.5.0-1027.28
6.5.0-1027.28
ubuntu/linux-oracle<5.15.0-1059.65
5.15.0-1059.65
ubuntu/linux-oracle-6.5<6.5.0-1026.26~22.04.1
6.5.0-1026.26~22.04.1
ubuntu/linux-raspi<5.15.0-1054.57
5.15.0-1054.57
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5<6.5.0-1017.18~22.04.1
6.5.0-1017.18~22.04.1
ubuntu/linux-xilinx-zynqmp<5.15.0-1030.34
5.15.0-1030.34
ubuntu/linux-bluefield<5.15.0-1043.45
5.15.0-1043.45
ubuntu/linux-intel-iot-realtime<5.15.0-1054.56
5.15.0-1054.56
ubuntu/linux-realtime<5.15.0-1062.70
5.15.0-1062.70
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips<5.15.0-1061.67+fips1
5.15.0-1061.67+fips1
ubuntu/linux-azure-fips<5.15.0-1063.72+fips1
5.15.0-1063.72+fips1
ubuntu/linux-fips<5.15.0-106.116+fips1
5.15.0-106.116+fips1
ubuntu/linux-gcp-fips<5.15.0-1059.67+fips1
5.15.0-1059.67+fips1
ubuntu/linux-raspi-realtime<6.8.0-2001.1
6.8.0-2001.1
debian/linux
5.10.216-16.1.82-16.7.7-1
debian/linux-5.10
5.10.216-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.82-1
  2. Upgrade

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

    Fixed in 6.7.7-1
  3. Upgrade

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

    Fixed in 3.13.0-210.261
  4. Upgrade

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

    Fixed in 4.4.0-1143.149
  5. Upgrade

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

    Fixed in 4.15.0-1188.203~14.04.1
  6. Upgrade

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

    Fixed in 4.4.0-268.302~14.04.1
  7. Upgrade

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

    Fixed in 4.4.0-268.302
  8. Upgrade

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

    Fixed in 4.4.0-1181.196
  9. Upgrade

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

    Fixed in 4.15.0-1180.193~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1188.203~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1173.190~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-237.249~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1144.155
  14. Upgrade

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

    Fixed in 4.15.0-1142.153~16.04.1
  15. Upgrade

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

    Fixed in 4.4.0-1113.120
  16. Upgrade

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

    Fixed in 4.15.0-237.249
  17. Upgrade

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

    Fixed in 4.15.0-1180.193
  18. Upgrade

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

    Fixed in 5.4.0-1145.155~18.04.1
  19. Upgrade

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

    Fixed in 4.15.0-1188.203
  20. Upgrade

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

    Fixed in 5.4.0-1150.157~18.04.1
  21. Upgrade

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

    Fixed in 4.15.0-1173.190
  22. Upgrade

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

    Fixed in 5.4.0-1148.157~18.04.1
  23. Upgrade

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

    Fixed in 5.4.0-215.235~18.04.1
  24. Upgrade

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

    Fixed in 5.4.0-1092.97~18.04.1
  25. Upgrade

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

    Fixed in 4.15.0-1163.168
  26. Upgrade

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

    Fixed in 4.15.0-1142.153
  27. Upgrade

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

    Fixed in 5.4.0-1143.153~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-1129.142~18.04.1
  29. Upgrade

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

    Fixed in 4.15.0-2118.124
  30. Upgrade

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

    Fixed in 4.15.0-2097.103
  31. Upgrade

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

    Fixed in 4.15.0-1135.146
  32. Upgrade

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

    Fixed in 4.15.0-2081.87
  33. Upgrade

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

    Fixed in 5.4.0-215.235
  34. Upgrade

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

    Fixed in 5.4.0-1145.155
  35. Upgrade

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

    Fixed in 5.15.0-1061.67~20.04.1
  36. Upgrade

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

    Fixed in 5.4.0-1150.157
  37. Upgrade

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

    Fixed in 5.15.0-1063.72~20.04.1
  38. Upgrade

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

    Fixed in 5.4.0-1105.112
  39. Upgrade

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

    Fixed in 5.4.0-1148.157
  40. Upgrade

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

    Fixed in 5.15.0-1059.67~20.04.1
  41. Upgrade

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

    Fixed in 5.15.0-1044.51~20.04.1
  42. Upgrade

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

    Fixed in 5.15.0-106.116~20.04.1
  43. Upgrade

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

    Fixed in 5.4.0-1091.96
  44. Upgrade

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

    Fixed in 5.15.0-1054.57~20.04.1
  45. Upgrade

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

    Fixed in 5.15.0-1058.64~20.04.1
  46. Upgrade

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

    Fixed in 5.4.0-1132.141
  47. Upgrade

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

    Fixed in 5.15.0-106.116~20.04.1
  48. 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
  49. Upgrade

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

    Fixed in 5.4.0-1143.153
  50. Upgrade

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

    Fixed in 5.15.0-1059.65~20.04.1
  51. Upgrade

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

    Fixed in 5.4.0-1129.142
  52. Upgrade

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

    Fixed in 5.15.0-1057.61~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1064.68
  54. Upgrade

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

    Fixed in 5.4.0-1051.54
  55. Upgrade

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

    Fixed in 5.4.0-1145.156+fips1
  56. Upgrade

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

    Fixed in 5.4.0-1151.158+fips1
  57. Upgrade

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

    Fixed in 5.4.0-1119.129
  58. Upgrade

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

    Fixed in 5.4.0-1148.157+fips1
  59. Upgrade

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

    Fixed in 5.15.0-106.116
  60. Upgrade

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

    Fixed in 5.15.0-1061.67
  61. Upgrade

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

    Fixed in 6.5.0-1023.23~22.04.1
  62. Upgrade

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

    Fixed in 5.15.0-1063.72
  63. Upgrade

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

    Fixed in 6.5.0-1024.25~22.04.1
  64. Upgrade

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

    Fixed in 5.15.0-1063.72.1
  65. Upgrade

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

    Fixed in 5.15.0-1059.67
  66. Upgrade

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

    Fixed in 6.5.0-1024.26~22.04.1
  67. Upgrade

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

    Fixed in 5.15.0-1058.63
  68. Upgrade

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

    Fixed in 5.15.0-1044.51
  69. Upgrade

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

    Fixed in 6.5.0-44.44~22.04.1
  70. Upgrade

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

    Fixed in 5.15.0-1054.57
  71. Upgrade

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

    Fixed in 5.15.0-1057.63
  72. Upgrade

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

    Fixed in 5.15.0-1058.63
  73. Upgrade

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

    Fixed in 5.15.0-106.116
  74. Upgrade

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

    Fixed in 6.5.0-44.44.1~22.04.1
  75. Upgrade

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

    Fixed in 5.15.0-1054.55
  76. Upgrade

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

    Fixed in 6.5.0-1023.24
  77. Upgrade

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

    Fixed in 5.15.0-1026.26
  78. Upgrade

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

    Fixed in 5.15.0-1015.15
  79. Upgrade

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

    Fixed in 6.5.0-1027.28
  80. Upgrade

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

    Fixed in 5.15.0-1059.65
  81. Upgrade

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

    Fixed in 6.5.0-1026.26~22.04.1
  82. Upgrade

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

    Fixed in 5.15.0-1054.57
  83. Upgrade

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

    Fixed in 6.5.0-1017.18~22.04.1
  84. Upgrade

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

    Fixed in 5.15.0-1030.34
  85. Upgrade

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

    Fixed in 5.15.0-1043.45
  86. Upgrade

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

    Fixed in 5.15.0-1054.56
  87. Upgrade

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

    Fixed in 5.15.0-1062.70
  88. Upgrade

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

    Fixed in 5.15.0-1061.67+fips1
  89. Upgrade

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

    Fixed in 5.15.0-1063.72+fips1
  90. Upgrade

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

    Fixed in 5.15.0-106.116+fips1
  91. Upgrade

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

    Fixed in 5.15.0-1059.67+fips1
  92. Upgrade

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

    Fixed in 6.8.0-2001.1
  93. Upgrade

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

    Fixed in 5.10.216-1Fixed in 6.1.82-1Fixed in 6.7.7-1
  94. Upgrade

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

    Fixed in 5.10.216-1~deb10u1
  95. Configuration

    In fs/ceph/caps.c, adjust the refcount/lifetime handling so the buffer assigned in __prep_cap() to ci->i_xattrs.blob is refcount-incremented (as at 'ceph_buffer_get(arg->xattr_buf);') before any path can execute 'ceph_buffer_put(ci->i_xattrs.blob);' that may free it; this prevents the KASAN-detected use-after-free in encode_cap_msg().

    Linux kernel (Ceph filesystem client) encode_cap_msg() reference counting / lifetime of arg->xattr_buf = ceph_buffer_get() must occur after __prep_cap() assigns arg->xattr_buf to ci->i_xattrs.blob (and before any corresponding ceph_buffer_put(ci->i_xattrs.blob) that can free the buffer)

Event History

Apr 3, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
Description
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
Description
Jan 14, 2025
Data Sourced
via NVD·05:26 PM
RemedySeverityWeaknessAffected Software
Aug 4, 2026
Data Sourced
via MITRE·09:19 AM
Severity
Event
via MITRE·09:19 AM
Updated
via NVD·11:16 AM
SeverityAffected Software
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-26689?

CVE-2024-26689 is classified as a high severity vulnerability due to its potential for causing use-after-free errors in the Linux kernel.

2

How do I fix CVE-2024-26689?

To fix CVE-2024-26689, upgrade to the patched versions of the Linux kernel, specifically versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

Which systems are affected by CVE-2024-26689?

CVE-2024-26689 affects multiple versions of the Linux kernel including those below 5.10.223 and certain ranges between 5.11 and 6.8.

4

How can I verify if I'm vulnerable to CVE-2024-26689?

You can verify vulnerability to CVE-2024-26689 by checking your Linux kernel version against the specified affected versions.

5

What are the consequences of CVE-2024-26689?

The consequences of CVE-2024-26689 can lead to memory corruption and could potentially allow attackers to execute arbitrary code.

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