# CVE-2025-21728: bpf: Send signals asynchronously if !preemptible

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:34.114Z
- Modified: 2026-10-15T02:17:31.037Z
- Assigned by: Linux

## 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()`.

(As written by CVE List.)

## Affected

- Linux Linux: from fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6 before feba1308bc5e8e04cee751d39fae8a9b407a9034; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before ce51eab2070e295d298f42a2f1db269cd1b56d55; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before be42a09fe898635b0093c0c8dac1bfabe225c240; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before eeef8e65041a031bd8a747a392c14b76a123a12c; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before 78b97783496b454435639937db3303e900a24d3f; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before 092fc76b7ab4163e008f9cde596a58dad2108260; from 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 before 87c544108b612512b254c8f79aa5c0a8546e2cc4; 7930d01afb7281edd9782971e0cca6fe587c7a7b; from 5.4.33 before 5.4.291; from 5.5.18 before 5.6; 5.6 (not affected: before 5.6; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.4.33 before 5.4.291; from 5.5.18 before 5.6; from 5.6.1 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2; 5.6

## References

- <https://git.kernel.org/stable/c/feba1308bc5e8e04cee751d39fae8a9b407a9034> (patch)
- <https://git.kernel.org/stable/c/ce51eab2070e295d298f42a2f1db269cd1b56d55> (patch)
- <https://git.kernel.org/stable/c/e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4> (patch)
- <https://git.kernel.org/stable/c/be42a09fe898635b0093c0c8dac1bfabe225c240> (patch)
- <https://git.kernel.org/stable/c/eeef8e65041a031bd8a747a392c14b76a123a12c> (patch)
- <https://git.kernel.org/stable/c/78b97783496b454435639937db3303e900a24d3f> (patch)
- <https://git.kernel.org/stable/c/092fc76b7ab4163e008f9cde596a58dad2108260> (patch)
- <https://git.kernel.org/stable/c/87c544108b612512b254c8f79aa5c0a8546e2cc4> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2025-21728](https://www.cve.org/CVERecord?id=CVE-2025-21728), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21728](https://nvd.nist.gov/vuln/detail/CVE-2025-21728), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21728 · Whole record: https://cve.day/CVE-2025-21728.json · Rebuilt by cve.day 2026-11-25T22:58:54.503Z
