Vulnerability in Kernel (CVE-2022-49636)
Summary
Vulnerability in Kernel (CVE-2022-49636). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to 5.4.292, 5.10.236, 5.15.180, 5.18.13 or later.
Original description
The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
vlan: fix memory leak in vlan_newlink()
Blamed commit added back a bug I fixed in commit 9bbd917e0bec
("vlan: fix memory leak in vlan_dev_set_egress_priority")
If a memory allocation fails in vlan_changelink() after other allocations
succeeded, we need to call vlan_dev_free_egress_priority()
to free all allocated memory because after a failed ->newlink()
we do not call any methods like ndo_uninit() or dev->priv_destructor().
In following example, if the allocation for last element 2000:2001 fails,
we need to free eight prior allocations:
ip link add link dummy0 dummy0.100 type vlan id 100
egress-qos-map 1:2 2:3 3:4 4:5 5:6 6:7 7:8 8:9 2000:2001
syzbot report was:
BUG: memory leak
unreferenced object 0xffff888117bd1060 (size 32):
comm "syz-executor408", pid 3759, jiffies 4294956555 (age 34.090s)
hex dump (first 32 bytes):
09 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[] kmalloc include/linux/slab.h:600 [inline]
[] vlan_dev_set_egress_priority+0xed/0x170 net/8021q/vlan_dev.c:193
[] vlan_changelink+0x178/0x1d0 net/8021q/vlan_netlink.c:128
[] vlan_newlink+0x148/0x260 net/8021q/vlan_netlink.c:185
[] rtnl_newlink_create net/core/rtnetlink.c:3363 [inline]
[] __rtnl_newlink+0xa58/0xdc0 net/core/rtnetlink.c:3580
[] rtnl_newlink+0x49/0x70 net/core/rtnetlink.c:3593
[] rtnetlink_rcv_msg+0x21c/0x5c0 net/core/rtnetlink.…
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-49636 has been found in Kernel.
Risk of unauthorized operations or information disclosure.
What to do: upgrade Kernel to 5.4.292, 5.10.236, 5.15.180, 5.18.13 or later.
If unsure, ask your IT team or search "Kernel CVE-2022-49636" on the vendor's site.
CVE-2022-49636 (Kernel)
Patched: 5.4.292, 5.10.236, 5.15.180, 5.18.13 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in Kernel.
Check the vendor advisory for the affected versions of Kernel.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 5.4.292, 5.10.236, 5.15.180, 5.18.13.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade Kernel to 5.4.292, 5.10.236, 5.15.180, 5.18.13ステージング環境で 5.4.292, 5.10.236, 5.15.180, 5.18.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-49636 linux Fixed in: 5.18.14-1
- Ubuntu UBUNTU-CVE-2022-49636 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org