Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-42235

published high CVSS 3.1 · 7.8

s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()

Published
07 Aug 2024, 15:14:25 UTC
Updated
05 Aug 2026, 11:36:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6326c26c1514757242829b292b26eac589013200 to < 794fa52b94637d6b2e8c9474fbe3983af5c9f046 · 6326c26c1514757242829b292b26eac589013200 to < f80bd8bb6f380bc265834c46058d38b34174813e · 6326c26c1514757242829b292b26eac589013200 to < b5efb63acf7bddaf20eacfcac654c25c446eabe8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.41 through 6.6.* (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific 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 jammy linux-aws-6.8 Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1018 Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1018 Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1018 Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1017 Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1017 Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1017 Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-buildinfo-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-buildinfo-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-buildinfo-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-buildinfo-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-buildinfo-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-buildinfo-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-buildinfo-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-buildinfo-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-buildinfo-6.8.0-48-generic-64k Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-buildinfo-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-buildinfo-6.8.0-48-lowlatency-64k Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-cloud-tools-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-cloud-tools-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-cloud-tools-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-cloud-tools-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1017 Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1017 Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-headers-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-headers-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-headers-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-headers-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-headers-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-headers-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-headers-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-headers-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-headers-6.8.0-48-generic-64k Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-headers-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-headers-6.8.0-48-lowlatency-64k Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-48 Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-48 Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-48 Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-image-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-image-unsigned-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-image-unsigned-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-image-unsigned-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-image-unsigned-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-image-unsigned-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-image-unsigned-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-image-unsigned-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-image-unsigned-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-image-unsigned-6.8.0-48-generic-64k Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-image-unsigned-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-image-unsigned-6.8.0-48-lowlatency-64k Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-48 Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-48 Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-48 Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-modules-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-modules-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-modules-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-modules-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-6.8.0-48-generic-64k Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-modules-6.8.0-48-lowlatency-64k Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-modules-extra-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-extra-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-extra-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-modules-extra-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-extra-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-modules-extra-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-modules-extra-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-involflt-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-modules-ipu6-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-modules-usbio-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-nvidia-6.8 Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-nvidia-6.8-headers-6.8.0-1017 Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-nvidia-6.8-tools-6.8.0-1017 Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-oracle-6.8 Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-oracle-6.8-headers-6.8.0-1015 Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-oracle-6.8-tools-6.8.0-1015 Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-tools-6.8.0-1015-oracle Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-tools-6.8.0-1015-oracle-64k Advisory build 6.8.0-1015.15~22.04.1 USN-7089-3
Ubuntu jammy linux-tools-6.8.0-1017-azure Advisory build 6.8.0-1017.20~22.04.1 USN-7090-1
Ubuntu jammy linux-tools-6.8.0-1017-gcp Advisory build 6.8.0-1017.19~22.04.1 USN-7089-1
Ubuntu jammy linux-tools-6.8.0-1017-nvidia Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-tools-6.8.0-1017-nvidia-64k Advisory build 6.8.0-1017.19~22.04.1 USN-7095-1
Ubuntu jammy linux-tools-6.8.0-1018-aws Advisory build 6.8.0-1018.19~22.04.1 USN-7089-3
Ubuntu jammy linux-tools-6.8.0-48-generic Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-tools-6.8.0-48-generic-64k Advisory build 6.8.0-48.48~22.04.1 USN-7089-1
Ubuntu jammy linux-tools-6.8.0-48-lowlatency Advisory build 6.8.0-48.48.3~22.04.1 USN-7089-7

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: s390/mm: Add NULL pointer check to crst_table_free() base_crst_free() crst_table_free() used to work with NULL pointers before the conversion to ptdescs. Since crst_table_free() can be called with a NULL pointer (error handling in crst_table_upgrade() add an explicit check. Also add the same check to base_crst_free() for consistency reasons. In real life this should not happen, since order two GFP_KERNEL allocations will not fail, unless FAIL_PAGE_ALLOC is enabled and used.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is entered only through a local `mmap()`/`mremap()`/`shmat()` syscall on s390, via `arch_get_unmapped_area()` → `check_asce_limit()` → `crst_table_upgrade()`. No network, adjacent-network, or remote-peer data reaches this code. AC:L - The attacker fully controls the address-space geometry needed (two ordinary high-address mmaps drive `asce_limit` to `_REGION1_SIZE` and then request a 5-level upgrade, leaving `p4d == NULL`), and can engineer the required order-2 `GFP_KERNEL` failure by driving their own multithreaded process into the OOM-victim state that makes `__alloc_pages_slowpath()` return NULL, retrying as often as needed. Every attempt is cheap and repeatable, so the remaining timing window is one the attacker creates rather than one beyond their control. PR:L - Any unprivileged local user can call `mmap()` with a high address hint — there is no capability check, namespace requirement, or privileged device node anywhere between the syscall entry and `crst_table_free()`. On IBM Z / LinuxONE hosts this means any shared-tenant, container, or shell user. UI:N - The whole sequence is performed by the attacking process itself through ordinary syscalls; no victim must mount a filesystem, open a device, or take any other action. S:U - The corrupted page-allocator state and the freed reserved page remain entirely within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - On 6.6.y the reserved PFN 0 (the s390 absolute-zero lowcore holding restart PSWs and `restart_fn`/`restart_data` kernel pointers plus machine-check save areas) is released into the buddy allocator with the sanity checks compiled out, so it can be handed to an attacker-influenced allocation still containing that firmware/kernel state; repeating the trigger underflows the refcount of whatever page then occupies PFN 0, yielding a use-after-free read primitive over live kernel memory. I:H - Injecting a memblock-reserved page into the buddy free lists breaks the allocator's ownership invariant — the page is concurrently written by hardware/firmware (store status, machine-check save area) while owned by another kernel object or user mapping — and the refcount underflow on repeat triggers gives a double-free/page-reuse primitive, the classic route to controlled kernel writes. A:H - On 6.9/6.10 the underflowed `__pa(0)` produces a wild `struct page *` that faults in `compound_order()`, oopsing the kernel; on 6.6.y with page-checking enabled it produces a "BUG: Bad page state" splat and `TAINT_BAD_PAGE` (a panic under `panic_on_taint`), and with checks off the corrupted allocator state leads to subsequent oops/panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6326c26c1514757242829b292b26eac589013200 to < 794fa52b94637d6b2e8c9474fbe3983af5c9f046 (affected · git)6326c26c1514757242829b292b26eac589013200 to < f80bd8bb6f380bc265834c46058d38b34174813e (affected · git)6326c26c1514757242829b292b26eac589013200 to < b5efb63acf7bddaf20eacfcac654c25c446eabe8 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.41 through 6.6.* (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0a61df179abdaa9a3a993559c0aaeb5d92fbf1c31c834cd0f9e0ab16bc34bc87
Ingested
23 Sep 2026, 08:26:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected