---
id: CVE-2025-21728
title: |-
  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…
summary: |-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.4.33, < 5.4.291'
  - 'linux_kernel >= 5.5.18, < 5.6'
  - 'linux_kernel >= 5.6.1, < 5.10.235'
  - 'linux_kernel >= 5.11, < 5.15.179'
  - 'linux_kernel >= 5.16, < 6.1.129'
  - 'linux_kernel >= 6.2, < 6.6.76'
  - 'linux_kernel >= 6.7, < 6.12.13'
  - 'linux_kernel >= 6.13, < 6.13.2'
  - linux_kernel = 5.6
patched:
  - linux_kernel 6.13.2
published: '2025-02-27'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:17:31.037'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21728'
references:
  - url: 'https://git.kernel.org/stable/c/092fc76b7ab4163e008f9cde596a58dad2108260'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/78b97783496b454435639937db3303e900a24d3f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/87c544108b612512b254c8f79aa5c0a8546e2cc4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/be42a09fe898635b0093c0c8dac1bfabe225c240'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ce51eab2070e295d298f42a2f1db269cd1b56d55'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eeef8e65041a031bd8a747a392c14b76a123a12c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/feba1308bc5e8e04cee751d39fae8a9b407a9034'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-082556.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00214
epssPercentile: 0.1169
ingestedAt: '2026-10-15T03:30:12.789Z'
---

## Overview

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

## Affected

- `linux_kernel >= 5.4.33, < 5.4.291`
- `linux_kernel >= 5.5.18, < 5.6`
- `linux_kernel >= 5.6.1, < 5.10.235`
- `linux_kernel >= 5.11, < 5.15.179`
- `linux_kernel >= 5.16, < 6.1.129`
- `linux_kernel >= 6.2, < 6.6.76`
- `linux_kernel >= 6.7, < 6.12.13`
- `linux_kernel >= 6.13, < 6.13.2`
- `linux_kernel = 5.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.2`
