CVE-2026-23419
JSON

7.5high

net/rds: Fix circular locking dependency in rds_tcp_tune

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/rds: Fix circular locking dependency in rds_tcp_tune syzbot reported a circular locking dependency in rds_tcp_tune() where sk_net_refcnt_upgrade() is called while holding the socket lock: ====================================================== WARNING: possible circular locking dependency detected ====================================================== kworker/u10:8/15040 is trying to acquire lock: ffffffff8e9aaf80 (fs_reclaim){+.+.}-{0:0}, at: __kmalloc_cache_noprof+0x4b/0x6f0 but task is already holding lock: ffff88805a3c1ce0 (k-sk_lock-AF_INET6){+.+.}-{0:0}, at: rds_tcp_tune+0xd7/0x930 The issue occurs because sk_net_refcnt_upgrade() performs memory allocation (via get_net_track() -> ref_tracker_alloc()) while the socket lock is held, creating a circular dependency with fs_reclaim. Fix this by moving sk_net_refcnt_upgrade() outside the socket lock critical section. This is safe because the fields modified by the sk_net_refcnt_upgrade() call (sk_net_refcnt, ns_tracker) are not accessed by any concurrent code path at this point. v2: - Corrected fixes tag - check patch line wrap nits - ai commentary nits

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before ce5be6703afd2ac2ff7dabd397137d71d22d4bc3, from 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before 8babb271403378ba6836f6c8599c5313d0e2355d, from 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before 8519e6883a942e510f33a0e634e27bcc3a844a40, from 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before 6ce948fa54599f369ff7fe8b793a6aae4b0762b2, from 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before 026bbaeeab9e04534ee58882b6447300629b42f6, from 3a58f13a881ed351198ffab4cf9953cf19d2ab3a before 6a877ececd6daa002a9a0002cd0fbca6592a9244, 2a6efabed754c9dcf27e6def71317b374f58a852, from 5.17.7 before 5.18 and 1 more
Not affected: before 5.18, from 6.1.191 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.77 up to 6.12.*, from 6.18.17 up to 6.18.*, from 6.19.7 up to 6.19.*
CVE List
linux linux_kernelfrom 5.17.7 before 5.18, from 5.18.1 before 6.6.130, from 6.7 before 6.12.77, from 6.13 before 6.18.17, from 6.19 before 6.19.7, 5.18, 7.0NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net/rds: Fix circular locking dependency in rds_tcp_tune syzbot reported a circular locking dependency in rds_tcp_tune() where sk_net_refcnt_upgrade() is called while holding the socket lock: ====================================================== WARNING: possible circular locking dependency detected ====================================================== kworker/u10:8/15040 is trying to acquire lock: ffffffff8e9aaf80 (fs_reclaim){+.+.}-{0:0}, at: __kmalloc_cache_noprof+0x4b/0x6f0 but task is already holding lock: ffff88805a3c1ce0 (k-sk_lock-AF_INET6){+.+.}-{0:0}, at: rds_tcp_tune+0xd7/0x930 The issue occurs because sk_net_refcnt_upgrade() performs memory allocation (via get_net_track() -> ref_tracker_alloc()) while the socket lock is held, creating a circular dependency with fs_reclaim. Fix this by moving sk_net_refcnt_upgrade() outside the socket lock critical section. This is safe because the fields modified by the sk_net_refcnt_upgrade() call (sk_net_refcnt, ns_tracker) are not accessed by any concurrent code path at this point. v2: - Corrected fixes tag - check patch line wrap nits - ai commentary nits

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/rds: Corrección de la dependencia de bloqueo circular en rds_tcp_tune syzbot informó de una dependencia de bloqueo circular en rds_tcp_tune() donde se llama a sk_net_refcnt_upgrade() mientras se mantiene el bloqueo del socket: ====================================================== ADVERTENCIA: posible dependencia de bloqueo circular detectada ====================================================== kworker/u10:8/15040 está intentando adquirir el bloqueo: ffffffff8e9aaf80 (fs_reclaim){+.+.}-{0:0}, en: __kmalloc_cache_noprof+0x4b/0x6f0 pero la tarea ya está manteniendo el bloqueo: ffff88805a3c1ce0 (k-sk_lock-AF_INET6){+.+.}-{0:0}, en: rds_tcp_tune+0xd7/0x930 El problema ocurre porque sk_net_refcnt_upgrade() realiza una asignación de memoria (a través de get_net_track() -> ref_tracker_alloc()) mientras se mantiene el bloqueo del socket, creando una dependencia circular con fs_reclaim. Solucione esto moviendo sk_net_refcnt_upgrade() fuera de la sección crítica del bloqueo del socket. Esto es seguro porque los campos modificados por la llamada a sk_net_refcnt_upgrade() (sk_net_refcnt, ns_tracker) no son accedidos por ninguna ruta de código concurrente en este punto. v2: - Etiqueta de correcciones corregida - revisar pequeños errores de ajuste de línea del parche - pequeños errores en los comentarios de ai

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23419 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-23419 changed 2026-10-30Public domain