Linux Kernel up to 6.14-rc1 Function Call spinlock_rt.c migrate_disable entropy

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.
4.4$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in Linux Kernel up to 6.1.128/6.6.78/6.12.15/6.13.3/6.14-rc1. This vulnerability affects the function migrate_disable of the file kernel/locking/spinlock_rt.c of the component Function Call Handler. This manipulation causes entropy. This vulnerability is tracked as CVE-2025-21767. No exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.1.128/6.6.78/6.12.15/6.13.3/6.14-rc1. It has been declared as problematic. Affected by this vulnerability is the function migrate_disable of the file kernel/locking/spinlock_rt.c of the component Function Call Handler. The manipulation with an unknown input leads to a entropy vulnerability. The CWE definition for the vulnerability is CWE-332. The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat. As an impact it is known to affect confidentiality. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: clocksource: Use migrate_disable() to avoid calling get_random_u32() in atomic context The following bug report happened with a PREEMPT_RT kernel: BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2012, name: kwatchdog preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 get_random_u32+0x4f/0x110 clocksource_verify_choose_cpus+0xab/0x1a0 clocksource_verify_percpu.part.0+0x6b/0x330 clocksource_watchdog_kthread+0x193/0x1a0 It is due to the fact that clocksource_verify_choose_cpus() is invoked with preemption disabled. This function invokes get_random_u32() to obtain random numbers for choosing CPUs. The batched_entropy_32 local lock and/or the base_crng.lock spinlock in driver/char/random.c will be acquired during the call. In PREEMPT_RT kernel, they are both sleeping locks and so cannot be acquired in atomic context. Fix this problem by using migrate_disable() to allow smp_processor_id() to be reliably used without introducing atomic context. preempt_disable() is then called after clocksource_verify_choose_cpus() but before the clocksource measurement is being run to avoid introducing unexpected latency.

The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2025-21767 since 12/29/2024. The exploitation appears to be easy. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1600.001 for this issue.

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

Upgrading to version 6.1.129, 6.6.79, 6.12.16, 6.13.4 or 6.14-rc2 eliminates this vulnerability. Applying the patch 852805b6cbdb69c298a8fc9fbe79994c95106e04/8783ceeee797d9aa9cfe150690fb9d0bac8cc459/cc3d79e7c806cb57d71c28a4a35e7d7fb3265faa/0fb534187d2355f6c8f995321e76d1ccd1262ac1/6bb05a33337b2c842373857b63de5c9bf1ae2a09 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 (232678) and CERT Bund (WID-SEC-2025-0453). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • Siemens SIMATIC S7
  • RESF Rocky Linux
  • Dell NetWorker
  • Dell Avamar
  • Red Hat OpenShift
  • IBM QRadar SIEM
  • SolarWinds Security Event Manager
  • Dell PowerProtect Data Domain
  • Open Source Linux Kernel
  • IBM DataPower Gateway
  • Dell Secure Connect Gateway
  • Dell PowerScale OneFS
  • Dell ECS

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Entropy
CWE: CWE-332 / CWE-331 / CWE-330
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: 232678
Nessus Name: SUSE SLES15 / openSUSE 15 Security Update : kernel (SUSE-SU-2025:0847-1)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.1.129/6.6.79/6.12.16/6.13.4/6.14-rc2
Patch: 852805b6cbdb69c298a8fc9fbe79994c95106e04/8783ceeee797d9aa9cfe150690fb9d0bac8cc459/cc3d79e7c806cb57d71c28a4a35e7d7fb3265faa/0fb534187d2355f6c8f995321e76d1ccd1262ac1/6bb05a33337b2c842373857b63de5c9bf1ae2a09

Timelineinfo

12/29/2024 🔍
02/27/2025 +60 days 🔍
02/27/2025 +0 days 🔍
05/25/2026 +452 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-21767 (🔍)
GCVE (CVE): GCVE-0-2025-21767
GCVE (VulDB): GCVE-100-297817
CERT Bund: WID-SEC-2025-0453 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 02/27/2025 09:37
Updated: 05/25/2026 11:53
Changes: 02/27/2025 09:37 (60), 03/13/2025 17:35 (2), 10/26/2025 01:47 (7), 10/28/2025 23:00 (12), 11/10/2025 05:08 (1), 01/18/2026 10:29 (1), 05/25/2026 11:53 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!