CVE-2023-1118: Use After Free

Published Feb 10, 2023
·
Updated

A flaw in the Linux Kernel found. There are use-after-free vulnerabilities in drivers/media/rc/eneir.c of linux that allow attacker to crash linux kernel without any privilege by detaching rc device.

When the rc device is detaching, function eneremove() will be called. But the synchronizations in eneremove() are bad. The situations that may lead to race conditions are shown below.

Firstly, the rx receiver is disabled with enerxdisable() before rcunregisterdevice() in eneremove(), which means it can be enabled again if a process opens /dev/lirc0 between enerxdisable() and rcunregisterdevice().

(cleanup routine) | (open routine) eneremove() | enerxdisable(dev); | eneopen() | enerxenable(dev); //re-enable!

Secondly, the irqaction descriptor is freed by freeirq() before the rc device is unregistered, which means irqaction descriptor may be accessed again after it is deallocated.

(free routine) | (use routine) eneremove() | enerxenable() freeirq(dev->irq, ...); //FREE | enerxenablehw() | enewritereg(..., dev->irq << 1) //USE |

Thirdly, the timer can call enetxsample() that can write to the io ports, which means the io ports could be accessed again after they are deallocated by releaseregion().

(free routine) | (use routine) eneremove() | enetxsample() releaseregion(dev->hwio, ...); //FREE | enewritereg() | outb(..., dev->hwio + ENEIO) //USE

Fourthly, there is no function to cancel txsimtimer in eneremove(), the timer handler enetxirqsim() could race with eneremove(). As a result, the UAF bugs could happen, the process is shown below.

(free routine) | (use routine) | modtimer(&dev->txsimtimer, ..) eneremove() | (wait a time) kfree(dev) //FREE | enetxirqsim() | dev->hwlock //USE | enetxsample(dev) //USE

------------------------------------------

Reference: https://github.com/torvalds/linux/commit/29b0589a865b6f66d141d79b2dd1373e4e50fe17

Other sources

A flaw use after free in the Linux kernel integrated infrared receiver/transceiver driver was found in the way user detaching rc device. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.

— Ubuntu

A use-after-free flaw was found in the Linux kernel's integrated infrared receiver/transceiver driver. This issue occurs when a user detaches a rc device. This could allow a local user to crash the system or potentially escalate their privileges on the system.

Linux Kernel is vulnerable to a denial of service, caused by a use-after-free flaw in drivers/media/rc/eneir.c. By sending a specially-crafted request, a local attacker could exploit this vulnerability to cause the kernel to crash.

— IBM

Affected Software

