CVE-2026-52993 PUBLISHED

tipc: fix double-free in tipc_buf_append()

Assigner: Linux
Reserved: 09.06.2026 Published: 24.06.2026 Updated: 28.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to a438975a6dcdbd70865978c021650d1485586f0b (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to 4ee4deadaae7cb2e3d53af0fc889cf92a73413c0 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to d3556656c6daebf8def751c7e71d11dd0a180d24 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to 0274f24485fc38032d4093e463dc3ff5c7a667c9 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to 4d104882bc815d4ec666ace9155f5f52715879a6 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to 1d5e589055880fae229e229e1929e087dbe08cf3 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to 29940fff14110ca48c5ccc168d121665b51bb778 (excl.)
  • affected from d618d09a68e4eed7a435beb2e355250f6f40664a to d293ca716e7d5dffdaecaf6b9b2f857a33dc3d3a (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 5.10.258 to 5.10.* (incl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.141 to 6.6.* (incl.)
  • unaffected from 6.12.91 to 6.12.* (incl.)
  • unaffected from 6.18.33 to 6.18.* (incl.)
  • unaffected from 7.0.10 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References