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.2% 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-38396 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-38396?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-38396?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-38396 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 | 6.0 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 6.1 | 6.1.146 |
| Linux | 6.6 | 6.6.97 |
| Linux | 6.12 | 6.12.37 |
| Linux | 6.15 | 6.15.6 |
| 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-38396 DSA-5973-1 |
| Debian | 13, 14 | linux | 6.12.37-1 | DEBIAN-CVE-2025-38396 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-38396 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-38396 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-38396 |
| Ubuntu | 22.04:LTS | linux-aws-6.8, linux-nvidia-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38396 USN-8028-5 |
| Ubuntu | 22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-38396 USN-8126-1 |
| Ubuntu | 22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38396 |
| Ubuntu | 22.04:LTS | linux-gcp-6.8 | 6.8.0-1047.50~22.04.2 | UBUNTU-CVE-2025-38396 USN-8031-1 |
| Ubuntu | 22.04:LTS | linux-hwe-6.8, linux-riscv-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-38396 USN-8028-6 |
| Ubuntu | 22.04:LTS | linux-ibm-6.8 | 6.8.0-1044.44~22.04.1 | UBUNTU-CVE-2025-38396 USN-8028-8 |
| Ubuntu | 22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-100.100.1~22.04.1 | UBUNTU-CVE-2025-38396 USN-8028-6 |
| Ubuntu | 22.04:LTS | linux-oracle-6.8 | 6.8.0-1043.44~22.04.1 | UBUNTU-CVE-2025-38396 USN-8028-5 |
| Ubuntu | 22.04:LTS | linux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 more | no fix listed | UBUNTU-CVE-2025-38396 |
| 33 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:9::appstream | rv, perf, rtla and 29 more | 0:5.14.0-611.5.1.el9_7 | RHSA-2025:20518 |
| Red Hat | enterprise_linux:9::baseos | kernel, kernel-64k, kernel-core and 45 more | 0:5.14.0-611.5.1.el9_7 | RHSA-2025:20518 |
| Red Hat | enterprise_linux:9::crb | libperf, perf-debuginfo, kernel-debuginfo and 16 more | 0:5.14.0-611.5.1.el9_7 | RHSA-2025:20518 |
| Red Hat | enterprise_linux:9::nfv | kernel-rt, kernel-rt-core, perf-debuginfo and 18 more | 0:5.14.0-611.5.1.el9_7 | RHSA-2025:20518 |
| Red Hat | enterprise_linux:9::realtime | kernel-rt, kernel-rt-64k, kernel-rt-core and 35 more | 0:5.14.0-611.5.1.el9_7 | RHSA-2025:20518 |
| Red Hat | enterprise_linux:10.0 | rv, perf, rtla and 88 more | 0:6.12.0-55.37.1.el10_0 | RHSA-2025:16904 |
| 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 High Availability Extension 16.0 | kernel-default | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_10 | 8-150600.2.1 | SUSE-SU-2025:03650-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_13 | 6-150600.2.1 | SUSE-SU-2025:03646-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-RT_Update_3 | 19-150600.2.1 | SUSE-SU-2025:03636-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_5 | 17-150600.2.1 | SUSE-SU-2025:03638-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_10 | 8-150600.2.1 | SUSE-SU-2025:3762-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_11 | 7-150600.2.1 | SUSE-SU-2025:3755-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_13 | 6-150600.2.1 | SUSE-SU-2025:3764-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_14 | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| 65 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 |
| openSUSE | Leap 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | openSUSE-SU-2025:20081-1 |
| openSUSE | Leap 16.0 | kernel-rt, dtb-aarch64, kernel-64kb and 8 more | 6.12.0-160000.6.1 | openSUSE-SU-2025:20081-1 |
| AlmaLinux | 9 | rv, perf, rtla and 71 more | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 10 | kernel-doc, kernel-abi-stablelists | 6.12.0-55.37.1.el10_0 | ALSA-2025:16904 |
| Rocky Linux | 9 | kernel | 0:5.14.0-611.5.1.el9_7 | RLSA-2025:20518 |
| Rocky Linux | 10 | kernel | 0:6.12.0-55.37.1.el10_0 | RLSA-2025:16904 |
| Azure Linux | 3 | kernel | 6.6.104.2-1 | AZL-65726 |
| Alpaquita | 23 | linux-lts | 6.1.147-r0 | BELL-CVE-2025-38396 |
| Alpaquita | 25 | linux-lts | 6.12.41-r0 | BELL-CVE-2025-38396 |
| Alpaquita | stream | linux-lts | 6.18.35-r1 | BELL-CVE-2025-38396 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 · Red Hat · SUSE · openSUSE · Alpaquita.
Red Hat rates this Moderate.
A flaw in the anonymous inode creation logic allowed the memfd_secret mechanism to bypass LSM (e.g., SELinux) security checks due to incorrect handling of the S_PRIVATE flag. This could result in inodes being assigned without proper security labels, violating mandatory access control policies.
The vulnerability stems from calling alloc_anon_inode() without clearing the S_PRIVATE flag, which suppressed LSM enforcement on the resulting file descriptors. The patch replaces this logic with anon_inode_make_secure_inode(), ensuring consistent and secure inode labeling.
This bug could allow a privileged user or subsystem to create memory regions that bypass security controls, potentially undermining system-level isolation enforced by LSM frameworks.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-55.37.1.el10_0 | Fixed 2025-09-29 | RHSA-2025:16904 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.5.1.el9_7 | Fixed 2025-11-11 | RHSA-2025:20518 |
| 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-rt | Fix deferred |
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-38396.