CVE-2025-38092
published high CVSS 3.1 · 8.8ksmbd: use list_first_entry_or_null for opinfo_get_list()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux296cb5457cc6f4a754c4ae29855f8a253d52bcc6 to < c78abb646ff823e7d22faad4cc0703d4484da9e8 · d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 to < 334da674b25fdb7a1a4d4b89dcd7795144fc7e11 · d73686367ad68534257cd88a36ca3c52cb8b81d8 to < cb7e06e9736d73007dc8dab7b353733bb37df86b · 18b4fac5ef17f77fed9417d22210ceafd6525fc7 to < 10379171f346e6f61d30d9949500a8de4336444a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6.88 to < 6.6.93 · 6.12.25 to < 6.12.32 · 6.14.4 to < 6.14.10 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.14 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-aws-6.14-cloud-tools-6.14.0-1013 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-aws-6.14-headers-6.14.0-1013 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-aws-6.14-tools-6.14.0-1013 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-buildinfo-6.14.0-32-generic-64k | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-gcp-6.14 | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-gcp-6.14-headers-6.14.0-1016 | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-gcp-6.14-tools-6.14.0-1016 | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-headers-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-headers-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-headers-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-headers-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-headers-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-headers-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-headers-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-headers-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-headers-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-headers-6.14.0-32-generic-64k | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-hwe-6.14 | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-hwe-6.14-cloud-tools-6.14.0-32 | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-hwe-6.14-headers-6.14.0-32 | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-hwe-6.14-tools-6.14.0-32 | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-image-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-32-generic-64k | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-lib-rust-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-lib-rust-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-modules-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-modules-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-modules-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-modules-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-modules-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-6.14.0-32-generic-64k | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-ipu6-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-ipu6-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-ipu7-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-ipu7-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-usbio-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-usbio-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-modules-vision-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-modules-vision-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-oem-6.14 | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-oem-6.14-headers-6.14.0-1012 | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-oem-6.14-tools-6.14.0-1012 | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-oracle-6.14 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-oracle-6.14-headers-6.14.0-1013 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-oracle-6.14-tools-6.14.0-1013 | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-realtime-6.14 | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-realtime-6.14-cloud-tools-6.14.0-1012 | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-realtime-6.14-headers-6.14.0-1012 | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-realtime-6.14-tools-6.14.0-1012 | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-tools-6.14.0-1012-oem | Advisory build | 6.14.0-1012.12 | USN-7771-1 |
| Ubuntu | noble | linux-tools-6.14.0-1012-realtime | Advisory build | 6.14.0-1012.12~24.04.1 | USN-7769-2 |
| Ubuntu | noble | linux-tools-6.14.0-1013-aws | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-tools-6.14.0-1013-aws-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-tools-6.14.0-1013-oracle | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-tools-6.14.0-1013-oracle-64k | Advisory build | 6.14.0-1013.13~24.04.1 | USN-7789-1 |
| Ubuntu | noble | linux-tools-6.14.0-1016-gcp | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-tools-6.14.0-1016-gcp-64k | Advisory build | 6.14.0-1016.17~24.04.1 | USN-7769-1 |
| Ubuntu | noble | linux-tools-6.14.0-32-generic | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | noble | linux-tools-6.14.0-32-generic-64k | Advisory build | 6.14.0-32.32~24.04.1 | USN-7769-3 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1012.12 | USN-7770-1 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1012 | Advisory build | 6.14.0-1012.12 | USN-7770-1 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1012 | Advisory build | 6.14.0-1012.12 | USN-7770-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: use list_first_entry_or_null for opinfo_get_list() The list_first_entry() macro never returns NULL. If the list is empty then it returns an invalid pointer. Use list_first_entry_or_null() to check if the list is empty.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - ksmbd is the in-kernel SMB server; the vulnerable path is driven entirely by remote SMB2 CREATE, LOCK and CLOSE requests arriving on TCP/445 from a remote client. No local access is required. AC:L - The attacker controls both sides of the race by issuing concurrent SMB2 CREATE/LOCK and CLOSE requests on multiple connections against the same file, and the window is actively widened because down_read() in opinfo_get_list() blocks behind the racing opinfo_del() down_write() that empties the list. PR:L - Reaching smb_grant_oplock()/smb_break_all_oplock() requires an established SMB2 session, a tree connect and open file handles, so a valid (even low-privilege or guest-mapped) SMB account is needed; this is not a pre-authentication code path. UI:N - The attacker drives every step from its own SMB connections — opening handles with oplocks/leases and closing them concurrently. No action by any other user or administrator is needed. S:U - The type confusion corrupts kernel heap memory belonging to the ksmbd subsystem within the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - The fake oplock_info causes reads through attacker-timed wild pointers — opinfo->conn resolves to an rwsem waiter on another task's kernel stack and o_lease to an arbitrary kernel pointer — and such heap type confusion is leverageable into arbitrary kernel memory disclosure. I:H - atomic_inc_not_zero() performs a real RMW write onto the upper half of ksmbd_inode->m_hash.pprev, corrupting a kernel pointer that hlist_del_init() later writes through, and follow-on oplock_break()/opinfo_put() paths add out-of-bounds wait-queue list writes and kfree() of interior pointers — classic type confusion promotable to a write primitive. A:H - Dereferencing and atomically modifying a bogus pointer derived from the list head, plus spinlock/wait-queue operations past the end of the kmalloc'd ksmbd_inode, reliably produce slab corruption, oops or panic, taking down the file server host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 296cb5457cc6f4a754c4ae29855f8a253d52bcc6 to < c78abb646ff823e7d22faad4cc0703d4484da9e8 (affected · git)d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 to < 334da674b25fdb7a1a4d4b89dcd7795144fc7e11 (affected · git)d73686367ad68534257cd88a36ca3c52cb8b81d8 to < cb7e06e9736d73007dc8dab7b353733bb37df86b (affected · git)18b4fac5ef17f77fed9417d22210ceafd6525fc7 to < 10379171f346e6f61d30d9949500a8de4336444a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6.88 to < 6.6.93 (affected · semver)6.12.25 to < 6.12.32 (affected · semver)6.14.4 to < 6.14.10 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ksmbd: use list_first_entry_or_null for opinfo_get_list()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1032231f5f61a7c7ced47c7dcea03a6a98548b76bcd869637f0568356a4a508a
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record