CVE-2025-40083 Affecting kernel-rt-devel package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-KERNELRTDEVEL-13781899
  • published30 Oct 2025
  • disclosed29 Oct 2025

Introduced: 29 Oct 2025

NewCVE-2025-40083  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 kernel-rt-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-devel package and not the kernel-rt-devel package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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

net/sched: sch_qfq: Fix null-deref in agg_dequeue

To prevent a potential crash in agg_dequeue (net/sched/sch_qfq.c) when cl->qdisc->ops->peek(cl->qdisc) returns NULL, we check the return value before using it, similar to the existing approach in sch_hfsc.c.

To avoid code duplication, the following changes are made:

  1. Changed qdisc_warn_nonwc(include/net/pkt_sched.h) into a static inline function.

  2. Moved qdisc_peek_len from net/sched/sch_hfsc.c to include/net/pkt_sched.h so that sch_qfq can reuse it.

  3. Applied qdisc_peek_len in agg_dequeue to avoid crashing.

CVSS Base Scores

version 3.1