CVE-2025-21728

bpf: Send signals asynchronously if !preemptible

No CVSS score yet EPSS 0.21%

Published 27 Feb 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21728

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21728 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Send signals asynchronously if !preemptible

BPF programs can execute in all kinds of contexts and when a program running in a non-preemptible context uses the bpf_send_signal() kfunc, it will cause issues because this kfunc can sleep. Change `irqs_disabled()` to `!preemptible()`.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6, before feba1308bc5e8e04cee751d39fae8a9b407a9034
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before ce51eab2070e295d298f42a2f1db269cd1b56d55
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before be42a09fe898635b0093c0c8dac1bfabe225c240
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before eeef8e65041a031bd8a747a392c14b76a123a12c
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before 78b97783496b454435639937db3303e900a24d3f
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before 092fc76b7ab4163e008f9cde596a58dad2108260
affected from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494, before 87c544108b612512b254c8f79aa5c0a8546e2cc4
affected 7930d01afb7281edd9782971e0cca6fe587c7a7b
affected from 5.4.33, before 5.4.291
affected from 5.5.18, before 5.6
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.76 up to and including 6.6.*
unaffected from 6.12.13 up to and including 6.12.*
unaffected from 6.13.2 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21728 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21728

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21728
trivy image --scanners vuln IMAGE | grep CVE-2025-21728

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21728 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.