CVE-2025-22048
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-22048 is a vulnerability discovered in the Linux kernel, specifically affecting the LoongArch BPF (Berkeley Packet Filter) subsystem. The vulnerability was disclosed on April 16, 2025, and involves an issue where the subprogram's return value is incorrectly overridden (NVD, RedHat).

Technical details

The vulnerability occurs when the verifier test 'calls: div by 0 in subprog' triggers a panic at the ld.bu instruction. The issue stems from the ld.bu instruction attempting to load a byte from a memory address returned by the subprogram. While the subprogram correctly sets the address in the a5 register (dedicated for BPF return values), a previous commit (73c359d1d356) introduced sign extension of a5 to the a0 register. This causes incorrect propagation of the a0 register back to a5 register for bpf2bpf calls, which expect zero-extended return values. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (Low) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (RedHat).

Impact

The vulnerability can result in a system panic when specific BPF operations are performed, potentially leading to a denial of service condition. The impact is primarily limited to availability, with no direct impact on confidentiality or integrity of the system (RedHat).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.25-1 for Debian systems. Various distributions have released patches, with some versions being marked as not affected. For instance, Red Hat Enterprise Linux 6, 7, 8, and 9 are not affected by this vulnerability (Debian, RedHat).

Additional resources


SourceThis report was generated using AI

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