CVE-2022-49017·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update your Linux kernel to version 6.0.12 or later to resolve a use-after-free vulnerability in the TIPC (Transparent Inter-Process Communication) subsystem. This flaw occurs when the kernel references freed socket buffer metadata during cryptographic operations, potentially leading to system crashes or privilege escalation. Kernel updates should be applied promptly followed by system reboot to ensure the fix takes effect.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (compare output against 6.0.12; versions 5.16 through 6.0.11 are vulnerable)
- Verify TIPC module is loaded: lsmod | grep tipc (if present, system is exposed to this vulnerability)
- Search kernel logs for use-after-free crashes: journalctl -xe | grep -i 'kasan\|use-after-free\|tipc_crypto' or dmesg | grep -i 'tipc'
- Confirm patch installation after reboot: uname -r should show 6.0.12 or higher; verify with grep 'tipc_msg_validate' /boot/config-$(uname -r) to confirm TIPC support
FAQ
What is CVE-2022-49017?
This vulnerability is a use-after-free bug in the Linux kernel's TIPC module where the kernel attempts to access socket buffer control block data after the buffer has been freed during message validation, causing potential crashes or code execution with elevated privileges.
Is CVE-2022-49017 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the high CVSS score (7.8) and local attack vector make it a priority for patching.
What versions of Kernel are affected by CVE-2022-49017?
Linux kernel versions 5.16 through 6.0.11 are vulnerable. The fix is included in kernel 6.0.12 and later releases.
How do I check if my server is vulnerable to CVE-2022-49017?
Run 'uname -r' to check your kernel version. If it returns a version between 5.16 and 6.0.11 inclusive, your system is vulnerable. Additionally, verify TIPC is enabled with 'lsmod | grep tipc'.
Does Defensia detect CVE-2022-49017?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49017 will appear in your dashboard with remediation steps and affected version information.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49017. Free for 1 server.
Get started free