CVE-2025-21636
JSON

5.5medium

sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: - Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns. - current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2). The 'net' structure can be obtained from the table->data using container_of(). Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.probe_interval' is used.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 before 1dc5da6c4178f3e4b95c631418f72de9f86c0449, from d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 before 44ee8635922b6eb940faddb961a8347c6857d722, from d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 before 284a221f8fa503628432c7bb5108277c688c6ffa, from d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 before bcf8c60074e81ed2ac2d35130917175a3949c917, from d1e462a7a5f359cbb9a0e8fbfafcfb6657034105 before 6259d2484d0ceff42245d1f09cc8cb6ee72d847a, 5.14
Not affected: before 5.14, from 5.15.177 up to 5.15.*, from 6.1.125 up to 6.1.*, from 6.6.72 up to 6.6.*, from 6.12.10 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 5.14 before 5.15.177, from 5.16 before 6.1.125, from 6.2 before 6.6.72, from 6.7 before 6.12.10, 6.13NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/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

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: - Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns. - current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2). The 'net' structure can be obtained from the table->data using container_of(). Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.probe_interval' is used.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: sctp: sysctl: plpmtud_probe_interval: evitar usar current->nsproxy Como se mencionó en un commit anterior de esta serie, no se recomienda usar la estructura 'net' a través de 'current' por diferentes razones: - Inconsistencia: obtener información de los netns del lector/escritor vs solo de los netns del abridor. - current->nsproxy puede ser NULL en algunos casos, lo que resulta en un 'Oops' (null-ptr-deref), por ejemplo cuando la tarea actual está saliendo, como lo detectó syzbot [1] usando acct(2). La estructura 'net' se puede obtener de table->data usando Container_of(). Tenga en cuenta que table->data también se puede usar directamente, ya que este es el único miembro necesario de la estructura 'net', pero eso aumentaría el tamaño de esta corrección, para usar '*data' en todos los lugares donde se use 'net->sctp.probe_interval'.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21636 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21636 changed 2026-06-17Public domain