CVE-2024-36954

tipc: fix a possible memleak in tipc_buf_append

No CVSS score yet EPSS 0.25%

Published 30 May 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2024-36954

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-36954 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4b1761898861117c97066aea6c58f68a7787f0bf, before 01cd1b7b685751ee422d00d050292a3d277652d6
affected from 64d17ec9f1ded042c4b188d15734f33486ed9966, before 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae
affected from 6da24cfc83ba4f97ea44fc7ae9999a006101755c, before adbce6d20da6254c86425a8d4359b221b5ccbccd
affected from b7df21cf1b79ab7026f545e7bf837bd5750ac026, before 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c
affected from b7df21cf1b79ab7026f545e7bf837bd5750ac026, before d03a82f4f8144befdc10518e732e2a60b34c870e
affected from b7df21cf1b79ab7026f545e7bf837bd5750ac026, before 614c5a5ae45a921595952117b2e2bd4d4bf9b574
affected from b7df21cf1b79ab7026f545e7bf837bd5750ac026, before 3210d34fda4caff212cb53729e6bd46de604d565
affected from b7df21cf1b79ab7026f545e7bf837bd5750ac026, before 97bf6f81b29a8efaf5d0983251a7450e5794370d
affected b2c8d28c34b3070407cb1741f9ba3f15d0284b8b
affected 5489f30bb78ff0dafb4229a69632afc2ba20765c
affected 436d650d374329a591c30339a91fa5078052ed1e
affected ace300eecbccaa698e2b472843c74a5f33f7dce8
affected from 4.19.193, before 4.19.314
affected from 5.4.124, before 5.4.276
affected from 5.10.42, before 5.10.217
affected from 4.4.271, before 4.5
affected from 4.9.271, before 4.10
affected from 4.14.235, before 4.15
affected from 5.12.9, before 5.13
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 4.19.314 up to and including 4.19.*
unaffected from 5.4.276 up to and including 5.4.*
unaffected from 5.10.217 up to and including 5.10.*
unaffected from 5.15.159 up to and including 5.15.*
unaffected from 6.1.91 up to and including 6.1.*
unaffected from 6.6.31 up to and including 6.6.*
unaffected from 6.8.10 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-36954 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36954

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-36954
trivy image --scanners vuln IMAGE | grep CVE-2024-36954

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-36954 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.