Bug 2376354 (CVE-2025-38177) - CVE-2025-38177 kernel: sch_hfsc: make hfsc_qlen_notify() idempotent
Summary: CVE-2025-38177 kernel: sch_hfsc: make hfsc_qlen_notify() idempotent
Keywords:
Status: NEW
Alias: CVE-2025-38177
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-04 13:01 UTC by OSIDB Bzimport
Modified: 2025-10-03 14:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:14413 0 None None None 2025-08-25 01:39:32 UTC
Red Hat Product Errata RHSA-2025:14511 0 None None None 2025-08-25 14:14:02 UTC
Red Hat Product Errata RHSA-2025:14691 0 None None None 2025-08-27 00:07:46 UTC
Red Hat Product Errata RHSA-2025:14692 0 None None None 2025-08-27 00:23:19 UTC
Red Hat Product Errata RHSA-2025:14696 0 None None None 2025-08-27 00:27:57 UTC
Red Hat Product Errata RHSA-2025:14742 0 None None None 2025-08-27 10:39:59 UTC
Red Hat Product Errata RHSA-2025:14744 0 None None None 2025-08-27 11:39:59 UTC
Red Hat Product Errata RHSA-2025:14746 0 None None None 2025-08-27 11:40:55 UTC
Red Hat Product Errata RHSA-2025:14748 0 None None None 2025-08-27 12:39:54 UTC
Red Hat Product Errata RHSA-2025:15016 0 None None None 2025-09-02 05:55:19 UTC
Red Hat Product Errata RHSA-2025:15035 0 None None None 2025-09-02 06:53:40 UTC

Description OSIDB Bzimport 2025-07-04 13:01:14 UTC
In the Linux kernel, the following vulnerability has been resolved:

sch_hfsc: make hfsc_qlen_notify() idempotent

hfsc_qlen_notify() is not idempotent either and not friendly
to its callers, like fq_codel_dequeue(). Let's make it idempotent
to ease qdisc_tree_reduce_backlog() callers' life:

1. update_vf() decreases cl->cl_nactive, so we can check whether it is
non-zero before calling it.

2. eltree_remove() always removes RB node cl->el_node, but we can use
   RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.

Comment 1 Mauro Matteo Cascella 2025-07-04 13:19:28 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070411-CVE-2025-38177-bd6c@gregkh/T

Comment 6 errata-xmlrpc 2025-08-25 01:39:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Advanced Update Support

Via RHSA-2025:14413 https://access.redhat.com/errata/RHSA-2025:14413

Comment 7 errata-xmlrpc 2025-08-25 14:14:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:14511 https://access.redhat.com/errata/RHSA-2025:14511

Comment 8 errata-xmlrpc 2025-08-27 00:07:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14691 https://access.redhat.com/errata/RHSA-2025:14691

Comment 9 errata-xmlrpc 2025-08-27 00:23:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:14692 https://access.redhat.com/errata/RHSA-2025:14692

Comment 10 errata-xmlrpc 2025-08-27 00:27:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14696 https://access.redhat.com/errata/RHSA-2025:14696

Comment 11 errata-xmlrpc 2025-08-27 10:39:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:14742 https://access.redhat.com/errata/RHSA-2025:14742

Comment 12 errata-xmlrpc 2025-08-27 11:39:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:14744 https://access.redhat.com/errata/RHSA-2025:14744

Comment 13 errata-xmlrpc 2025-08-27 11:40:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:14746 https://access.redhat.com/errata/RHSA-2025:14746

Comment 14 errata-xmlrpc 2025-08-27 12:39:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:14748 https://access.redhat.com/errata/RHSA-2025:14748

Comment 15 errata-xmlrpc 2025-09-02 05:55:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15016 https://access.redhat.com/errata/RHSA-2025:15016

Comment 16 errata-xmlrpc 2025-09-02 06:53:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2025:15035 https://access.redhat.com/errata/RHSA-2025:15035


Note You need to log in before you can comment on or make changes to this bug.