145 affected componentsFixes available
Linux Linux kernel>=2.6.36<4.14.308
Linux Linux kernel>=4.15<4.19.276
Linux Linux kernel>=4.20<5.4.235
Linux Linux kernel>=5.5<5.10.173
Linux Linux kernel>=5.11<5.15.99
Linux Linux kernel>=5.16<6.1.16
Linux Linux kernel>=6.2<6.2.3
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
redhat/linux kernel<6.3
6.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
ubuntu/linux-aws<4.4.0-1117.123
4.4.0-1117.123
ubuntu/linux-azure<4.15.0-1165.180~14.04.1
4.15.0-1165.180~14.04.1
ubuntu/linux-lts-xenial<4.4.0-239.273~14.04.1
4.4.0-239.273~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-239.273
4.4.0-239.273
ubuntu/linux-aws<4.4.0-1155.170
4.4.0-1155.170
ubuntu/linux-aws-hwe<4.15.0-1156.169~16.04.1
4.15.0-1156.169~16.04.1
ubuntu/linux-azure<4.15.0-1165.180~16.04.1
4.15.0-1165.180~16.04.1
ubuntu/linux-gcp<4.15.0-1150.166~16.04.1
4.15.0-1150.166~16.04.1
ubuntu/linux-hwe<4.15.0-211.222~16.04.1
4.15.0-211.222~16.04.1
ubuntu/linux-kvm<4.4.0-1118.128
4.4.0-1118.128
ubuntu/linux-oracle<4.15.0-1119.130~16.04.1
4.15.0-1119.130~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1088.95
4.4.0-1088.95
ubuntu/linux-fips*
ubuntu/linux<4.15.0-211.222
4.15.0-211.222
ubuntu/linux-aws<4.15.0-1156.169
4.15.0-1156.169
ubuntu/linux-aws-5.4<5.4.0-1103.111~18.04.1
5.4.0-1103.111~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1165.180
4.15.0-1165.180
ubuntu/linux-azure-5.4<5.4.0-1108.114~18.04.1
5.4.0-1108.114~18.04.1
ubuntu/linux-gcp-4.15<4.15.0-1150.166
4.15.0-1150.166
ubuntu/linux-gcp-5.4<5.4.0-1105.114~18.04.1
5.4.0-1105.114~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-149.166~18.04.1
5.4.0-149.166~18.04.1
ubuntu/linux-ibm-5.4<5.4.0-1049.54~18.04.1
5.4.0-1049.54~18.04.1
ubuntu/linux-kvm<4.15.0-1140.145
4.15.0-1140.145
ubuntu/linux-oracle<4.15.0-1119.130
4.15.0-1119.130
ubuntu/linux-oracle-5.4<5.4.0-1101.110~18.04.1
5.4.0-1101.110~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1085.96~18.04.1
5.4.0-1085.96~18.04.1
ubuntu/linux-raspi2<4.15.0-1132.140
4.15.0-1132.140
ubuntu/linux-snapdragon<4.15.0-1150.160
4.15.0-1150.160
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2095.101
4.15.0-2095.101
ubuntu/linux-azure-fips<4.15.0-2074.80
4.15.0-2074.80
ubuntu/linux-fips<4.15.0-1111.122
4.15.0-1111.122
ubuntu/linux-gcp-fips<4.15.0-2058.63
4.15.0-2058.63
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-149.166
5.4.0-149.166
ubuntu/linux-aws<5.4.0-1102.110
5.4.0-1102.110
ubuntu/linux-aws-5.15<5.15.0-1036.40~20.04.1
5.15.0-1036.40~20.04.1
ubuntu/linux-azure<5.4.0-1108.114
5.4.0-1108.114
ubuntu/linux-azure-5.15<5.15.0-1038.45~20.04.1
5.15.0-1038.45~20.04.1
ubuntu/linux-bluefield<5.4.0-1064.70
5.4.0-1064.70
ubuntu/linux-gcp<5.4.0-1105.114
5.4.0-1105.114
ubuntu/linux-gcp-5.15<5.15.0-1034.42~20.04.1
5.15.0-1034.42~20.04.1
ubuntu/linux-gke<5.4.0-1099.106
5.4.0-1099.106
ubuntu/linux-gke-5.15<5.15.0-1033.38~20.04.1
5.15.0-1033.38~20.04.1
ubuntu/linux-gkeop<5.4.0-1069.73
5.4.0-1069.73
ubuntu/linux-gkeop-5.15<5.15.0-1020.25~20.04.1
5.15.0-1020.25~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-72.79~20.04.1
5.15.0-72.79~20.04.1
ubuntu/linux-ibm<5.4.0-1049.54
5.4.0-1049.54
ubuntu/linux-intel-iotg-5.15<5.15.0-1030.35~20.04.1
5.15.0-1030.35~20.04.1
ubuntu/linux-iot<5.4.0-1017.18
5.4.0-1017.18
ubuntu/linux-kvm<5.4.0-1091.97
5.4.0-1091.97
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-72.79~20.04.1
5.15.0-72.79~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1014.14~20.04.1
5.15.0-1014.14~20.04.1
ubuntu/linux-oracle<5.4.0-1101.110
5.4.0-1101.110
ubuntu/linux-oracle-5.15<5.15.0-1035.41~20.04.1
5.15.0-1035.41~20.04.1
ubuntu/linux-raspi<5.4.0-1085.96
5.4.0-1085.96
ubuntu/linux-riscv-5.15<5.15.0-1033.37~20.04.1
5.15.0-1033.37~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1024.28
5.4.0-1024.28
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-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
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-1102.110+fips1
5.4.0-1102.110+fips1
ubuntu/linux-azure-fips<5.4.0-1108.114+fips1
5.4.0-1108.114+fips1
ubuntu/linux-fips<5.4.0-1077.86
5.4.0-1077.86
ubuntu/linux-gcp-fips<5.4.0-1105.114+fips1
5.4.0-1105.114+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-72.79
5.15.0-72.79
ubuntu/linux-aws<5.15.0-1036.40
5.15.0-1036.40
ubuntu/linux-azure<5.15.0-1038.45
5.15.0-1038.45
ubuntu/linux-azure-5.19<5.19.0-1026.29~22.04.1
5.19.0-1026.29~22.04.1
ubuntu/linux-azure-fde<5.15.0-1038.45.1
5.15.0-1038.45.1
ubuntu/linux-gcp<5.15.0-1034.42
5.15.0-1034.42
ubuntu/linux-gke<5.15.0-1033.38
5.15.0-1033.38
ubuntu/linux-gkeop<5.15.0-1020.25
5.15.0-1020.25
ubuntu/linux-hwe-5.19<5.19.0-42.43~22.04.1
5.19.0-42.43~22.04.1
ubuntu/linux-ibm<5.15.0-1030.33
5.15.0-1030.33
ubuntu/linux-intel-iotg<5.15.0-1030.35
5.15.0-1030.35
ubuntu/linux-kvm<5.15.0-1033.38
5.15.0-1033.38
ubuntu/linux-lowlatency<5.15.0-72.79
5.15.0-72.79
ubuntu/linux-lowlatency-hwe-5.19<5.19.0-1024.25~22.04.1
5.19.0-1024.25~22.04.1
ubuntu/linux-nvidia<5.15.0-1025.25
5.15.0-1025.25
ubuntu/linux-oem-5.17<5.17.0-1030.31
5.17.0-1030.31
ubuntu/linux-oem-6.0<6.0.0-1014.14
6.0.0-1014.14
ubuntu/linux-oem-6.1<6.1.0-1009.9
6.1.0-1009.9
ubuntu/linux-oracle<5.15.0-1035.41
5.15.0-1035.41
ubuntu/linux-raspi<5.15.0-1029.31
5.15.0-1029.31
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-bluefield<5.15.0-1017.19
5.15.0-1017.19
ubuntu/linux-intel-iot-realtime<5.15.0-1028.33
5.15.0-1028.33
ubuntu/linux-realtime<5.15.0-1038.41
5.15.0-1038.41
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.3
  2. 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.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  3. Upgrade

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

    Fixed in 4.4.0-1117.123
  4. Upgrade

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

    Fixed in 4.15.0-1165.180~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-239.273~14.04.1
  6. Upgrade

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

    Fixed in 4.4.0-239.273
  7. Upgrade

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

    Fixed in 4.4.0-1155.170
  8. Upgrade

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

    Fixed in 4.15.0-1156.169~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-1165.180~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1150.166~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-211.222~16.04.1
  12. Upgrade

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

    Fixed in 4.4.0-1118.128
  13. Upgrade

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

    Fixed in 4.15.0-1119.130~16.04.1
  14. Upgrade

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

    Fixed in 4.4.0-1088.95
  15. Upgrade

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

    Fixed in 4.15.0-211.222
  16. Upgrade

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

    Fixed in 4.15.0-1156.169
  17. Upgrade

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

    Fixed in 5.4.0-1103.111~18.04.1
  18. Upgrade

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

    Fixed in 4.15.0-1165.180
  19. Upgrade

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

    Fixed in 5.4.0-1108.114~18.04.1
  20. Upgrade

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

    Fixed in 4.15.0-1150.166
  21. Upgrade

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

    Fixed in 5.4.0-1105.114~18.04.1
  22. Upgrade

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

    Fixed in 5.4.0-149.166~18.04.1
  23. Upgrade

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

    Fixed in 5.4.0-1049.54~18.04.1
  24. Upgrade

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

    Fixed in 4.15.0-1140.145
  25. Upgrade

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

    Fixed in 4.15.0-1119.130
  26. Upgrade

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

    Fixed in 5.4.0-1101.110~18.04.1
  27. Upgrade

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

    Fixed in 5.4.0-1085.96~18.04.1
  28. Upgrade

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

    Fixed in 4.15.0-1132.140
  29. Upgrade

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

    Fixed in 4.15.0-1150.160
  30. Upgrade

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

    Fixed in 4.15.0-2095.101
  31. Upgrade

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

    Fixed in 4.15.0-2074.80
  32. Upgrade

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

    Fixed in 4.15.0-1111.122
  33. Upgrade

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

    Fixed in 4.15.0-2058.63
  34. Upgrade

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

    Fixed in 5.4.0-149.166
  35. Upgrade

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

    Fixed in 5.4.0-1102.110
  36. Upgrade

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

    Fixed in 5.15.0-1036.40~20.04.1
  37. Upgrade

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

    Fixed in 5.4.0-1108.114
  38. Upgrade

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

    Fixed in 5.15.0-1038.45~20.04.1
  39. Upgrade

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

    Fixed in 5.4.0-1064.70
  40. Upgrade

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

    Fixed in 5.4.0-1105.114
  41. Upgrade

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

    Fixed in 5.15.0-1034.42~20.04.1
  42. Upgrade

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

    Fixed in 5.4.0-1099.106
  43. Upgrade

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

    Fixed in 5.15.0-1033.38~20.04.1
  44. Upgrade

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

    Fixed in 5.4.0-1069.73
  45. Upgrade

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

    Fixed in 5.15.0-1020.25~20.04.1
  46. Upgrade

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

    Fixed in 5.15.0-72.79~20.04.1
  47. Upgrade

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

    Fixed in 5.4.0-1049.54
  48. Upgrade

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

    Fixed in 5.15.0-1030.35~20.04.1
  49. Upgrade

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

    Fixed in 5.4.0-1017.18
  50. Upgrade

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

    Fixed in 5.4.0-1091.97
  51. Upgrade

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

    Fixed in 5.15.0-72.79~20.04.1
  52. Upgrade

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

    Fixed in 5.15.0-1014.14~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1101.110
  54. Upgrade

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

    Fixed in 5.15.0-1035.41~20.04.1
  55. Upgrade

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

    Fixed in 5.4.0-1085.96
  56. Upgrade

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

    Fixed in 5.15.0-1033.37~20.04.1
  57. Upgrade

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

    Fixed in 5.4.0-1024.28
  58. Upgrade

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

    Fixed in 5.4.0-1102.110+fips1
  59. Upgrade

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

    Fixed in 5.4.0-1108.114+fips1
  60. Upgrade

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

    Fixed in 5.4.0-1077.86
  61. Upgrade

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

    Fixed in 5.4.0-1105.114+fips1
  62. Upgrade

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

    Fixed in 5.15.0-72.79
  63. Upgrade

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

    Fixed in 5.15.0-1036.40
  64. Upgrade

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

    Fixed in 5.15.0-1038.45
  65. Upgrade

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

    Fixed in 5.19.0-1026.29~22.04.1
  66. Upgrade

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

    Fixed in 5.15.0-1038.45.1
  67. Upgrade

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

    Fixed in 5.15.0-1034.42
  68. Upgrade

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

    Fixed in 5.15.0-1033.38
  69. Upgrade

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

    Fixed in 5.15.0-1020.25
  70. Upgrade

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

    Fixed in 5.19.0-42.43~22.04.1
  71. Upgrade

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

    Fixed in 5.15.0-1030.33
  72. Upgrade

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

    Fixed in 5.15.0-1030.35
  73. Upgrade

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

    Fixed in 5.15.0-1033.38
  74. Upgrade

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

    Fixed in 5.15.0-72.79
  75. Upgrade

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

    Fixed in 5.19.0-1024.25~22.04.1
  76. Upgrade

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

    Fixed in 5.15.0-1025.25
  77. Upgrade

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

    Fixed in 5.17.0-1030.31
  78. Upgrade

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

    Fixed in 6.0.0-1014.14
  79. Upgrade

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

    Fixed in 6.1.0-1009.9
  80. Upgrade

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

    Fixed in 5.15.0-1035.41
  81. Upgrade

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

    Fixed in 5.15.0-1029.31
  82. Upgrade

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

    Fixed in 5.15.0-1017.19
  83. Upgrade

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

    Fixed in 5.15.0-1028.33
  84. Upgrade

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

    Fixed in 5.15.0-1038.41
  85. Configuration

    Blacklist the ene_ir kernel module to prevent it from being loaded automatically.

    Linux kernel module ene_ir module loading = disabled

Event History

Feb 10, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
Mar 1, 2023
Data Sourced
via Red Hat·01:46 PM
DescriptionSeverityAffected Software
Mar 2, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected 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-2023-1118?

CVE-2023-1118 is classified as a high severity vulnerability due to its potential to cause kernel crashes.

2

How do I fix CVE-2023-1118?

To fix CVE-2023-1118, upgrade to the Linux kernel version 6.3 or later.

3

Which versions of the Linux kernel are affected by CVE-2023-1118?

CVE-2023-1118 affects Linux kernel versions prior to 6.3 and various versions between 2.6.36 and 6.2.3.

4

Can CVE-2023-1118 be exploited remotely?

Yes, CVE-2023-1118 can be exploited remotely without any privileges by detaching an RC device.

5

What component in the Linux kernel is vulnerable in CVE-2023-1118?

The vulnerability CVE-2023-1118 is found in the drivers/media/rc/ene_ir.c component of the Linux kernel.

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