CVE-2023-4622: Use-after-free in Linux kernel's af_unix component

Published Sep 6, 2023
·
Updated

A use-after-free vulnerability in the Linux kernel's afunix component can be exploited to achieve local privilege escalation. The unixstreamsendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unixstreamsendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free. We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c (or backported equivalents).

Other sources

A use-after-free vulnerability in the Linux kernel's afunix component can be exploited to achieve local privilege escalation.

The unixstreamsendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unixstreamsendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free.

We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02c https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02c

— Red Hat

In unixstreamsendpage of afunix.c, there is a possible use-after-free due to a race condition. This could lead to local escalation of privilege in the kernel with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a use-after-free flaw in the afunix component. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges.

— IBM

Affected Software

167 affected componentsFixes available
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
Linux Linux kernel<=6.4.15
Debian Debian Linux=12.0
redhat/kernel<6.4.12
6.4.12
Linux Linux kernel>=4.2<4.14.324
Linux Linux kernel>=4.15<4.19.293
Linux Linux kernel>=4.20<5.4.255
Linux Linux kernel>=5.5<5.10.192
Linux Linux kernel>=5.11<5.15.128
Linux Linux kernel>=5.16<6.1.47
Linux Linux kernel>=6.2<6.4.12
Debian Debian Linux=10.0
Google Android
ubuntu/linux-aws<4.4.0-1124.130
4.4.0-1124.130
ubuntu/linux-azure<4.15.0-1171.186~14.04.1
4.15.0-1171.186~14.04.1
ubuntu/linux-lts-xenial<4.4.0-246.280~14.04.1
4.4.0-246.280~14.04.1
ubuntu/linux<4.4.0-246.280
4.4.0-246.280
ubuntu/linux-aws<4.4.0-1162.177
4.4.0-1162.177
ubuntu/linux-aws-hwe<4.15.0-1162.175~16.04.1
4.15.0-1162.175~16.04.1
ubuntu/linux-azure<4.15.0-1171.186~16.04.1
4.15.0-1171.186~16.04.1
ubuntu/linux-gcp<4.15.0-1156.173~16.04.1
4.15.0-1156.173~16.04.1
ubuntu/linux-hwe<4.15.0-219.230~16.04.1
4.15.0-219.230~16.04.1
ubuntu/linux-kvm<4.4.0-1125.135
4.4.0-1125.135
ubuntu/linux-oracle<4.15.0-1125.136~16.04.1
4.15.0-1125.136~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1094.101
4.4.0-1094.101
ubuntu/linux-fips*
ubuntu/linux<4.15.0-219.230
4.15.0-219.230
ubuntu/linux-aws<4.15.0-1162.175
4.15.0-1162.175
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1112.121~18.04.2
5.4.0-1112.121~18.04.2
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1171.186
4.15.0-1171.186
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1118.125~18.04.1
5.4.0-1118.125~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1156.173
4.15.0-1156.173
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1116.125~18.04.1
5.4.0-1116.125~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-165.182~18.04.1
5.4.0-165.182~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1059.64~18.04.1
5.4.0-1059.64~18.04.1
ubuntu/linux-kvm<4.15.0-1146.151
4.15.0-1146.151
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1125.136
4.15.0-1125.136
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1111.120~18.04.1
5.4.0-1111.120~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1096.107~18.04.1
5.4.0-1096.107~18.04.1
ubuntu/linux-aws-fips<4.15.0-2101.107
4.15.0-2101.107
ubuntu/linux-azure-fips<4.15.0-2080.86
4.15.0-2080.86
ubuntu/linux-fips<4.15.0-1117.128
4.15.0-1117.128
ubuntu/linux-gcp-fips<4.15.0-2064.69
4.15.0-2064.69
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-165.182
5.4.0-165.182
ubuntu/linux-aws<5.4.0-1112.121
5.4.0-1112.121
ubuntu/linux-aws-5.15<5.15.0-1048.53~20.04.1
5.15.0-1048.53~20.04.1
ubuntu/linux-azure<5.4.0-1118.125
5.4.0-1118.125
ubuntu/linux-azure-5.15<5.15.0-1050.57~20.04.1
5.15.0-1050.57~20.04.1
ubuntu/linux-bluefield<5.4.0-1073.79
5.4.0-1073.79
ubuntu/linux-gcp<5.4.0-1116.125
5.4.0-1116.125
ubuntu/linux-gcp-5.15<5.15.0-1045.53~20.04.2
5.15.0-1045.53~20.04.2
ubuntu/linux-gkeop<5.4.0-1079.83
5.4.0-1079.83
ubuntu/linux-gkeop-5.15<5.15.0-1031.37~20.04.1
5.15.0-1031.37~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-87.97~20.04.1
5.15.0-87.97~20.04.1
ubuntu/linux-ibm<5.4.0-1059.64
5.4.0-1059.64
ubuntu/linux-ibm-5.15<5.15.0-1041.44~20.04.1
5.15.0-1041.44~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1043.49~20.04.1
5.15.0-1043.49~20.04.1
ubuntu/linux-iot<5.4.0-1024.25
5.4.0-1024.25
ubuntu/linux-kvm<5.4.0-1101.107
5.4.0-1101.107
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-87.96~20.04.1
5.15.0-87.96~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1019.19~20.04.1
5.15.0-1019.19~20.04.1
ubuntu/linux-oracle<5.4.0-1111.120
5.4.0-1111.120
ubuntu/linux-oracle-5.15<5.15.0-1046.52~20.04.1
5.15.0-1046.52~20.04.1
ubuntu/linux-raspi<5.4.0-1096.107
5.4.0-1096.107
ubuntu/linux-riscv-5.15<5.15.0-1044.48~20.04.1
5.15.0-1044.48~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1032.36
5.4.0-1032.36
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-1112.121+fips1
5.4.0-1112.121+fips1
ubuntu/linux-azure-fips<5.4.0-1118.125+fips1
5.4.0-1118.125+fips1
ubuntu/linux-fips<5.4.0-1087.96
5.4.0-1087.96
ubuntu/linux-gcp-fips<5.4.0-1116.125+fips1
5.4.0-1116.125+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-87.97
5.15.0-87.97
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1048.53
5.15.0-1048.53
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2<6.2.0-1014.14~22.04.1
6.2.0-1014.14~22.04.1
ubuntu/linux-azure<5.15.0-1050.57
5.15.0-1050.57
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2<6.2.0-1015.15~22.04.1
6.2.0-1015.15~22.04.1
ubuntu/linux-azure-fde<5.15.0-1050.57.1
5.15.0-1050.57.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2<6.2.0-1015.15~22.04.1.1
6.2.0-1015.15~22.04.1.1
ubuntu/linux-gcp<5.15.0-1045.53
5.15.0-1045.53
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2<6.2.0-1017.19~22.04.1
6.2.0-1017.19~22.04.1
ubuntu/linux-gke<5.15.0-1045.50
5.15.0-1045.50
ubuntu/linux-gkeop<5.15.0-1031.37
5.15.0-1031.37
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2<6.2.0-35.35~22.04.1
6.2.0-35.35~22.04.1
ubuntu/linux-ibm<5.15.0-1041.44
5.15.0-1041.44
ubuntu/linux-intel-iotg<5.15.0-1043.49
5.15.0-1043.49
ubuntu/linux-kvm<5.15.0-1045.50
5.15.0-1045.50
ubuntu/linux-lowlatency<5.15.0-87.96
5.15.0-87.96
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2<6.2.0-1015.15~22.04.1
6.2.0-1015.15~22.04.1
ubuntu/linux-nvidia<5.15.0-1039.39
5.15.0-1039.39
ubuntu/linux-nvidia-6.2<6.2.0-1011.11
6.2.0-1011.11
ubuntu/linux-nvidia-tegra<5.15.0-1019.19
5.15.0-1019.19
ubuntu/linux-nvidia-tegra-igx<5.15.0-1006.6
5.15.0-1006.6
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1<6.1.0-1023.23
6.1.0-1023.23
ubuntu/linux-oracle<5.15.0-1046.52
5.15.0-1046.52
ubuntu/linux-raspi<5.15.0-1041.44
5.15.0-1041.44
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2<6.2.0-1007.8~22.04.1
6.2.0-1007.8~22.04.1
ubuntu/linux-xilinx-zynqmp<5.15.0-1025.29
5.15.0-1025.29
ubuntu/linux-bluefield<5.15.0-1028.30
5.15.0-1028.30
ubuntu/linux-intel-iot-realtime<5.15.0-1041.43
5.15.0-1041.43
ubuntu/linux-realtime<5.15.0-1049.55
5.15.0-1049.55
ubuntu/linux-fips*
ubuntu/linux-raspi-realtime*
android/:linux_kernel:>=:0<:2024-05-05
:2024-05-05
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.4.12
  2. Upgrade

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

    Fixed in 4.4.0-1124.130
  3. Upgrade

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

    Fixed in 4.15.0-1171.186~14.04.1
  4. Upgrade

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

    Fixed in 4.4.0-246.280~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-246.280
  6. Upgrade

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

    Fixed in 4.4.0-1162.177
  7. Upgrade

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

    Fixed in 4.15.0-1162.175~16.04.1
  8. Upgrade

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

    Fixed in 4.15.0-1171.186~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-1156.173~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-219.230~16.04.1
  11. Upgrade

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

    Fixed in 4.4.0-1125.135
  12. Upgrade

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

    Fixed in 4.15.0-1125.136~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1094.101
  14. Upgrade

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

    Fixed in 4.15.0-219.230
  15. Upgrade

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

    Fixed in 4.15.0-1162.175
  16. Upgrade

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

    Fixed in 5.4.0-1112.121~18.04.2
  17. Upgrade

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

    Fixed in 4.15.0-1171.186
  18. Upgrade

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

    Fixed in 5.4.0-1118.125~18.04.1
  19. Upgrade

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

    Fixed in 4.15.0-1156.173
  20. Upgrade

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

    Fixed in 5.4.0-1116.125~18.04.1
  21. Upgrade

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

    Fixed in 5.4.0-165.182~18.04.1
  22. Upgrade

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

    Fixed in 5.4.0-1059.64~18.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1146.151
  24. Upgrade

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

    Fixed in 4.15.0-1125.136
  25. Upgrade

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

    Fixed in 5.4.0-1111.120~18.04.1
  26. Upgrade

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

    Fixed in 5.4.0-1096.107~18.04.1
  27. Upgrade

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

    Fixed in 4.15.0-2101.107
  28. Upgrade

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

    Fixed in 4.15.0-2080.86
  29. Upgrade

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

    Fixed in 4.15.0-1117.128
  30. Upgrade

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

    Fixed in 4.15.0-2064.69
  31. Upgrade

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

    Fixed in 5.4.0-165.182
  32. Upgrade

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

    Fixed in 5.4.0-1112.121
  33. Upgrade

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

    Fixed in 5.15.0-1048.53~20.04.1
  34. Upgrade

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

    Fixed in 5.4.0-1118.125
  35. Upgrade

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

    Fixed in 5.15.0-1050.57~20.04.1
  36. Upgrade

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

    Fixed in 5.4.0-1073.79
  37. Upgrade

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

    Fixed in 5.4.0-1116.125
  38. Upgrade

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

    Fixed in 5.15.0-1045.53~20.04.2
  39. Upgrade

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

    Fixed in 5.4.0-1079.83
  40. Upgrade

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

    Fixed in 5.15.0-1031.37~20.04.1
  41. Upgrade

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

    Fixed in 5.15.0-87.97~20.04.1
  42. Upgrade

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

    Fixed in 5.4.0-1059.64
  43. Upgrade

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

    Fixed in 5.15.0-1041.44~20.04.1
  44. Upgrade

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

    Fixed in 5.15.0-1043.49~20.04.1
  45. Upgrade

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

    Fixed in 5.4.0-1024.25
  46. Upgrade

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

    Fixed in 5.4.0-1101.107
  47. Upgrade

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

    Fixed in 5.15.0-87.96~20.04.1
  48. Upgrade

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

    Fixed in 5.15.0-1019.19~20.04.1
  49. Upgrade

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

    Fixed in 5.4.0-1111.120
  50. Upgrade

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

    Fixed in 5.15.0-1046.52~20.04.1
  51. Upgrade

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

    Fixed in 5.4.0-1096.107
  52. Upgrade

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

    Fixed in 5.15.0-1044.48~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1032.36
  54. Upgrade

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

    Fixed in 5.4.0-1112.121+fips1
  55. Upgrade

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

    Fixed in 5.4.0-1118.125+fips1
  56. Upgrade

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

    Fixed in 5.4.0-1087.96
  57. Upgrade

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

    Fixed in 5.4.0-1116.125+fips1
  58. Upgrade

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

    Fixed in 5.15.0-87.97
  59. Upgrade

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

    Fixed in 5.15.0-1048.53
  60. Upgrade

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

    Fixed in 6.2.0-1014.14~22.04.1
  61. Upgrade

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

    Fixed in 5.15.0-1050.57
  62. Upgrade

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

    Fixed in 6.2.0-1015.15~22.04.1
  63. Upgrade

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

    Fixed in 5.15.0-1050.57.1
  64. Upgrade

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

    Fixed in 6.2.0-1015.15~22.04.1.1
  65. Upgrade

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

    Fixed in 5.15.0-1045.53
  66. Upgrade

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

    Fixed in 6.2.0-1017.19~22.04.1
  67. Upgrade

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

    Fixed in 5.15.0-1045.50
  68. Upgrade

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

    Fixed in 5.15.0-1031.37
  69. Upgrade

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

    Fixed in 6.2.0-35.35~22.04.1
  70. Upgrade

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

    Fixed in 5.15.0-1041.44
  71. Upgrade

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

    Fixed in 5.15.0-1043.49
  72. Upgrade

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

    Fixed in 5.15.0-1045.50
  73. Upgrade

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

    Fixed in 5.15.0-87.96
  74. Upgrade

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

    Fixed in 6.2.0-1015.15~22.04.1
  75. Upgrade

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

    Fixed in 5.15.0-1039.39
  76. Upgrade

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

    Fixed in 6.2.0-1011.11
  77. Upgrade

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

    Fixed in 5.15.0-1019.19
  78. Upgrade

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

    Fixed in 5.15.0-1006.6
  79. Upgrade

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

    Fixed in 6.1.0-1023.23
  80. Upgrade

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

    Fixed in 5.15.0-1046.52
  81. Upgrade

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

    Fixed in 5.15.0-1041.44
  82. Upgrade

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

    Fixed in 6.2.0-1007.8~22.04.1
  83. Upgrade

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

    Fixed in 5.15.0-1025.29
  84. Upgrade

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

    Fixed in 5.15.0-1028.30
  85. Upgrade

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

    Fixed in 5.15.0-1041.43
  86. Upgrade

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

    Fixed in 5.15.0-1049.55
  87. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2024-05-05
  88. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  89. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 790c2f9d15b594350ae9bca7b236f2b1859de02c

Event History

Sep 6, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:17 PM
DescriptionSeverityAffected Software
May 1, 2024
Advisory Published
via OSV·12:00 AM
May 6, 2024
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
May 26, 2026
Exploit Published
via GitHub·02:13 PM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-4622?

CVE-2023-4622 is a use-after-free vulnerability in the Linux kernel's af_unix component that can be exploited to achieve local privilege escalation.

2

What is the severity of CVE-2023-4622?

The severity of CVE-2023-4622 is high (7.8).

3

How can CVE-2023-4622 be exploited?

CVE-2023-4622 can be exploited by using the unix_stream_sendpage() function to add data to the last skb in the peer's recv queue without locking the queue, creating a race condition.

4

Which software is affected by CVE-2023-4622?

The Linux kernel versions up to and including 6.4.15 and Debian Linux version 12.0 are affected by CVE-2023-4622.

5

How can I fix CVE-2023-4622?

To fix CVE-2023-4622, update the Linux kernel to versions 6.1.52-1 or higher and Debian Linux to version 6.5.3-1 or higher.

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