Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-54170 on Ubuntu — linux

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

In the Linux kernel, the following vulnerability has been resolved: keys: Fix linking a duplicate key to a keyring's assoc_array When making a DNS query inside the kernel using dns_query(), the request code can in rare cases end up creating a duplicate index key in the assoc_array of the destination keyring. It is eventually found by a BUG_ON() check in the assoc_array implementation and results in a crash. Example report: [2158499.700025] kernel BUG at ../lib/assoc_array.c:652! [2158499.700039] invalid opcode: 0000 [#1] SMP PTI [2158499.700065] CPU: 3 PID: 31985 Comm: kworker/3:1 Kdump: loaded Not tainted 5.3.18-150300.59.90-default #1 SLE15-SP3 [2158499.700096] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 [2158499.700351] Workqueue: cifsiod cifs_resolve_server [cifs] [2158499.700380] RIP: 0010:assoc_array_insert+0x85f/0xa40 [2158499.700401] Code: ff 74 2b 48 8b 3b 49 8b 45 18 4c 89 e6 48 83 e7 fe e8 95 ec 74 00 3b 45 88 7d db 85 c0 79 d4 0f 0b 0f 0b 0f 0b e8 41 f2 be ff <0f> 0b 0f 0b 81 7d 88 ff ff ff 7f 4c 89 eb 4c 8b ad 58 ff ff ff 0f [2158499.700448] RSP: 0018:ffffc0bd6187faf0 EFLAGS: 00010282 [2158499.700470] RAX: ffff9f1ea7da2fe8 RBX: ffff9f1ea7da2fc1 RCX: 0000000000000005 [2158499.700492] RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 [2158499.700515] RBP: ffffc0bd6187fbb0 R08: ffff9f185faf1100 R09: 0000000000000000 [2158499.700538] R10: ffff9f1ea7da2cc0 R11: 000000005ed8cec8 R12: ffffc0bd6187fc28 [2158499.700561] R13: ffff9f15feb8d000 R14: ffff9f1ea7da2fc0 R15: ffff9f168dc0d740 [2158499.700585] FS: 0000000000000000(0000) GS:ffff9f185fac0000(0000) knlGS:0000000000000000 [2158499.700610] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [2158499.700630] CR2: 00007fdd94fca238 CR3: 0000000809d8c006 CR4: 00000000003706e0 [2158499.700702] Call Trace: [2158499.700741] ? key_alloc+0x447/0x4b0 [2158499.700768] ? __key_link_begin+0x43/0xa0 [2158499.700790] __key_link_begin+0x43/0xa0 [2158499.700814] request_key_and_link+0x2c7/0x730 [2158499.700847] ? dns_resolver_read+0x20/0x20 [dns_resolver] [2158499.700873] ? key_default_cmp+0x20/0x20 [2158499.700898] request_key_tag+0x43/0xa0 [2158499.700926] dns_query+0x114/0x2ca [dns_resolver] [2158499.701127] dns_resolve_server_name_to_ip+0x194/0x310 [cifs] [2158499.701164] ? scnprintf+0x49/0x90 [2158499.701190] ? __switch_to_asm+0x40/0x70 [2158499.701211] ? __switch_to_asm+0x34/0x70 [2158499.701405] reconn_set_ipaddr_from_hostname+0x81/0x2a0 [cifs] [2158499.701603] cifs_resolve_server+0x4b/0xd0 [cifs] [2158499.701632] process_one_work+0x1f8/0x3e0 [2158499.701658] worker_thread+0x2d/0x3f0 [2158499.701682] ? process_one_work+0x3e0/0x3e0 [2158499.701703] kthread+0x10d/0x130 [2158499.701723] ? kthread_park+0xb0/0xb0 [2158499.701746] ret_from_fork+0x1f/0x40 The situation occurs as follows: * Some kernel facility invokes dns_query() to resolve a hostname, for example, "abcdef". The function registers its global DNS resolver cache as current->cred.thread_keyring and passes the query to request_key_net() -> request_key_tag() -> request_key_and_link(). * Function request_key_and_link() creates a keyring_search_context object. Its match_data.cmp method gets set via a call to type->match_preparse() (resolves to dns_resolver_match_preparse()) to dns_resolver_cmp(). * Function request_key_and_link() continues and invokes search_process_keyrings_rcu() which returns that a given key was not found. The control is then passed to request_key_and_link() -> construct_alloc_key(). * Concurrently to that, a second task similarly makes a DNS query for "abcdef." and its result gets inserted into the DNS resolver cache. * Back on the first task, function construct_alloc_key() first runs __key_link_begin() to determine an assoc_array_edit operation to insert a new key. Index keys in the array are compared exactly as-is, using keyring_compare_object(). The operation ---truncated---

