cbcvebase.
CVE-2025-38684
published 2025-09-04

CVE-2025-38684: In the Linux kernel, the following vulnerability has been resolved: net/sched: ets: use old 'nbands' while purging unused classes Shuang reported sch_ets…

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
In the Linux kernel, the following vulnerability has been resolved: net/sched: ets: use old 'nbands' while purging unused classes Shuang reported sch_ets test-case [1] crashing in ets_class_qlen_notify() after recent changes from Lion [2]. The problem is: in ets_qdisc_change() we purge unused DWRR queues; the value of 'q->nbands' is the new one, and the cleanup should be done with the old one. The problem is here since my first attempts to fix ets_qdisc_change(), but it surfaced again after the recent qdisc len accounting fixes. Fix it purging idle DWRR queues before assigning a new value of 'q->nbands', so that all purge operations find a consistent configuration: - old 'q->nbands' because it's needed by ets_class_find() - old 'q->nstrict' because it's needed by ets_class_is_strict() BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP NOPTI CPU: 62 UID: 0 PID: 39457 Comm: tc Kdump: loaded Not tainted 6.12.0-116.el10.x86_64 #1 PREEMPT(voluntary) Hardware name: Dell Inc. PowerEdge R640/06DKY5, BIOS 2.12.2 07/09/2021 RIP: 0010:__list_del_entry_valid_or_report+0x4/0x80 Code: ff 4c 39 c7 0f 84 39 19 8e ff b8 01 00 00 00 c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 8b 17 48 8b 4f 08 48 85 d2 0f 84 56 19 8e ff 48 85 c9 0f 84 ab RSP: 0018:ffffba186009f400 EFLAGS: 00010202 RAX: 00000000000000d6 RBX: 0000000000000000 RCX: 0000000000000004 RDX: ffff9f0fa29b69c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffffc12c2400 R08: 0000000000000008 R09: 0000000000000004 R10: ffffffffffffffff R11: 0000000000000004 R12: 0000000000000000 R13: ffff9f0f8cfe0000 R14: 0000000000100005 R15: 0000000000000000 FS: 00007f2154f37480(0000) GS:ffff9f269c1c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001530be001 CR4: 00000000007726f0 DR0: 000000000000

Affected

40 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.153-1 (bookworm)linux 6.1.153-1 (bookworm)
debianlinux-6.1< linux 6.1.153-1 (bookworm)linux 6.1.153-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux>= 5.4.296 < 5.55.5
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < bdfddcde86e8b9245d9c0c2efe2b6fe8dcf6bf41bdfddcde86e8b9245d9c0c2efe2b6fe8dcf6bf41
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < be9692dafdfb36d9c43afd9d4e1d9d9ba8e7b51bbe9692dafdfb36d9c43afd9d4e1d9d9ba8e7b51b
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < 97ec167cd2e8a81a2d87331a2ed92daf007542c897ec167cd2e8a81a2d87331a2ed92daf007542c8
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < 84a24fb446ee07b22b64aae6f0e3f4a38266310a84a24fb446ee07b22b64aae6f0e3f4a38266310a
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < 5b3b346bc4c2aa2c428735438a11989d251f32f15b3b346bc4c2aa2c428735438a11989d251f32f1
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < d69f4a258cd91b3bcef7089eb0401005aae2aed5d69f4a258cd91b3bcef7089eb0401005aae2aed5
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < 970c1c731c4ede46d05f5b0355724d1e400cfbca970c1c731c4ede46d05f5b0355724d1e400cfbca
linuxlinux>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 < 87c6efc5ce9c126ae4a781bc04504b83780e365087c6efc5ce9c126ae4a781bc04504b83780e3650
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.153-16.1.153-1
linuxlinux_kernel>= 0 < 6.12.43-16.12.43-1
linuxlinux_kernel>= 0 < 6.16.3-16.16.3-1
linuxlinux_kernel>= 0 < 5.15.0-163.1735.15.0-163.173
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 5.11 < 5.15.1905.15.190
linuxlinux_kernel>= 5.16 < 6.1.1496.1.149
linuxlinux_kernel>= 5.4.296 < 5.55.5
linuxlinux_kernel>= 5.6 < 5.10.2415.10.241

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM