# CVE-2022-49017: tipc: re-fetch skb cb after tipc\_msg\_validate

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-10-21T20:06:25.971Z
- **Modified:** 2026-08-05T08:53:28.139Z

## Who should check

- Anyone running Linux \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< a1ba595e35aa3afbe417ff0af353afb9f65559c0; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 1daec0815655e110c6f206c5e777a4af8168ff58; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< e128190adb2edfd5042105b5d1ed4553f295f5ef; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3067bc61fcfe3081bf4807ce65560f499e895e77
- Anyone running Linux 5.5

## 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().

## Affected and fixed versions

- Linux: \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< a1ba595e35aa3afbe417ff0af353afb9f65559c0; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 1daec0815655e110c6f206c5e777a4af8168ff58; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< e128190adb2edfd5042105b5d1ed4553f295f5ef; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3067bc61fcfe3081bf4807ce65560f499e895e77 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 3067bc61fcfe3081bf4807ce65560f499e895e77 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49017.md
Affected: Linux >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < a1ba595e35aa3afbe417ff0af353afb9f65559c0; >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < 1daec0815655e110c6f206c5e777a4af8168ff58; >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < e128190adb2edfd5042105b5d1ed4553f295f5ef; >= fc1b6d6de2208774efd2a20…
Fixed in: Linux 1daec0815655e110c6f206c5e777a4af8168ff58, Linux 3067bc61fcfe3081bf4807ce65560f499e895e77

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49017 being exploited?

There is no confirmed exploitation: CVE-2022-49017 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49017?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-49017?

Linux \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< a1ba595e35aa3afbe417ff0af353afb9f65559c0; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 1daec0815655e110c6f206c5e777a4af8168ff58; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< e128190adb2edfd5042105b5d1ed4553f295f5ef; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3067bc61fcfe3081bf4807ce65560f499e895e77; Linux 5.5.

### Is there a fix for CVE-2022-49017?

Yes. Fixed in Linux 1daec0815655e110c6f206c5e777a4af8168ff58, Linux 3067bc61fcfe3081bf4807ce65560f499e895e77. Upgrade Linux to 3067bc61fcfe3081bf4807ce65560f499e895e77 or later.

### How do I check if I'm affected by CVE-2022-49017?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49017>

HTML: <https://flawdb.com/CVE-2022-49017> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49017>
