CVE-2025-38733
NoneCVSS
—
EPSS
0.2%
Published
Sep 5, 2025
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel on certain mainframe computers let invalid memory references succeed when they should have been blocked, which could make systems less stable or harder to protect.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The kernel identity mapping on s390 inadvertently maps the first two physical pages (including the lowcore) to address zero regardless of the relocate_lowcore option, allowing certain NULL pointer accesses to succeed instead of faulting.
Why it matters to the business
On s390 systems running affected kernels, memory safety checks that rely on NULL dereference faults can be bypassed, increasing risk of kernel instability, crashes, or memory corruption issues in production workloads.
How an attack unfolds
An attacker with the ability to trigger a NULL pointer dereference in kernel code on an s390 system can have the access succeed due to the unintended lowcore mapping, potentially allowing further corruption or control-flow manipulation before low-address protection intervenes.
How to fix it
Upgrade the Linux kernel to a version containing commit 30bf5728bb217a6d1ba73f44094c9b9c6bc9a567 or later; for affected container images update to the 18.3.1-r0 releases that incorporate the fixed kernel.
How to confirm the fix worked
Confirm the running kernel contains the fix commit or is at the patched version; verify that the first two physical pages are no longer identity-mapped by inspecting the kernel page tables or boot logs on s390 hardware.
Typical attack path
- Identify or trigger a NULL pointer dereference path in kernel code running on s390
- Rely on the identity mapping to make the access succeed at virtual address zero
- Proceed with subsequent memory operations or corruption that would otherwise have been blocked by a fault
How to detect it
Examine kernel boot logs and page-table dumps on s390 hosts for evidence of lowcore identity mapping; look for unexpected successful accesses to low virtual addresses in kernel oops or fault records.
What your security team should do
- Prioritize kernel upgrades on all s390 systems within the next maintenance window
- Review s390-specific kernel configurations for any use of relocate_lowcore
- Monitor for downstream package updates in container images and rebuild pipelines
The record
In the Linux kernel, the following vulnerability has been resolved: s390/mm: Do not map lowcore with identity mapping Since the identity mapping is pinned to address zero the lowcore is always also mapped to address zero, this happens regardless of the relocate_lowcore command line option. If the option is specified the lowcore is mapped twice, instead of only once. This means that NULL pointer accesses will succeed instead of causing an exception (low address protection still applies, but covers only parts). To fix this never map the first two pages of physical memory with the identity mapping.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | linux | 0 | No fix |
| Debian:14 | linux | 0 | No fix |
| Debian:14 | linux | 0 | 6.16.5-1 |
| Linux | Kernel | 6.11.0 | 6.12.44 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.6.1.160000.2.4 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.6.1 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39884 In the Linux kernel, the following vulnerability has been resolved: btrfs: fix subvolume… Also affects linux
- CVE-2025-39886 In the Linux kernel, the following vulnerability has been resolved: bpf: Tell memcg to… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39880 In the Linux kernel, the following vulnerability has been resolved: libceph: fix invalid… Also affects linux
- CVE-2025-39881 In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in… Also affects linux
- CVE-2025-39882 In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix… Also affects linux