# CVE-2022-49017: tipc: re-fetch skb cb after tipc_msg_validate

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-02)
- Published: 2024-10-21T20:06:25.971Z
- Modified: 2026-08-05T08:53:28.139Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tipc: re-fetch skb cb after tipc_msg_validate

As the call trace shows, the original skb was freed in tipc_msg_validate(),
and dereferencing the old skb cb would cause an use-after-free crash.

  BUG: KASAN: use-after-free in tipc_crypto_rcv_complete+0x1835/0x2240 [tipc]
  Call Trace:
   <IRQ>
   tipc_crypto_rcv_complete+0x1835/0x2240 [tipc]
   tipc_crypto_rcv+0xd32/0x1ec0 [tipc]
   tipc_rcv+0x744/0x1150 [tipc]
  ...
  Allocated by task 47078:
   kmem_cache_alloc_node+0x158/0x4d0
   __alloc_skb+0x1c1/0x270
   tipc_buf_acquire+0x1e/0xe0 [tipc]
   tipc_msg_create+0x33/0x1c0 [tipc]
   tipc_link_build_proto_msg+0x38a/0x2100 [tipc]
   tipc_link_timeout+0x8b8/0xef0 [tipc]
   tipc_node_timeout+0x2a1/0x960 [tipc]
   call_timer_fn+0x2d/0x1c0
  ...
  Freed by task 47078:
   tipc_msg_validate+0x7b/0x440 [tipc]
   tipc_crypto_rcv_complete+0x4b5/0x2240 [tipc]
   tipc_crypto_rcv+0xd32/0x1ec0 [tipc]
   tipc_rcv+0x744/0x1150 [tipc]

This patch fixes it by re-fetching the skb cb from the new allocated skb
after calling tipc_msg_validate().

(As written by CVE List.)

## Affected

- Linux Linux: from fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 before a1ba595e35aa3afbe417ff0af353afb9f65559c0; from fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 before 1daec0815655e110c6f206c5e777a4af8168ff58; from fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 before e128190adb2edfd5042105b5d1ed4553f295f5ef; from fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 before 3067bc61fcfe3081bf4807ce65560f499e895e77; 5.5 (not affected: before 5.5; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.5 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a1ba595e35aa3afbe417ff0af353afb9f65559c0> (patch)
- <https://git.kernel.org/stable/c/1daec0815655e110c6f206c5e777a4af8168ff58> (patch)
- <https://git.kernel.org/stable/c/e128190adb2edfd5042105b5d1ed4553f295f5ef> (patch)
- <https://git.kernel.org/stable/c/3067bc61fcfe3081bf4807ce65560f499e895e77> (patch)

## Sources

- CVE List: [CVE-2022-49017](https://www.cve.org/CVERecord?id=CVE-2022-49017), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49017](https://nvd.nist.gov/vuln/detail/CVE-2022-49017), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49017 · Whole record: https://cve.day/CVE-2022-49017.json · Rebuilt by cve.day 2026-11-25T22:58:20.034Z
