CVE-2024-36954
JSON

5.5medium

tipc: fix a possible memleak in tipc_buf_append

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: tipc: fix a possible memleak in tipc_buf_append __skb_linearize() doesn't free the skb when it fails, so move '*buf = NULL' after __skb_linearize(), so that the skb can be freed on the err path.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4b1761898861117c97066aea6c58f68a7787f0bf before 01cd1b7b685751ee422d00d050292a3d277652d6, from 64d17ec9f1ded042c4b188d15734f33486ed9966 before 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae, from 6da24cfc83ba4f97ea44fc7ae9999a006101755c before adbce6d20da6254c86425a8d4359b221b5ccbccd, from b7df21cf1b79ab7026f545e7bf837bd5750ac026 before 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c, from b7df21cf1b79ab7026f545e7bf837bd5750ac026 before d03a82f4f8144befdc10518e732e2a60b34c870e, from b7df21cf1b79ab7026f545e7bf837bd5750ac026 before 614c5a5ae45a921595952117b2e2bd4d4bf9b574, from b7df21cf1b79ab7026f545e7bf837bd5750ac026 before 3210d34fda4caff212cb53729e6bd46de604d565, from b7df21cf1b79ab7026f545e7bf837bd5750ac026 before 97bf6f81b29a8efaf5d0983251a7450e5794370d and 12 more
Not affected: before 5.13, 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 4.4.271 before 4.5, from 4.9.271 before 4.10, from 4.14.235 before 4.15, from 4.19.193 before 4.19.314, from 5.4.124 before 5.4.276, from 5.10.42 before 5.10.217, from 5.12.9 before 5.15.159, from 5.16 before 6.1.91 and 3 moreNVD
debian debian_linux10.0NVD

Classification

CWE-401

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: tipc: fix a possible memleak in tipc_buf_append __skb_linearize() doesn't free the skb when it fails, so move '*buf = NULL' after __skb_linearize(), so that the skb can be freed on the err path.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tipc: soluciona un posible memleak en tipc_buf_append __skb_linearize() no libera el skb cuando falla, así que mueve '*buf = NULL' después de __skb_linearize(), para que el skb se puede liberar en la ruta de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36954 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-36954 changed 2026-06-17Public domain