tipc: fix double-free in tipc_buf_append()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: tipc: fix double-free in tipc_buf_append() tipc_msg_validate() can potentially reallocate the skb it is validating, freeing the old one. In tipc_buf_append(), it was being called with a pointer to a local variable which was a copy of the caller's skb pointer. If the skb was reallocated and validation subsequently failed, the error handling path would free the original skb pointer, which had already been freed, leading to double-free. Fix this by checking if head now points to a newly allocated reassembled skb. If it does, reassign *headbuf for later freeing operations.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in a438975a6dcdbd70865978c021650d1485586f0b; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in 4ee4deadaae7cb2e3d53af0fc889cf92a73413c0; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in d3556656c6daebf8def751c7e71d11dd0a180d24; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in 0274f24485fc38032d4093e463dc3ff5c7a667c9; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in 4d104882bc815d4ec666ace9155f5f52715879a6; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in 1d5e589055880fae229e229e1929e087dbe08cf3; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in 29940fff14110ca48c5ccc168d121665b51bb778; From d618d09a68e4eed7a435beb2e355250f6f40664a · fixed in d293ca716e7d5dffdaecaf6b9b2f857a33dc3d3a
- Linux Linux
4.15
- KernelLinux
From 4.15.0 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.141; From 6.7.0 · fixed in 6.12.91; From 6.13.0 · fixed in 6.18.33; From 6.19.0 · fixed in 7.0.10
- :linux_kernel:Android
From :0 · fixed in :2026-09-05
References 8
git.kernel.org
- stable/c/a438975a6dcdbd70865978c021650d1485586f0b
- stable/c/4ee4deadaae7cb2e3d53af0fc889cf92a73413c0
- stable/c/d3556656c6daebf8def751c7e71d11dd0a180d24
- stable/c/0274f24485fc38032d4093e463dc3ff5c7a667c9
- stable/c/4d104882bc815d4ec666ace9155f5f52715879a6
- stable/c/1d5e589055880fae229e229e1929e087dbe08cf3
- stable/c/29940fff14110ca48c5ccc168d121665b51bb778
- stable/c/d293ca716e7d5dffdaecaf6b9b2f857a33dc3d3a