CVE-2022-48748·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: bridge: vlan: fix memory leak in __allowed_ingress When using per-vlan state, if vlan snooping and stats are disabled, untagged or priority-tagged ingress frame will go to check pvid state. If the port state is forwarding and the pvid state is not learning/forwarding, untagged or priority-tagged frame will be dropped but skb memory is not freed. Should free skb when __allowed_ingress returns false.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.5
- Published
- 2024-06-20
Affected versions
From: 5.16
Until: 5.16.5
Fixed in: 5.16.5
How to fix this CVE
Update your Linux kernel to version 5.16.5 or later to resolve a memory leak in the bridge VLAN ingress filtering logic. The vulnerability occurs when untagged or priority-tagged frames are dropped due to VLAN state mismatches, but the associated socket buffer (skb) is not properly freed, leading to kernel memory exhaustion over time. Apply the kernel patch immediately if your systems are running kernel versions 5.16 through 5.16.4.
sudo dnf update kernel kernel-core kernel-modulesDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | grep -E '^5\.16\.[0-4]' to identify if you are running a vulnerable version
- Verify if bridge VLAN filtering is enabled on your system: cat /sys/class/net/*/bridge/vlan_filtering 2>/dev/null | grep -q 1 to determine exposure
- Monitor kernel memory pressure and memory leak indicators: grep MemAvailable /proc/meminfo and compare against baseline; check dmesg for out-of-memory events or kmemleak warnings related to skb allocations
- Confirm the patch is applied by verifying kernel version is 5.16.5+: uname -r should show 5.16.5 or later; cross-reference with apt-cache policy linux-image-generic or dnf info kernel
FAQ
What is CVE-2022-48748?
This is a kernel memory leak vulnerability in the Linux bridge VLAN module where improperly filtered ingress frames are dropped without freeing their associated memory buffers, potentially causing kernel memory exhaustion on systems with VLAN filtering enabled.
Is CVE-2022-48748 being actively exploited?
No, CVE-2022-48748 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, it can be triggered through normal network traffic patterns.
What versions of Kernel are affected by CVE-2022-48748?
Linux kernel versions 5.16 through 5.16.4 are vulnerable. The fix is available in kernel 5.16.5 and later stable releases.
How do I check if my server is vulnerable to CVE-2022-48748?
Run uname -r to check your kernel version; if it outputs 5.16.0 through 5.16.4, your system is vulnerable. Additionally, verify bridge VLAN filtering is active with cat /sys/class/net/*/bridge/vlan_filtering.
Does Defensia detect CVE-2022-48748?
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-48748 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/14be8d448fca6fe7b2a413831eedd55aef6c6511
- https://git.kernel.org/stable/c/446ff1fc37c74093e81db40811a07b5a19f1d797
- https://git.kernel.org/stable/c/c5e216e880fa6f2cd9d4a6541269377657163098
- https://git.kernel.org/stable/c/fd20d9738395cf8e27d0a17eba34169699fccdff
- https://git.kernel.org/stable/c/14be8d448fca6fe7b2a413831eedd55aef6c6511
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48748. Free for 1 server.
Get started free