Distribution advisory

This page covers CVE-2023-54170 as tracked by Ubuntu, for the package linux. The fix is available in version 5.15.0-88.98; earlier versions remain affected.

Affected software

UBUNTU-CVE-2023-54170 is recorded against 120 packages.

  • linux (fixed in 5.15.0-88.98)
  • linux-allwinner-5.19
  • linux-aws (fixed in 5.15.0-1049.54)
  • linux-aws-5.0
  • linux-aws-5.11
  • linux-aws-5.13
  • linux-aws-5.15 (fixed in 5.15.0-1049.54~20.04.1)
  • linux-aws-5.19
  • linux-aws-5.3
  • linux-aws-5.4 (fixed in 5.4.0-1116.126~18.04.1)
  • linux-aws-5.8
  • linux-aws-6.2
  • linux-aws-6.5
  • linux-aws-fips
  • linux-azure (fixed in 5.15.0-1051.59)
  • linux-azure-5.11
  • linux-azure-5.13
  • linux-azure-5.15 (fixed in 5.15.0-1051.59~20.04.1)
  • linux-azure-5.19
  • linux-azure-5.3
  • linux-azure-5.4 (fixed in 5.4.0-1121.128~18.04.1)
  • linux-azure-5.8
  • linux-azure-6.11
  • linux-azure-6.2
Show the remaining 96 packages
  • linux-azure-6.5
  • linux-azure-edge
  • linux-azure-fde
  • linux-azure-fde-5.19
  • linux-azure-fde-6.2
  • linux-azure-fips
  • linux-bluefield
  • linux-fips
  • linux-gcp (fixed in 5.15.0-1046.54)
  • linux-gcp-5.11
  • linux-gcp-5.13
  • linux-gcp-5.15 (fixed in 5.15.0-1046.54~20.04.1)
  • linux-gcp-5.19
  • linux-gcp-5.3
  • linux-gcp-5.4 (fixed in 5.4.0-1120.129~18.04.1)
  • linux-gcp-5.8
  • linux-gcp-6.11
  • linux-gcp-6.2
  • linux-gcp-6.5
  • linux-gcp-fips
  • linux-gke (fixed in 5.15.0-1046.51)
  • linux-gke-4.15
  • linux-gke-5.15
  • linux-gke-5.4
  • linux-gkeop (fixed in 5.15.0-1032.38)
  • linux-gkeop-5.15
  • linux-gkeop-5.4
  • linux-hwe
  • linux-hwe-5.11
  • linux-hwe-5.13
  • linux-hwe-5.15 (fixed in 5.15.0-88.98~20.04.1)
  • linux-hwe-5.19
  • linux-hwe-5.4 (fixed in 5.4.0-169.187~18.04.1)
  • linux-hwe-5.8
  • linux-hwe-6.11
  • linux-hwe-6.2
  • linux-hwe-6.5
  • linux-hwe-edge
  • linux-ibm (fixed in 5.15.0-1042.45)
  • linux-ibm-5.15 (fixed in 5.15.0-1042.45~20.04.1)
  • linux-ibm-5.4 (fixed in 5.4.0-1063.68~18.04.1)
  • linux-intel-5.13
  • linux-intel-iot-realtime (fixed in 5.15.0-1042.44)
  • linux-intel-iotg (fixed in 5.15.0-1045.51)
  • linux-intel-iotg-5.15 (fixed in 5.15.0-1045.51~20.04.1)
  • linux-iot (fixed in 5.4.0-1028.29)
  • linux-kvm (fixed in 5.15.0-1046.51)
  • linux-lowlatency (fixed in 5.15.0-88.98)
  • linux-lowlatency-hwe-5.15 (fixed in 5.15.0-88.98~20.04.1)
  • linux-lowlatency-hwe-5.19
  • linux-lowlatency-hwe-6.11
  • linux-lowlatency-hwe-6.2
  • linux-lowlatency-hwe-6.5
  • linux-nvidia (fixed in 5.15.0-1040.40)
  • linux-nvidia-6.11
  • linux-nvidia-6.2
  • linux-nvidia-6.5
  • linux-nvidia-tegra (fixed in 5.15.0-1019.19)
  • linux-nvidia-tegra-5.15 (fixed in 5.15.0-1019.19~20.04.1)
  • linux-nvidia-tegra-igx (fixed in 5.15.0-1006.6)
  • linux-oem
  • linux-oem-5.10
  • linux-oem-5.13
  • linux-oem-5.14
  • linux-oem-5.17
  • linux-oem-5.6
  • linux-oem-6.0
  • linux-oem-6.1
  • linux-oem-6.11
  • linux-oem-6.5
  • linux-oem-6.8
  • linux-oracle (fixed in 5.15.0-1047.53)
  • linux-oracle-5.0
  • linux-oracle-5.11
  • linux-oracle-5.13
  • linux-oracle-5.15 (fixed in 5.15.0-1047.53~20.04.1)
  • linux-oracle-5.3
  • linux-oracle-5.4 (fixed in 5.4.0-1115.124~18.04.1)
  • linux-oracle-5.8
  • linux-oracle-6.5
  • linux-raspi (fixed in 5.15.0-1042.45)
  • linux-raspi-5.4 (fixed in 5.4.0-1100.112~18.04.1)
  • linux-raspi-realtime
  • linux-raspi2
  • linux-realtime
  • linux-riscv
  • linux-riscv-5.11
  • linux-riscv-5.15 (fixed in 5.15.0-1045.49~20.04.1)
  • linux-riscv-5.19
  • linux-riscv-5.8
  • linux-riscv-6.14
  • linux-riscv-6.5
  • linux-starfive-5.19
  • linux-starfive-6.2
  • linux-starfive-6.5
  • linux-xilinx-zynqmp (fixed in 5.15.0-1025.29)

Timeline and source

Published on 30 December 2025 and last revised on 17 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)

Other advisories for this package

linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2023-54170 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-12-30
Updated 2026-08-20
Modified 2026-08-17
Fix URL N/A

Affected Packages

