CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-38236 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-38236?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-38236?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-38236 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 5.15 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.15 | 5.15.194 |
| Linux | 6.1 | 6.1.143 |
| Linux | 6.6 | 6.6.96 |
| Linux | 6.12 | 6.12.36 |
| Linux | 6.15 | 6.15.5 |
| Linux | later releases | 6.16 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | linux-6.1 | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Debian | 12 | linux | 6.1.147-1 | DEBIAN-CVE-2025-38236 DSA-5973-1 |
| Debian | 13, 14 | linux | 6.12.37-1 | DEBIAN-CVE-2025-38236 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-38236 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-38236 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-38236 |
| Ubuntu | 22.04:LTS | linux, linux-lowlatency | 5.15.0-170.180 | UBUNTU-CVE-2025-38236 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws | 5.15.0-1100.107 | UBUNTU-CVE-2025-38236 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws-6.8, linux-nvidia-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38236 USN-8028-5 |
| Ubuntu | 22.04:LTS | linux-azure | 5.15.0-1109.118 | UBUNTU-CVE-2025-38236 USN-8163-2 |
| Ubuntu | 22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-38236 USN-8126-1 |
| Ubuntu | 22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-38236 |
| Ubuntu | 22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38236 |
| Ubuntu | 22.04:LTS | linux-gcp | 5.15.0-1100.109 | UBUNTU-CVE-2025-38236 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-gcp-6.8 | 6.8.0-1047.50~22.04.2 | UBUNTU-CVE-2025-38236 USN-8031-1 |
| 67 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| SUSE | Linux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 more | kernel-default | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 more | kernel-default | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_14 | 1-150600.1.5.1 | SUSE-SU-2025:03023-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_14 | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| SUSE | Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_3 | 1-150700.1.5.1 | SUSE-SU-2025:02853-1 |
| SUSE | Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_3 | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb, kernel-source, kernel-default and 1 more | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | kernel-64kb, kernel-source, kernel-default and 1 more | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | kernel-default-base | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE | Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | kernel-coco, kernel-syms-coco, kernel-coco_debug and 1 more | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6 | kernel-docs, kernel-syms, kernel-source and 1 more | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| 12 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | dtb-aarch64, kernel-64kb, kernel-docs and 8 more | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| openSUSE | Leap 15.6 | kernel-azure, kernel-syms-azure, kernel-source-azure | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| openSUSE | Leap 15.6 | kernel-default-base | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| openSUSE | Leap 15.6 | kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| Azure Linux | 2 | kernel | 5.15.200.1-1 | AZL-72781 |
| Azure Linux | 3 | kernel | 6.6.96.1-1 | AZL-64799 |
| Alpaquita | 23 | linux-lts | 6.1.143-r1 | BELL-CVE-2025-38236 |
| Alpaquita | 25 | linux-lts | 6.12.41-r0 | BELL-CVE-2025-38236 |
| Alpaquita | stream | linux-lts | 6.18.35-r1 | BELL-CVE-2025-38236 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.
Red Hat rates this Important.
This patch addresses a use-after-free vulnerability in the af_unix subsystem, specifically when handling consecutive out-of-band (OOB) messages. Improper management of consumed OOB sk_buffs could lead to a dangling pointer being accessed after it was freed, potentially causing memory corruption or privilege escalation.
An unprivileged local attacker can trigger the bug by sending and receiving a crafted sequence of OOB socket messages via AF_UNIX stream sockets. This may allow kernel memory manipulation from user space, leading to possible code execution or system compromise. Although the exploit can be carried out by an unprivileged user-space process using crafted AF_UNIX socket operations via send(MSG_OOB) and recv(MSG_OOB)), the attacker still needs local code execution access, but no elevated privileges are required. For the Red Hat Enterprise Linux 8 bug not yet introduced, related source code is not backported to any version, but for Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10 it is actual. The CVSS the Availability is Low because kernel panic likely would not happen until KASAN is enabled with additional debugging. The impact level is Important. A local attacker might leverage this issue to escalate privileges, especially if kernel address layout information, such as KASLR, is exposed through the freed memory.
No Red Hat Enterprise Linux is affected.
The mitigation could disable AF_UNIX sockets usage for local users. This is only a conceptional example not tested with the SELinux usage:
# Disable for users to create AF_UNIX STREAM sockets:
dontaudit user_t self:unix_stream_socket create;
# Prevent connections to similar existing sockets:
dontaudit user_t self:unix_stream_socket connectto;
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Not affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-38236.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-162-05 | Siemens SIMATIC S7-1500 CPU family | 2025-06-10 | Energy | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.