CVE-2024-27401
JSON

7.8high

firewire: nosy: ensure user_length is taken into account when fetching packet contents

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

Description

In the Linux kernel, the following vulnerability has been resolved: firewire: nosy: ensure user_length is taken into account when fetching packet contents Ensure that packet_buffer_get respects the user_length provided. If the length of the head packet exceeds the user_length, packet_buffer_get will now return 0 to signify to the user that no data were read and a larger buffer size is required. Helps prevent user space overflows.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 286468210d83ce0ca1e37e346ed9f4457a161650 before 67f34f093c0f7bf33f5b4ae64d3d695a3b978285, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 7b8c7bd2296e95b38a6ff346242356a2e7190239, from 286468210d83ce0ca1e37e346ed9f4457a161650 before cca330c59c54207567a648357835f59df9a286bb, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 79f988d3ffc1aa778fc5181bdfab312e57956c6b, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 4ee0941da10e8fdcdb34756b877efd3282594c1f, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 1fe60ee709436550f8cfbab01295936b868d5baa, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 539d51ac48bcfcfa1b3d4a85f8df92fa22c1d41c, from 286468210d83ce0ca1e37e346ed9f4457a161650 before 38762a0763c10c24a4915feee722d7aa6e73eb98 and 1 more
Not affected: before 2.6.36, from 4.19.314 up to 4.19.*, from 5.4.276 up to 5.4.*, from 5.10.217 up to 5.10.*, from 5.15.159 up to 5.15.*, from 6.1.91 up to 6.1.*
CVE List
linux linux_kernelfrom 2.6.36 before 4.19.314, from 4.20 before 5.4.276, from 5.5 before 5.10.217, from 5.11 before 5.15.159, from 5.16 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9NVD
debian debian_linux10.0NVD
fedoraproject fedora39, 40NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

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: firewire: nosy: ensure user_length is taken into account when fetching packet contents Ensure that packet_buffer_get respects the user_length provided. If the length of the head packet exceeds the user_length, packet_buffer_get will now return 0 to signify to the user that no data were read and a larger buffer size is required. Helps prevent user space overflows.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firewire: nosy: asegúrese de que se tenga en cuenta la longitud de usuario al recuperar el contenido del paquete. Asegúrese de que paquete_buffer_get respete la longitud de usuario proporcionada. Si la longitud del paquete principal excede la longitud del usuario, paquete_buffer_get ahora devolverá 0 para indicarle al usuario que no se leyeron datos y que se requiere un tamaño de búfer mayor. Ayuda a evitar el desbordamiento del espacio del usuario.

References

https://git.kernel.org/stable/c/67f34f093c0f7bf33f5b4ae64d3d695a3b978285patch
https://git.kernel.org/stable/c/7b8c7bd2296e95b38a6ff346242356a2e7190239patch
https://git.kernel.org/stable/c/cca330c59c54207567a648357835f59df9a286bbpatch
https://git.kernel.org/stable/c/79f988d3ffc1aa778fc5181bdfab312e57956c6bpatch
https://git.kernel.org/stable/c/4ee0941da10e8fdcdb34756b877efd3282594c1fpatch
https://git.kernel.org/stable/c/1fe60ee709436550f8cfbab01295936b868d5baapatch
https://git.kernel.org/stable/c/539d51ac48bcfcfa1b3d4a85f8df92fa22c1d41cpatch
https://git.kernel.org/stable/c/38762a0763c10c24a4915feee722d7aa6e73eb98patch
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OTB4HWU2PTVW5NEYHHLOCXDKG3PYA534/third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DW2MIOIMOFUSNLHLRYX23AFR36BMKD65/third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-27401 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-27401 changed 2026-08-04Public domain