CVE-2026-52993

tipc: fix double-free in tipc_buf_append()

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.40 % · percentile 35 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-763 — Release of Invalid Pointer or Reference
  • CWE-415 — Double Free

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d618d09a68e4eed7a435beb2e355250f6f40664a < a438975a6dcdbd70865978c021650d1485586f0b ; affected d618d09a68e4eed7a435beb2e355250f6f40664a < 4ee4deadaae7cb2e3d53af0fc889cf92a73413c0 ; affected d618d09a68e4eed7a435beb2e355250f6f40664a < d3556656c6daebf8def751c7e71d11dd0a180d24 ; affected d618d09a68e4eed7a435beb2e355250f6f40664a < 0274f24485fc38032d4093e463dc3ff5c7a667c9 ; affected d618d09a68e4eed7a435beb2e355250f6f40664a < 4d104882bc815d4ec666ace9155f5f52715879a6 ; affected d618d09a68e4eed7a435beb2e355250f6f40664a < 1d5e589055880fae229e229e1929e087dbe08cf3
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.141 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD