CVE-2024-26645: tracing: Ensure visibility when inserting an element into tracing_map

Published Mar 26, 2024
·
Updated

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

tracing: Ensure visibility when inserting an element into tracingmap

Running the following two commands in parallel on a multi-processor AArch64 machine can sporadically produce an unexpected warning about duplicate histogram entries:

$ while true; do echo hist:key=id.syscall:val=hitcount > \ /sys/kernel/debug/tracing/events/rawsyscalls/sysenter/trigger cat /sys/kernel/debug/tracing/events/rawsyscalls/sysenter/hist sleep 0.001 done $ stress-ng --sysbadaddr $(nproc)

The warning looks as follows:

[ 2911.172474] ------------[ cut here ]------------ [ 2911.173111] Duplicates detected: 1 [ 2911.173574] WARNING: CPU: 2 PID: 12247 at kernel/trace/tracingmap.c:983 tracingmapsortentries+0x3e0/0x408 [ 2911.174702] Modules linked in: iscsiibft(E) iscsibootsysfs(E) rfkill(E) afpacket(E) nlsiso88591(E) nlscp437(E) vfat(E) fat(E) ena(E) tinypowerbutton(E) qemufwcfg(E) button(E) fuse(E) efipstore(E) iptables(E) xtables(E) xfs(E) libcrc32c(E) aesceblk(E) aescecipher(E) crct10difce(E) polyvalce(E) polyvalgeneric(E) ghashce(E) gf128mul(E) sm4cegcm(E) sm4ceccm(E) sm4ce(E) sm4cecipher(E) sm4(E) sm3ce(E) sm3(E) sha3ce(E) sha512ce(E) sha512arm64(E) sha2ce(E) sha256arm64(E) nvme(E) sha1ce(E) nvmecore(E) nvmeauth(E) t10pi(E) sg(E) scsimod(E) scsicommon(E) efivarfs(E) [ 2911.174738] Unloaded tainted modules: cppccpufreq(E):1 [ 2911.180985] CPU: 2 PID: 12247 Comm: cat Kdump: loaded Tainted: G E 6.7.0-default #2 1b58bbb22c97e4399dc09f92d309344f69c44a01 [ 2911.182398] Hardware name: Amazon EC2 c7g.8xlarge/, BIOS 1.0 11/1/2018 [ 2911.183208] pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) [ 2911.184038] pc : tracingmapsortentries+0x3e0/0x408 [ 2911.184667] lr : tracingmapsortentries+0x3e0/0x408 [ 2911.185310] sp : ffff8000a1513900 [ 2911.185750] x29: ffff8000a1513900 x28: ffff0003f272fe80 x27: 0000000000000001 [ 2911.186600] x26: ffff0003f272fe80 x25: 0000000000000030 x24: 0000000000000008 [ 2911.187458] x23: ffff0003c5788000 x22: ffff0003c16710c8 x21: ffff80008017f180 [ 2911.188310] x20: ffff80008017f000 x19: ffff80008017f180 x18: ffffffffffffffff [ 2911.189160] x17: 0000000000000000 x16: 0000000000000000 x15: ffff8000a15134b8 [ 2911.190015] x14: 0000000000000000 x13: 205d373432323154 x12: 5b5d313131333731 [ 2911.190844] x11: 00000000fffeffff x10: 00000000fffeffff x9 : ffffd1b78274a13c [ 2911.191716] x8 : 000000000017ffe8 x7 : c0000000fffeffff x6 : 000000000057ffa8 [ 2911.192554] x5 : ffff0012f6c24ec0 x4 : 0000000000000000 x3 : ffff2e5b72b5d000 [ 2911.193404] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0003ff254480 [ 2911.194259] Call trace: [ 2911.194626] tracingmapsortentries+0x3e0/0x408 [ 2911.195220] histshow+0x124/0x800 [ 2911.195692] seqreaditer+0x1d4/0x4e8 [ 2911.196193] seqread+0xe8/0x138 [ 2911.196638] vfsread+0xc8/0x300 [ 2911.197078] ksysread+0x70/0x108 [ 2911.197534] arm64sysread+0x24/0x38 [ 2911.198046] invokesyscall+0x78/0x108 [ 2911.198553] el0svccommon.constprop.0+0xd0/0xf8 [ 2911.199157] doel0svc+0x28/0x40 [ 2911.199613] el0svc+0x40/0x178 [ 2911.200048] el0t64synchandler+0x13c/0x158 [ 2911.200621] el0t64sync+0x1a8/0x1b0 [ 2911.201115] ---[ end trace 0000000000000000 ]---