Software From version Fixed in
linux — 5.15.0-88.98
linux-allwinner-5.19 — —
linux-aws — 5.15.0-1049.54
linux-aws-5.0 — —
linux-aws-5.11 — —
linux-aws-5.13 — —
linux-aws-5.15 — 5.15.0-1049.54~20.04.1
linux-aws-5.19 — —
linux-aws-5.3 — —
linux-aws-5.4 — 5.4.0-1116.126~18.04.1
linux-aws-5.8 — —
linux-aws-6.2 — —
linux-aws-6.5 — —
linux-aws-fips — —
linux-azure — 5.15.0-1051.59
linux-azure-5.11 — —
linux-azure-5.13 — —
linux-azure-5.15 — 5.15.0-1051.59~20.04.1
linux-azure-5.19 — —
linux-azure-5.3 — —
linux-azure-5.4 — 5.4.0-1121.128~18.04.1
linux-azure-5.8 — —
linux-azure-6.11 — —
linux-azure-6.2 — —
linux-azure-6.5 — —
linux-azure-edge — —
linux-azure-fde — —
linux-azure-fde-5.19 — —
linux-azure-fde-6.2 — —
linux-azure-fips — —
linux-bluefield — —
linux-fips — —
linux-gcp — 5.15.0-1046.54
linux-gcp-5.11 — —
linux-gcp-5.13 — —
linux-gcp-5.15 — 5.15.0-1046.54~20.04.1
linux-gcp-5.19 — —
linux-gcp-5.3 — —
linux-gcp-5.4 — 5.4.0-1120.129~18.04.1
linux-gcp-5.8 — —
linux-gcp-6.11 — —
linux-gcp-6.2 — —
linux-gcp-6.5 — —
linux-gcp-fips — —
linux-gke — 5.15.0-1046.51
linux-gke-4.15 — —
linux-gke-5.15 — —
linux-gke-5.4 — —
linux-gkeop — 5.15.0-1032.38
linux-gkeop-5.15 — —
linux-gkeop-5.4 — —
linux-hwe — —
linux-hwe-5.11 — —
linux-hwe-5.13 — —
linux-hwe-5.15 — 5.15.0-88.98~20.04.1
linux-hwe-5.19 — —
linux-hwe-5.4 — 5.4.0-169.187~18.04.1
linux-hwe-5.8 — —
linux-hwe-6.11 — —
linux-hwe-6.2 — —
linux-hwe-6.5 — —
linux-hwe-edge — —
linux-ibm — 5.15.0-1042.45
linux-ibm-5.15 — 5.15.0-1042.45~20.04.1
linux-ibm-5.4 — 5.4.0-1063.68~18.04.1
linux-intel-5.13 — —
linux-intel-iot-realtime — 5.15.0-1042.44
linux-intel-iotg — 5.15.0-1045.51
linux-intel-iotg-5.15 — 5.15.0-1045.51~20.04.1
linux-iot — 5.4.0-1028.29
linux-kvm — 5.15.0-1046.51
linux-lowlatency — 5.15.0-88.98
linux-lowlatency-hwe-5.15 — 5.15.0-88.98~20.04.1
linux-lowlatency-hwe-5.19 — —
linux-lowlatency-hwe-6.11 — —
linux-lowlatency-hwe-6.2 — —
linux-lowlatency-hwe-6.5 — —
linux-nvidia — 5.15.0-1040.40
linux-nvidia-6.11 — —
linux-nvidia-6.2 — —
linux-nvidia-6.5 — —
linux-nvidia-tegra — 5.15.0-1019.19
linux-nvidia-tegra-5.15 — 5.15.0-1019.19~20.04.1
linux-nvidia-tegra-igx — 5.15.0-1006.6
linux-oem — —
linux-oem-5.10 — —
linux-oem-5.13 — —
linux-oem-5.14 — —
linux-oem-5.17 — —
linux-oem-5.6 — —
linux-oem-6.0 — —
linux-oem-6.1 — —
linux-oem-6.11 — —
linux-oem-6.5 — —
linux-oem-6.8 — —
linux-oracle — 5.15.0-1047.53
linux-oracle-5.0 — —
linux-oracle-5.11 — —
linux-oracle-5.13 — —
linux-oracle-5.15 — 5.15.0-1047.53~20.04.1
linux-oracle-5.3 — —
linux-oracle-5.4 — 5.4.0-1115.124~18.04.1
linux-oracle-5.8 — —
linux-oracle-6.5 — —
linux-raspi — 5.15.0-1042.45
linux-raspi-5.4 — 5.4.0-1100.112~18.04.1
linux-raspi-realtime — —
linux-raspi2 — —
linux-realtime — —
linux-riscv — —
linux-riscv-5.11 — —
linux-riscv-5.15 — 5.15.0-1045.49~20.04.1
linux-riscv-5.19 — —
linux-riscv-5.8 — —
linux-riscv-6.14 — —
linux-riscv-6.5 — —
linux-starfive-5.19 — —
linux-starfive-6.2 — —
linux-starfive-6.5 — —
linux-xilinx-zynqmp — 5.15.0-1025.29

Similar Threats

Free Vulnerability Check

Is your site affected by UBUNTU-CVE-2023-54170?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against UBUNTU-CVE-2023-54170 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2023
✓