# CVE-2024-36954: tipc: fix a possible memleak in tipc\_buf\_append

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-05-30T15:35:48.665Z
- **Modified:** 2026-06-17T07:37:26.603Z

## Who should check

- Anyone running Linux \>= 4b1761898861117c97066aea6c58f68a7787f0bf, \< 01cd1b7b685751ee422d00d050292a3d277652d6; \>= 64d17ec9f1ded042c4b188d15734f33486ed9966, \< 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae; \>= 6da24cfc83ba4f97ea44fc7ae9999a006101755c, \< adbce6d20da6254c86425a8d4359b221b5ccbccd; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< d03a82f4f8144befdc10518e732e2a60b34c870e; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 614c5a5ae45a921595952117b2e2bd4d4bf9b574; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 3210d34fda4caff212cb53729e6bd46de604d565; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 97bf6f81b29a8efaf5d0983251a7450e5794370d; b2c8d28c34b3070407cb1741f9ba3f15d0284b8b; 5489f30bb78ff0dafb4229a69632afc2ba20765c; …
- Anyone running Linux 5.13

## 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 and fixed versions

- Linux: \>= 4b1761898861117c97066aea6c58f68a7787f0bf, \< 01cd1b7b685751ee422d00d050292a3d277652d6; \>= 64d17ec9f1ded042c4b188d15734f33486ed9966, \< 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae; \>= 6da24cfc83ba4f97ea44fc7ae9999a006101755c, \< adbce6d20da6254c86425a8d4359b221b5ccbccd; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< d03a82f4f8144befdc10518e732e2a60b34c870e; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 614c5a5ae45a921595952117b2e2bd4d4bf9b574; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 3210d34fda4caff212cb53729e6bd46de604d565; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 97bf6f81b29a8efaf5d0983251a7450e5794370d; b2c8d28c34b3070407cb1741f9ba3f15d0284b8b; 5489f30bb78ff0dafb4229a69632afc2ba20765c; … (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36954.md
Affected: Linux >= 4b1761898861117c97066aea6c58f68a7787f0bf, < 01cd1b7b685751ee422d00d050292a3d277652d6; >= 64d17ec9f1ded042c4b188d15734f33486ed9966, < 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae; >= 6da24cfc83ba4f97ea44fc7ae9999a006101755c, < adbce6d20da6254c86425a8d4359b221b5ccbccd; >= b7df21cf1b79ab7026f545e…
Fixed in: Linux 01cd1b7b685751ee422d00d050292a3d277652d6, Linux 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae, Linux 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c, Linux 614c5a5ae45a921595952117b2e2bd4d4bf9b574, Linux 3210d34fda4caff212cb53729e6bd46de604d565, Linux 97bf6f81b29a8efaf5d0983251a7450e5794370d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36954 being exploited?

There is no confirmed exploitation: CVE-2024-36954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36954?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36954?

Linux \>= 4b1761898861117c97066aea6c58f68a7787f0bf, \< 01cd1b7b685751ee422d00d050292a3d277652d6; \>= 64d17ec9f1ded042c4b188d15734f33486ed9966, \< 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae; \>= 6da24cfc83ba4f97ea44fc7ae9999a006101755c, \< adbce6d20da6254c86425a8d4359b221b5ccbccd; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< d03a82f4f8144befdc10518e732e2a60b34c870e; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 614c5a5ae45a921595952117b2e2bd4d4bf9b574; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 3210d34fda4caff212cb53729e6bd46de604d565; \>= b7df21cf1b79ab7026f545e7bf837bd5750ac026, \< 97bf6f81b29a8efaf5d0983251a7450e5794370d; b2c8d28c34b3070407cb1741f9ba3f15d0284b8b; 5489f30bb78ff0dafb4229a69632afc2ba20765c; …; Linux 5.13.

### Is there a fix for CVE-2024-36954?

Yes. Fixed in Linux 01cd1b7b685751ee422d00d050292a3d277652d6, Linux 2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae, Linux 42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c, Linux 614c5a5ae45a921595952117b2e2bd4d4bf9b574, Linux 3210d34fda4caff212cb53729e6bd46de604d565, Linux 97bf6f81b29a8efaf5d0983251a7450e5794370d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36954?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/01cd1b7b685751ee422d00d050292a3d277652d6>
- patch: <https://git.kernel.org/stable/c/2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae>
- patch: <https://git.kernel.org/stable/c/adbce6d20da6254c86425a8d4359b221b5ccbccd>
- patch: <https://git.kernel.org/stable/c/42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c>
- patch: <https://git.kernel.org/stable/c/d03a82f4f8144befdc10518e732e2a60b34c870e>
- patch: <https://git.kernel.org/stable/c/614c5a5ae45a921595952117b2e2bd4d4bf9b574>
- patch: <https://git.kernel.org/stable/c/3210d34fda4caff212cb53729e6bd46de604d565>
- patch: <https://git.kernel.org/stable/c/97bf6f81b29a8efaf5d0983251a7450e5794370d>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36954>

HTML: <https://flawdb.com/CVE-2024-36954> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36954>
