PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2025-21631: 
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free (UAF) vulnerability was discovered in the Linux kernel's BFQ I/O scheduler component (CVE-2025-21631). The vulnerability was identified in the block/bfq-iosched.c file, specifically affecting the waker_bfqq functionality after bfq_split_bfqq() operation. This issue was discovered on January 19, 2025, affecting multiple versions of the Linux kernel including versions 5.15.x, 6.1.x, 6.6.x, and 6.10.x (NVD).

Technical details

The vulnerability occurs in the BFQ I/O scheduler when handling queue splitting operations. Specifically, a use-after-free condition arises in bfq_init_rq+0x175d/0x17a0 at block/bfq-iosched.c:6958. The issue stems from incorrect handling of process references when waker_bfqq is not in the merge chain, allowing access to freed memory. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to use-after-free conditions in the kernel's block I/O subsystem, potentially resulting in system crashes, memory corruption, or privilege escalation. The high CVSS score indicates that successful exploitation could lead to complete compromise of system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires local access with low privileges and no user interaction for exploitation. The attack complexity is low, making it relatively straightforward to exploit once an attacker has local access to the system (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves properly checking process references when waker_bfqq is not in the merge chain. Multiple stable kernel versions have received the patch, including 5.15.177, 6.1.125, 6.6.72, and 6.11. Users are advised to upgrade to these or later versions (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.128-1

Fixed

sid

linux: 6.12.10-1

Fixed

trixie

linux: 6.12.10-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux-hwe-5.15: 5.15.0-136.147~20.04.1

Fixed

focal (esm-infra)

linux-hwe-5.15: 5.15.0-136.147~20.04.1

Fixed

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Fixed

RHEL 8

Not Affected

RHEL 9

:appstream:kernel-0:5.14.0-611.5.1.el9_7.src

Fixed

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-7356HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules
NoYesOct 21, 2026
CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-internal
NoYesOct 18, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-devel-matched
NoYesOct 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management