Linux Kernel up to 6.16-rc3 s390 memdup_user nr_apqns allocation of resources

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.8$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 6.1.142/6.6.95/6.12.35/6.15.4/6.16-rc3. This impacts the function memdup_user of the component s390. The manipulation of the argument nr_apqns results in allocation of resources. This vulnerability is identified as CVE-2025-38257. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 6.1.142/6.6.95/6.12.35/6.15.4/6.16-rc3. Affected is the function memdup_user of the component s390. The manipulation of the argument nr_apqns with an unknown input leads to a allocation of resources vulnerability. CWE is classifying the issue as CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. The impact remains unknown. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Prevent overflow in size calculation for memdup_user() Number of apqn target list entries contained in 'nr_apqns' variable is determined by userspace via an ioctl call so the result of the product in calculation of size passed to memdup_user() may overflow. In this case the actual size of the allocated area and the value describing it won't be in sync leading to various types of unpredictable behaviour later. Use a proper memdup_array_user() helper which returns an error if an overflow is detected. Note that it is different from when nr_apqns is initially zero - that case is considered valid and should be handled in subsequent pkey_handler implementations. Found by Linux Verification Center (linuxtesting.org).

The advisory is available at git.kernel.org. This vulnerability is traded as CVE-2025-38257 since 04/16/2025. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 243301 (SUSE SLES15 Security Update : kernel (SUSE-SU-2025:02588-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.1.143, 6.6.96, 6.12.36, 6.15.5 or 6.16-rc4 eliminates this vulnerability. Applying the patch faa1ab4a23c42e34dc000ef4977b751d94d5148c/88f3869649edbc4a13f6c2877091f81cd5a50f05/f855b119e62b004a5044ed565f2a2b368c4d3f16/73483ca7e07a5e39bdf612eec9d3d293e8bef649/7360ee47599af91a1d5f4e74d635d9408a54e489 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (243301), EUVD (EUVD-2025-20804) and CERT Bund (WID-SEC-2025-1517). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Debian Linux
  • Google Cloud Platform
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • IBM QRadar SIEM
  • SUSE openSUSE
  • NetApp ActiveIQ Unified Manager
  • Dell Avamar
  • Open Source Linux Kernel
  • Dell NetWorker
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.9
VulDB Meta Temp Score: 6.8

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 7.3
CNA Vector (Linux): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Allocation of resources
CWE: CWE-770 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 243301
Nessus Name: SUSE SLES15 Security Update : kernel (SUSE-SU-2025:02588-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.1.143/6.6.96/6.12.36/6.15.5/6.16-rc4
Patch: faa1ab4a23c42e34dc000ef4977b751d94d5148c/88f3869649edbc4a13f6c2877091f81cd5a50f05/f855b119e62b004a5044ed565f2a2b368c4d3f16/73483ca7e07a5e39bdf612eec9d3d293e8bef649/7360ee47599af91a1d5f4e74d635d9408a54e489

Timelineinfo

04/16/2025 🔍
07/09/2025 +84 days 🔍
07/09/2025 +0 days 🔍
08/01/2026 +388 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-38257 (🔍)
GCVE (CVE): GCVE-0-2025-38257
GCVE (VulDB): GCVE-100-315786
EUVD: 🔍
CERT Bund: WID-SEC-2025-1517 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 07/09/2025 14:03
Updated: 08/01/2026 04:26
Changes: 07/09/2025 14:03 (59), 07/09/2025 14:44 (1), 08/02/2025 10:54 (2), 08/23/2025 03:24 (7), 09/28/2025 11:01 (1), 11/02/2025 22:00 (1), 12/19/2025 08:37 (12), 01/30/2026 22:54 (1), 05/02/2026 16:05 (1), 08/01/2026 04:26 (13)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!