CVE-2023-52885: SUNRPC: Fix UAF in svc_tcp_listen_data_ready()

Published Jul 14, 2024
·
Updated

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

SUNRPC: Fix UAF in svctcplistendataready()

After the listener svcsock is freed, and before invoking svctcpaccept() for the established child sock, there is a window that the newsock retaining a freed listener svcsock in skuserdata which cloning from parent. In the race window, if data is received on the newsock, we will observe use-after-free report in svctcplistendataready().

Reproduce by two tasks:

1. while :; do rpc.nfsd 0 ; rpc.nfsd; done 2. while :; do echo "" | ncat -4 127.0.0.1 2049 ; done

KASAN report:

================================================================== BUG: KASAN: slab-use-after-free in svctcplistendataready+0x1cf/0x1f0 [sunrpc] Read of size 8 at addr ffff888139d96228 by task nc/102553 CPU: 7 PID: 102553 Comm: nc Not tainted 6.3.0+ #18 Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 Call Trace: <IRQ> dumpstacklvl+0x33/0x50 printaddressdescription.constprop.0+0x27/0x310 printreport+0x3e/0x70 kasanreport+0xae/0xe0 svctcplistendataready+0x1cf/0x1f0 [sunrpc] tcpdataqueue+0x9f4/0x20e0 tcprcvestablished+0x666/0x1f60 tcpv4dorcv+0x51c/0x850 tcpv4rcv+0x23fc/0x2e80 ipprotocoldeliverrcu+0x62/0x300 iplocaldeliverfinish+0x267/0x350 iplocaldeliver+0x18b/0x2d0 iprcv+0x2fb/0x370 netifreceiveskbonecore+0x166/0x1b0 processbacklog+0x24c/0x5e0 napipoll+0xa2/0x500 netrxaction+0x854/0xc90 dosoftirq+0x1bb/0x5de dosoftirq+0xcb/0x100 </IRQ> <TASK> ... </TASK>

Allocated by task 102371: kasansavestack+0x1e/0x40 kasansettrack+0x21/0x30 kasankmalloc+0x7b/0x90 svcsetupsocket+0x52/0x4f0 [sunrpc] svcaddsock+0x20d/0x400 [sunrpc] writeportsaddfd+0x209/0x390 [nfsd] writeports+0x239/0x2c0 [nfsd] nfsctltransactionwrite+0xac/0x110 [nfsd] vfswrite+0x1c3/0xae0 ksyswrite+0xed/0x1c0 dosyscall64+0x38/0x90 entrySYSCALL64afterhwframe+0x72/0xdc

Freed by task 102551: kasansavestack+0x1e/0x40 kasansettrack+0x21/0x30 kasansavefreeinfo+0x2a/0x50 kasanslabfree+0x106/0x190 kmemcachefree+0x133/0x270 svcxprtfree+0x1e2/0x350 [sunrpc] svcxprtdestroyall+0x25a/0x440 [sunrpc] nfsdput+0x125/0x240 [nfsd] nfsdsvc+0x2cb/0x3c0 [nfsd] writethreads+0x1ac/0x2a0 [nfsd] nfsctltransactionwrite+0xac/0x110 [nfsd] vfswrite+0x1c3/0xae0 ksyswrite+0xed/0x1c0 dosyscall64+0x38/0x90 entrySYSCALL64afterhwframe+0x72/0xdc

Fix the UAF by simply doing nothing in svctcplistendataready() if state != TCPLISTEN, that will avoid dereferencing svsk for all child socket.

Affected Software

162 affected componentsFixes available
Linux Linux kernel>=4.8<4.14.322
Linux Linux kernel>=4.15<4.19.291
Linux Linux kernel>=4.20<5.4.251
Linux Linux kernel>=5.5<5.10.188
Linux Linux kernel>=5.11<5.15.121
Linux Linux kernel>=5.16<6.1.39
Linux Linux kernel>=6.2<6.4.4
redhat/kernel<4.14.322
4.14.322
redhat/kernel<4.19.291
4.19.291
redhat/kernel<5.4.251
5.4.251
redhat/kernel<5.10.188
5.10.188
redhat/kernel<5.15.121
5.15.121
redhat/kernel<6.1.39
6.1.39
redhat/kernel<6.4.4
6.4.4
redhat/kernel<6.5
6.5
ubuntu/linux-azure<4.15.0-1191.206~14.04.1
4.15.0-1191.206~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1183.196~16.04.1
4.15.0-1183.196~16.04.1
ubuntu/linux-azure<4.15.0-1191.206~16.04.1
4.15.0-1191.206~16.04.1
ubuntu/linux-gcp<4.15.0-1176.193~16.04.1
4.15.0-1176.193~16.04.1
ubuntu/linux-hwe<4.15.0-240.252~16.04.1
4.15.0-240.252~16.04.1
ubuntu/linux-oracle<4.15.0-1145.156~16.04.1
4.15.0-1145.156~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-240.252
4.15.0-240.252
ubuntu/linux-aws<4.15.0-1183.196
4.15.0-1183.196
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1113.123~18.04.1
5.4.0-1113.123~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1191.206
4.15.0-1191.206
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1119.126~18.04.2
5.4.0-1119.126~18.04.2
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1176.193
4.15.0-1176.193
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1117.126~18.04.1
5.4.0-1117.126~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-166.183~18.04.2
5.4.0-166.183~18.04.2
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1060.65~18.04.1
5.4.0-1060.65~18.04.1
ubuntu/linux-kvm<4.15.0-1166.171
4.15.0-1166.171
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1145.156
4.15.0-1145.156
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1112.121~18.04.4
5.4.0-1112.121~18.04.4
ubuntu/linux-raspi-5.4<5.4.0-1097.109~18.04.2
5.4.0-1097.109~18.04.2
ubuntu/linux-aws-fips<4.15.0-2121.127
4.15.0-2121.127
ubuntu/linux-azure-fips<4.15.0-2100.106
4.15.0-2100.106
ubuntu/linux-fips<4.15.0-1138.149
4.15.0-1138.149
ubuntu/linux-gcp-fips<4.15.0-2084.90
4.15.0-2084.90
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-166.183
5.4.0-166.183
ubuntu/linux-aws<5.4.0-1113.123
5.4.0-1113.123
ubuntu/linux-aws-5.15<5.15.0-1047.52~20.04.1
5.15.0-1047.52~20.04.1
ubuntu/linux-azure<5.4.0-1119.126
5.4.0-1119.126
ubuntu/linux-azure-5.15<5.15.0-1049.56~20.04.1
5.15.0-1049.56~20.04.1
ubuntu/linux-bluefield<5.4.0-1074.80
5.4.0-1074.80
ubuntu/linux-gcp<5.4.0-1117.126
5.4.0-1117.126
ubuntu/linux-gcp-5.15<5.15.0-1044.52~20.04.1
5.15.0-1044.52~20.04.1
ubuntu/linux-gkeop<5.4.0-1080.84
5.4.0-1080.84
ubuntu/linux-gkeop-5.15<5.15.0-1030.35~20.04.1
5.15.0-1030.35~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-86.96~20.04.1
5.15.0-86.96~20.04.1
ubuntu/linux-ibm<5.4.0-1060.65
5.4.0-1060.65
ubuntu/linux-ibm-5.15<5.15.0-1040.43~20.04.1
5.15.0-1040.43~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-1025.26
5.4.0-1025.26
ubuntu/linux-kvm<5.4.0-1102.108
5.4.0-1102.108
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-86.95~20.04.1
5.15.0-86.95~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1018.18~20.04.1
5.15.0-1018.18~20.04.1
ubuntu/linux-oracle<5.4.0-1112.121
5.4.0-1112.121
ubuntu/linux-oracle-5.15<5.15.0-1045.51~20.04.1
5.15.0-1045.51~20.04.1
ubuntu/linux-raspi<5.4.0-1097.109
5.4.0-1097.109
ubuntu/linux-riscv-5.15<5.15.0-1043.47~20.04.1
5.15.0-1043.47~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1033.37
5.4.0-1033.37
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-1113.123+fips1
5.4.0-1113.123+fips1
ubuntu/linux-azure-fips<5.4.0-1119.126+fips1
5.4.0-1119.126+fips1
ubuntu/linux-fips<5.4.0-1088.97
5.4.0-1088.97
ubuntu/linux-gcp-fips<5.4.0-1117.126+fips1
5.4.0-1117.126+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-86.96
5.15.0-86.96
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1047.52
5.15.0-1047.52
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-azure<5.15.0-1049.56
5.15.0-1049.56
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-fde<5.15.0-1049.56.1
5.15.0-1049.56.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1044.52
5.15.0-1044.52
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gke<5.15.0-1044.49
5.15.0-1044.49
ubuntu/linux-gkeop<5.15.0-1030.35
5.15.0-1030.35
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-ibm<5.15.0-1040.43
5.15.0-1040.43
ubuntu/linux-intel-iotg<5.15.0-1043.49
5.15.0-1043.49
ubuntu/linux-kvm<5.15.0-1044.49
5.15.0-1044.49
ubuntu/linux-lowlatency<5.15.0-86.95
5.15.0-86.95
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-nvidia<5.15.0-1037.37
5.15.0-1037.37
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-tegra<5.15.0-1018.18
5.15.0-1018.18
ubuntu/linux-nvidia-tegra-igx<5.15.0-1005.5
5.15.0-1005.5
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oracle<5.15.0-1045.51
5.15.0-1045.51
ubuntu/linux-raspi<5.15.0-1040.43
5.15.0-1040.43
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-xilinx-zynqmp<5.15.0-1025.29
5.15.0-1025.29
ubuntu/linux-bluefield<5.15.0-1027.29
5.15.0-1027.29
ubuntu/linux-intel-iot-realtime<5.15.0-1040.42
5.15.0-1040.42
ubuntu/linux-realtime<5.15.0-1048.54
5.15.0-1048.54
ubuntu/linux-fips*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

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.14.322
  2. Upgrade

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

    Fixed in 4.19.291
  3. Upgrade

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

    Fixed in 5.4.251
  4. Upgrade

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

    Fixed in 5.10.188
  5. Upgrade

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

    Fixed in 5.15.121
  6. Upgrade

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

    Fixed in 6.1.39
  7. Upgrade

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

    Fixed in 6.4.4
  8. Upgrade

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

    Fixed in 6.5
  9. Upgrade

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

    Fixed in 4.15.0-1191.206~14.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1183.196~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1191.206~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-1176.193~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-240.252~16.04.1
  14. Upgrade

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

    Fixed in 4.15.0-1145.156~16.04.1
  15. Upgrade

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

    Fixed in 4.15.0-240.252
  16. Upgrade

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

    Fixed in 4.15.0-1183.196
  17. Upgrade

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

    Fixed in 5.4.0-1113.123~18.04.1
  18. Upgrade

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

    Fixed in 4.15.0-1191.206
  19. Upgrade

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

    Fixed in 5.4.0-1119.126~18.04.2
  20. Upgrade

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

    Fixed in 4.15.0-1176.193
  21. Upgrade

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

    Fixed in 5.4.0-1117.126~18.04.1
  22. Upgrade

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

    Fixed in 5.4.0-166.183~18.04.2
  23. Upgrade

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

    Fixed in 5.4.0-1060.65~18.04.1
  24. Upgrade

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

    Fixed in 4.15.0-1166.171
  25. Upgrade

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

    Fixed in 4.15.0-1145.156
  26. Upgrade

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

    Fixed in 5.4.0-1112.121~18.04.4
  27. Upgrade

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

    Fixed in 5.4.0-1097.109~18.04.2
  28. Upgrade

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

    Fixed in 4.15.0-2121.127
  29. Upgrade

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

    Fixed in 4.15.0-2100.106
  30. Upgrade

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

    Fixed in 4.15.0-1138.149
  31. Upgrade

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

    Fixed in 4.15.0-2084.90
  32. Upgrade

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

    Fixed in 5.4.0-166.183
  33. Upgrade

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

    Fixed in 5.4.0-1113.123
  34. Upgrade

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

    Fixed in 5.15.0-1047.52~20.04.1
  35. Upgrade

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

    Fixed in 5.4.0-1119.126
  36. Upgrade

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

    Fixed in 5.15.0-1049.56~20.04.1
  37. Upgrade

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

    Fixed in 5.4.0-1074.80
  38. Upgrade

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

    Fixed in 5.4.0-1117.126
  39. Upgrade

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

    Fixed in 5.15.0-1044.52~20.04.1
  40. Upgrade

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

    Fixed in 5.4.0-1080.84
  41. Upgrade

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

    Fixed in 5.15.0-1030.35~20.04.1
  42. Upgrade

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

    Fixed in 5.15.0-86.96~20.04.1
  43. Upgrade

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

    Fixed in 5.4.0-1060.65
  44. Upgrade

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

    Fixed in 5.15.0-1040.43~20.04.1
  45. 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
  46. Upgrade

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

    Fixed in 5.4.0-1025.26
  47. Upgrade

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

    Fixed in 5.4.0-1102.108
  48. Upgrade

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

    Fixed in 5.15.0-86.95~20.04.1
  49. Upgrade

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

    Fixed in 5.15.0-1018.18~20.04.1
  50. Upgrade

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

    Fixed in 5.4.0-1112.121
  51. Upgrade

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

    Fixed in 5.15.0-1045.51~20.04.1
  52. Upgrade

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

    Fixed in 5.4.0-1097.109
  53. Upgrade

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

    Fixed in 5.15.0-1043.47~20.04.1
  54. Upgrade

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

    Fixed in 5.4.0-1033.37
  55. Upgrade

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

    Fixed in 5.4.0-1113.123+fips1
  56. Upgrade

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

    Fixed in 5.4.0-1119.126+fips1
  57. Upgrade

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

    Fixed in 5.4.0-1088.97
  58. Upgrade

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

    Fixed in 5.4.0-1117.126+fips1
  59. Upgrade

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

    Fixed in 5.15.0-86.96
  60. Upgrade

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

    Fixed in 5.15.0-1047.52
  61. Upgrade

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

    Fixed in 5.15.0-1049.56
  62. Upgrade

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

    Fixed in 5.15.0-1049.56.1
  63. Upgrade

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

    Fixed in 5.15.0-1044.52
  64. Upgrade

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

    Fixed in 5.15.0-1044.49
  65. Upgrade

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

    Fixed in 5.15.0-1030.35
  66. Upgrade

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

    Fixed in 5.15.0-1040.43
  67. Upgrade

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

    Fixed in 5.15.0-1043.49
  68. Upgrade

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

    Fixed in 5.15.0-1044.49
  69. Upgrade

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

    Fixed in 5.15.0-86.95
  70. Upgrade

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

    Fixed in 5.15.0-1037.37
  71. Upgrade

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

    Fixed in 5.15.0-1018.18
  72. Upgrade

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

    Fixed in 5.15.0-1005.5
  73. Upgrade

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

    Fixed in 5.15.0-1045.51
  74. Upgrade

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

    Fixed in 5.15.0-1040.43
  75. Upgrade

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

    Fixed in 5.15.0-1025.29
  76. Upgrade

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

    Fixed in 5.15.0-1027.29
  77. Upgrade

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

    Fixed in 5.15.0-1040.42
  78. Upgrade

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

    Fixed in 5.15.0-1048.54
  79. Compensating control

    Modify svc_tcp_listen_data_ready() to do nothing and return when the socket state is not TCP_LISTEN, preventing dereferencing svsk for child sockets.

Event History

Jul 14, 2024
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
DescriptionSeverity
Data Sourced
via OSV·08:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:20 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52885?

CVE-2023-52885 is classified as a high severity vulnerability due to its potential impact on system stability and security.

2

How do I fix CVE-2023-52885?

To fix CVE-2023-52885, update the Linux kernel to versions 4.14.322, 4.19.291, 5.4.251, 5.10.188, 5.15.121, 6.1.39, 6.4.4, or 6.5.

3

Which systems are affected by CVE-2023-52885?

CVE-2023-52885 affects various versions of the Linux kernel, specifically those prior to the patched versions mentioned.

4

What types of attacks can exploit CVE-2023-52885?

CVE-2023-52885 can potentially be exploited through a denial-of-service attack or by allowing an unauthorized user to gain elevated privileges.

5

Is there a known workaround for CVE-2023-52885?

Currently, there are no known effective workarounds for CVE-2023-52885; updating the kernel is the recommended solution.

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