The problem appears to be caused by CPU reordering of writes issued from tracingmapinsert().

The check for the presence of an element with a given key in this function is:

val = READONCE(entry->val); if (val && keysmatch(key, val->key, map->keysize)) ...

The write of a new entry is:

elt = getfreeelt(map); memcpy(elt->key, key, map->keysize); entry->val = elt;

The "memcpy(elt->key, key, map->keysize);" and "entry->val = elt;" stores may become visible in the reversed order on another CPU. This second CPU might then incorrectly determine that a new key doesn't match an already present val->key and subse ---truncated---

Other sources

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

tracing: Ensure visibility when inserting an element into tracingmap

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

Upstream advisory: https://lore.kernel.org/linux-cve-announce/20240326151722.1258576-4-lee@kernel.org/T

— Red Hat

Affected Software

168 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<4.19.307
4.19.307
redhat/kernel<5.4.269
5.4.269
redhat/kernel<5.10.210
5.10.210
redhat/kernel<5.15.149
5.15.149
redhat/kernel<6.1.76
6.1.76
redhat/kernel<6.6.15
6.6.15
redhat/kernel<6.7.3
6.7.3
redhat/kernel<6.8
6.8
Microsoft azl3 kernel 6.6.92.2-1<6.6.82.1-1
6.6.82.1-1
Microsoft azl3 kernel 6.6.82.1-1<6.6.82.1-1
6.6.82.1-1
Linux Linux kernel>=4.17<4.19.307
Linux Linux kernel>=4.20<5.4.269
Linux Linux kernel>=5.5<5.10.210
Linux Linux kernel>=5.11<5.15.149
Linux Linux kernel>=5.16<6.1.76
Linux Linux kernel>=6.2<6.7.3
Linux Linux kernel=6.8-rc1
Debian Debian Linux=10.0
debian/linux<6.1.76-1
6.1.76-1
debian/linux<6.6.15-1
6.6.15-1
debian/linux<6.6.15-1
6.6.15-1
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1124.134~18.04.1
5.4.0-1124.134~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1129.136~18.04.1
5.4.0-1129.136~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1128.137~18.04.1
5.4.0-1128.137~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-181.201~18.04.1
5.4.0-181.201~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1071.76~18.04.1
5.4.0-1071.76~18.04.1
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1123.132~18.04.1
5.4.0-1123.132~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1108.120~18.04.1
5.4.0-1108.120~18.04.1
ubuntu/linux<5.4.0-181.201
5.4.0-181.201
ubuntu/linux-aws<5.4.0-1124.134
5.4.0-1124.134
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-1129.136
5.4.0-1129.136
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-1084.91
5.4.0-1084.91
ubuntu/linux-gcp<5.4.0-1128.137
5.4.0-1128.137
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.4.0-1091.95
5.4.0-1091.95
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-1071.76
5.4.0-1071.76
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-iot<5.4.0-1036.37
5.4.0-1036.37
ubuntu/linux-kvm<5.4.0-1112.119
5.4.0-1112.119
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-1123.132
5.4.0-1123.132
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-1108.120
5.4.0-1108.120
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-1043.47
5.4.0-1043.47
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-1124.134+fips1
5.4.0-1124.134+fips1
ubuntu/linux-azure-fips<5.4.0-1129.136+fips1
5.4.0-1129.136+fips1
ubuntu/linux-fips<5.4.0-1098.108
5.4.0-1098.108
ubuntu/linux-gcp-fips<5.4.0-1128.137+fips1
5.4.0-1128.137+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*
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-1022.23~22.04.1
6.5.0-1022.23~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-1022.24~22.04.1
6.5.0-1022.24~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-41.41~22.04.2
6.5.0-41.41~22.04.2
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-41.41.1~22.04.1
6.5.0-41.41.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-1021.22
6.5.0-1021.22
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-1024.25
6.5.0-1024.25
ubuntu/linux-oracle<5.15.0-1059.65
5.15.0-1059.65
ubuntu/linux-oracle-6.5<6.5.0-1024.24~22.04.1
6.5.0-1024.24~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<6.5.0-40.40.1~22.04.1
6.5.0-40.40.1~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5<6.5.0-1015.16~22.04.1
6.5.0-1015.16~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
4.19.316-15.10.216-16.1.76-16.6.15-1
debian/linux-5.10
5.10.216-1~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.19.307
  2. Upgrade

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

    Fixed in 5.4.269
  3. Upgrade

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

    Fixed in 5.10.210
  4. Upgrade

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

    Fixed in 5.15.149
  5. Upgrade

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

    Fixed in 6.1.76
  6. Upgrade

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

    Fixed in 6.6.15
  7. Upgrade

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

    Fixed in 6.7.3
  8. Upgrade

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

    Fixed in 6.8
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.82.1-1
  10. Upgrade

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

    Fixed in 6.1.76-1
  11. Upgrade

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

    Fixed in 6.6.15-1
  12. Upgrade

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

    Fixed in 5.4.0-1124.134~18.04.1
  13. Upgrade

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

    Fixed in 5.4.0-1129.136~18.04.1
  14. Upgrade

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

    Fixed in 5.4.0-1128.137~18.04.1
  15. Upgrade

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

    Fixed in 5.4.0-181.201~18.04.1
  16. Upgrade

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

    Fixed in 5.4.0-1071.76~18.04.1
  17. Upgrade

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

    Fixed in 5.4.0-1123.132~18.04.1
  18. Upgrade

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

    Fixed in 5.4.0-1108.120~18.04.1
  19. Upgrade

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

    Fixed in 5.4.0-181.201
  20. Upgrade

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

    Fixed in 5.4.0-1124.134
  21. Upgrade

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

    Fixed in 5.15.0-1061.67~20.04.1
  22. Upgrade

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

    Fixed in 5.4.0-1129.136
  23. Upgrade

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

    Fixed in 5.15.0-1063.72~20.04.1
  24. Upgrade

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

    Fixed in 5.4.0-1084.91
  25. Upgrade

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

    Fixed in 5.4.0-1128.137
  26. Upgrade

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

    Fixed in 5.15.0-1059.67~20.04.1
  27. Upgrade

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

    Fixed in 5.4.0-1091.95
  28. Upgrade

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

    Fixed in 5.15.0-1044.51~20.04.1
  29. Upgrade

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

    Fixed in 5.15.0-106.116~20.04.1
  30. Upgrade

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

    Fixed in 5.4.0-1071.76
  31. Upgrade

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

    Fixed in 5.15.0-1054.57~20.04.1
  32. 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
  33. Upgrade

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

    Fixed in 5.4.0-1036.37
  34. Upgrade

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

    Fixed in 5.4.0-1112.119
  35. 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
  36. 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
  37. Upgrade

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

    Fixed in 5.4.0-1123.132
  38. Upgrade

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

    Fixed in 5.15.0-1059.65~20.04.1
  39. Upgrade

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

    Fixed in 5.4.0-1108.120
  40. Upgrade

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

    Fixed in 5.15.0-1057.61~20.04.1
  41. Upgrade

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

    Fixed in 5.4.0-1043.47
  42. Upgrade

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

    Fixed in 5.4.0-1124.134+fips1
  43. Upgrade

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

    Fixed in 5.4.0-1129.136+fips1
  44. Upgrade

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

    Fixed in 5.4.0-1098.108
  45. Upgrade

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

    Fixed in 5.4.0-1128.137+fips1
  46. Upgrade

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

    Fixed in 5.15.0-106.116
  47. Upgrade

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

    Fixed in 5.15.0-1061.67
  48. Upgrade

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

    Fixed in 5.15.0-1063.72
  49. Upgrade

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

    Fixed in 6.5.0-1022.23~22.04.1
  50. Upgrade

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

    Fixed in 5.15.0-1063.72.1
  51. Upgrade

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

    Fixed in 5.15.0-1059.67
  52. Upgrade

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

    Fixed in 6.5.0-1022.24~22.04.1
  53. Upgrade

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

    Fixed in 5.15.0-1058.63
  54. Upgrade

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

    Fixed in 5.15.0-1044.51
  55. Upgrade

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

    Fixed in 6.5.0-41.41~22.04.2
  56. Upgrade

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

    Fixed in 5.15.0-1054.57
  57. Upgrade

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

    Fixed in 5.15.0-1057.63
  58. Upgrade

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

    Fixed in 5.15.0-1058.63
  59. Upgrade

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

    Fixed in 5.15.0-106.116
  60. Upgrade

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

    Fixed in 6.5.0-41.41.1~22.04.1
  61. Upgrade

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

    Fixed in 5.15.0-1054.55
  62. Upgrade

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

    Fixed in 6.5.0-1021.22
  63. Upgrade

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

    Fixed in 5.15.0-1026.26
  64. Upgrade

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

    Fixed in 5.15.0-1015.15
  65. Upgrade

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

    Fixed in 6.5.0-1024.25
  66. Upgrade

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

    Fixed in 5.15.0-1059.65
  67. Upgrade

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

    Fixed in 6.5.0-1024.24~22.04.1
  68. Upgrade

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

    Fixed in 5.15.0-1054.57
  69. Upgrade

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

    Fixed in 6.5.0-40.40.1~22.04.1
  70. Upgrade

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

    Fixed in 6.5.0-1015.16~22.04.1
  71. Upgrade

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

    Fixed in 5.15.0-1030.34
  72. Upgrade

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

    Fixed in 5.15.0-1043.45
  73. Upgrade

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

    Fixed in 5.15.0-1054.56
  74. Upgrade

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

    Fixed in 5.15.0-1062.70
  75. Upgrade

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

    Fixed in 5.15.0-1061.67+fips1
  76. Upgrade

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

    Fixed in 5.15.0-1063.72+fips1
  77. Upgrade

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

    Fixed in 5.15.0-106.116+fips1
  78. Upgrade

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

    Fixed in 5.15.0-1059.67+fips1
  79. Upgrade

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

    Fixed in 6.8.0-2001.1
  80. Upgrade

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

    Fixed in 4.19.316-1Fixed in 5.10.216-1Fixed in 6.1.76-1Fixed in 6.6.15-1
  81. Upgrade

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

    Fixed in 5.10.216-1~deb10u1
  82. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-26645
  83. Compensating control

    Avoid/mitigate the race by not running the two debugfs tracing commands in parallel on multi-processor AArch64 systems: concurrently writing to /sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/trigger and reading /sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/hist (e.g., the stress-ng --sysbadaddr $(nproc) plus the parallel loop that triggers hist inserts).

Event History

Mar 26, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
Description
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
Description
Data Sourced
via Red Hat·05:24 PM
DescriptionSeverityAffected Software
Mar 17, 2025
Data Sourced
via NVD·03:20 PM
RemedySeverityAffected Software
Event
via NVD·03:20 PM
Apr 9, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·07:50 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:50 AM
Affected Software
Updated
via Microsoft·07:50 AM
Affected Software
Oct 15, 2026
Updated
via NVD·01:17 AM
Affected 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-26645?

CVE-2024-26645 is classified as a low severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-26645?

To fix CVE-2024-26645, update to the latest versions of the affected kernel packages provided by Red Hat or Debian.

3

Which kernel versions are affected by CVE-2024-26645?

The affected kernel versions for CVE-2024-26645 include those prior to 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.76, 6.6.15, 6.7.3, and 6.8.

4

What causes CVE-2024-26645 in the Linux kernel?

CVE-2024-26645 is caused by issues related to visibility when inserting elements into tracing_map on multi-processor AArch64 machines.

5

Is there a workaround for CVE-2024-26645?

There are no specific workarounds for CVE-2024-26645 other than applying the recommended updates to the affected kernel versions.

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