{"id":"CVE-2024-36954","summary":"tipc: fix a possible memleak in tipc_buf_append","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix a possible memleak in tipc_buf_append\n\n__skb_linearize() doesn't free the skb when it fails, so move\n'*buf = NULL' after __skb_linearize(), so that the skb can be\nfreed on the err path.","modified":"2026-03-20T12:36:54.197468Z","published":"2024-05-30T15:35:48.665Z","related":["ALSA-2024:5102","MGASA-2024-0263","MGASA-2024-0266","SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4367-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0035-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36954.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01cd1b7b685751ee422d00d050292a3d277652d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3210d34fda4caff212cb53729e6bd46de604d565"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/614c5a5ae45a921595952117b2e2bd4d4bf9b574"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97bf6f81b29a8efaf5d0983251a7450e5794370d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adbce6d20da6254c86425a8d4359b221b5ccbccd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d03a82f4f8144befdc10518e732e2a60b34c870e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36954.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36954"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4b1761898861117c97066aea6c58f68a7787f0bf"},{"fixed":"01cd1b7b685751ee422d00d050292a3d277652d6"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"64d17ec9f1ded042c4b188d15734f33486ed9966"},{"fixed":"2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6da24cfc83ba4f97ea44fc7ae9999a006101755c"},{"fixed":"adbce6d20da6254c86425a8d4359b221b5ccbccd"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b7df21cf1b79ab7026f545e7bf837bd5750ac026"},{"fixed":"42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c"},{"fixed":"d03a82f4f8144befdc10518e732e2a60b34c870e"},{"fixed":"614c5a5ae45a921595952117b2e2bd4d4bf9b574"},{"fixed":"3210d34fda4caff212cb53729e6bd46de604d565"},{"fixed":"97bf6f81b29a8efaf5d0983251a7450e5794370d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"b2c8d28c34b3070407cb1741f9ba3f15d0284b8b"},{"last_affected":"5489f30bb78ff0dafb4229a69632afc2ba20765c"},{"last_affected":"436d650d374329a591c30339a91fa5078052ed1e"},{"last_affected":"ace300eecbccaa698e2b472843c74a5f33f7dce8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36954.json"}}],"schema_version":"1.7.5"}