CVE-2025-38477

MediumCVSS 4.7/10Last modified Jul 30, 2026

Description

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

net/sched: sch_qfq: Fix race condition on qfq_aggregate

A race condition can occur when 'agg' is modified in qfq_change_agg (called during qfq_enqueue) while other threads access it concurrently. For example, qfq_dump_class may trigger a NULL dereference, and qfq_delete_class may cause a use-after-free.

This patch addresses the issue by:

1. Moved qfq_destroy_class into the critical section.

2. Added sch_tree_lock protection to qfq_dump_class and qfq_dump_class_stats.

Metrics

CVSS 3.1 4.7/10CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 462dbc9101acd38e92eda93c0726857517a24bbd, < aa7a22c4d678bf649fd3a1d27debec583563414d; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < d841aa5518508ab195b6781ad0d73ee378d713dd; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < c6df794000147a3a02f79984aada4ce83f8d0a1e; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < 466e10194ab81caa2ee6a332d33ba16bcceeeba6; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < fbe48f06e64134dfeafa89ad23387f66ebca3527; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < a6d735100f602c830c16d69fb6d780eebd8c9ae1; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < c000a3a330d97f6c073ace5aa5faf94b9adb4b79; >= 462dbc9101acd38e92eda93c0726857517a24bbd, < 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
LinuxLinux3.8
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.5, < *
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP>= V3.1.5, < *
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP>= V3.1.5, < *

References

Timeline

Published
Jul 28, 2025
Last modified
Jul 30, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-384785.5In the Linux kernel, the following vulnerability has been resolved: comedi: Fix initialization of data for instructions that write to subdeCVE-2025-384797.8In the Linux kernel, the following vulnerability has been resolved: dmaengine: fsl-edma: free irq correctly in remove path Add fsl_edma->tCVE-2025-384805.5In the Linux kernel, the following vulnerability has been resolved: comedi: Fix use of uninitialized data in insn_rw_emulate_bits() For CoCVE-2025-384815.5In the Linux kernel, the following vulnerability has been resolved: comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large The handlinCVE-2025-384827.1In the Linux kernel, the following vulnerability has been resolved: comedi: das6402: Fix bit shift out of bounds When checking for a suppoCVE-2025-384837.1In the Linux kernel, the following vulnerability has been resolved: comedi: das16m1: Fix bit shift out of bounds When checking for a suppoCVE-2025-384847.8In the Linux kernel, the following vulnerability has been resolved: iio: backend: fix out-of-bound write The buffer is set to 80 characterCVE-2025-384857.8In the Linux kernel, the following vulnerability has been resolved: iio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush fxCVE-2025-384865.5In the Linux kernel, the following vulnerability has been resolved: soundwire: Revert "soundwire: qcom: Add set_channel_map api support" TCVE-2025-384875.5In the Linux kernel, the following vulnerability has been resolved: soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled MitCVE-2025-384887.8In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in crypt_message when using async cryptCVE-2025-384895.5In the Linux kernel, the following vulnerability has been resolved: s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again Commit
CVE-2025-38477: Medium severity, CVSS 4.7 | Vulnix